summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pydb/ChangeLog7
-rw-r--r--dev-python/pydb/pydb-1.26.ebuild23
2 files changed, 20 insertions, 10 deletions
diff --git a/dev-python/pydb/ChangeLog b/dev-python/pydb/ChangeLog
index 6f299f7d2e94..36a32f1bd62d 100644
--- a/dev-python/pydb/ChangeLog
+++ b/dev-python/pydb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pydb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/ChangeLog,v 1.4 2009/09/04 20:43:50 patrick Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/ChangeLog,v 1.5 2011/12/24 13:21:05 grozin Exp $
+
+ 24 Dec 2011; Andrey Grozin <grozin@gentoo.org> pydb-1.26.ebuild:
+ Bug #379193 fixed, thanks to Ulrich Müller <ulm@gentoo.org>
04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -pydb-1.25.ebuild:
Remove old
diff --git a/dev-python/pydb/pydb-1.26.ebuild b/dev-python/pydb/pydb-1.26.ebuild
index c5e72775da14..3322291de7d7 100644
--- a/dev-python/pydb/pydb-1.26.ebuild
+++ b/dev-python/pydb/pydb-1.26.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/pydb-1.26.ebuild,v 1.2 2009/04/18 21:27:42 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydb/pydb-1.26.ebuild,v 1.3 2011/12/24 13:21:05 grozin Exp $
+
+EAPI=3
+
+inherit elisp-common
DESCRIPTION="Extended python debugger"
HOMEPAGE="http://bashdb.sourceforge.net/pydb/"
@@ -8,19 +12,22 @@ SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-
-# emacs support could be made optional with some extra work
-# sorry, I was too lazy
-IUSE=""
+IUSE="emacs"
DEPEND=">=dev-lang/python-2.4.0
- >=app-editors/emacs-22.0"
+ virtual/emacs"
+RDEPEND="${DEPEND}"
# This package uses not distutils but the usual
# ./configure; make; make install
# The default src_compile is OK
+src_configure() {
+ econf --with-lispdir="${SITELISP}/${PN}" \
+ EMACS="$(use emacs && echo "${EMACS}" || echo no)"
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}