Bug #379193 fixed, thanks to Ulrich Müller <ulm@gentoo.org>
authorAndrey Grozin <grozin@gentoo.org>
Sat, 24 Dec 2011 13:21:05 +0000 (13:21 +0000)
committerAndrey Grozin <grozin@gentoo.org>
Sat, 24 Dec 2011 13:21:05 +0000 (13:21 +0000)
Package-Manager: portage-2.2.0_alpha81/cvs/Linux i686

dev-python/pydb/ChangeLog
dev-python/pydb/Manifest
dev-python/pydb/pydb-1.26.ebuild

index 6f299f7d2e94af3879f50a65e5014fc1f6205c0c..36a32f1bd62def93d89aed60e8be53a216c99d1d 100644 (file)
@@ -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
index 51639371b94767bb873dee93b69915caaa18858e..61343fb55e4b151713f736bf2e55eabe0efbe2d3 100644 (file)
@@ -1,4 +1,4 @@
 DIST pydb-1.26.tar.bz2 572184 RMD160 ecefe104f58b0857ec2e17d6d0421e28030d6160 SHA1 7f2de4530c3399cfb380fccdc440f5a8e14cc989 SHA256 01131848a58fce6a529766488884848c06068aa9ec4f39e19f8fb4d260f893f2
-EBUILD pydb-1.26.ebuild 819 RMD160 3c287b9ad37ce8e27583e630ebeaeb72a77a955f SHA1 f637921bf57ec7a407bcc731b56ae2bba9377f97 SHA256 39c75688b6f42d85efaee1d65a21bd60b1b80727da3b04a92141e04413da033b
-MISC ChangeLog 612 RMD160 98de12661b2a87c368206108475746cda1b45d17 SHA1 4afc1351dd57310f6ee6a69dd91f8aff11bbf24e SHA256 53bee97efd592b51b709ab2cb4781a859293293ddcd9a30b173f32a35b4ecd39
+EBUILD pydb-1.26.ebuild 873 RMD160 689b638bfab9044fc76e8d4b38017b142c5d5ba3 SHA1 a57ee242aa10183bc262269bd33aee2f28a17526 SHA256 46c48307d5b721f41c469599e7017e6b67911c9764e567eaa009cf8c0df43bf6
+MISC ChangeLog 742 RMD160 9bbe97e2fe4371bdf5c6c7b87051f246f79d11e5 SHA1 cca525e5a309e5d0840f953ed51e565b12b03e71 SHA256 5dbaf587ac539a5c7f6cd8e28617b14c9d41092f1cf75ba6a634c5e9f1047e19
 MISC metadata.xml 314 RMD160 122a3f09eb67c552d6aafe5104afaa7758204ebe SHA1 07a94cc27a901bc6aa6a9f357dc056254507f7ef SHA256 39e7e6e79a87600d9098557feda0da997fb238adc03130e52eef4b7c4f250c86
index c5e72775da14b7ee0abbf937096c279a19031df7..3322291de7d74451559d4706633432dc285db03a 100644 (file)
@@ -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
 }