summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-05-22 08:53:16 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-05-22 08:53:16 +0000
commit18a335c8b8e162123b2fa6a84f5d34a5e52aadf7 (patch)
tree19d0cc42cd533b30249d08adb5834e01f41e43f8 /dev-python/python-ldap
parenteclass-ize and fixups (diff)
downloadgentoo-2-18a335c8b8e162123b2fa6a84f5d34a5e52aadf7.tar.gz
gentoo-2-18a335c8b8e162123b2fa6a84f5d34a5e52aadf7.tar.bz2
gentoo-2-18a335c8b8e162123b2fa6a84f5d34a5e52aadf7.zip
eclass-ize and fixups
Diffstat (limited to 'dev-python/python-ldap')
-rw-r--r--dev-python/python-ldap/ChangeLog6
-rw-r--r--dev-python/python-ldap/Manifest4
-rw-r--r--dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild15
3 files changed, 15 insertions, 10 deletions
diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog
index 76e571c710fd..75c9b2da9f31 100644
--- a/dev-python/python-ldap/ChangeLog
+++ b/dev-python/python-ldap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/python-ldap
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.8 2003/03/15 02:07:00 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.9 2003/05/22 08:53:08 liquidx Exp $
+
+ 22 May 2003; Alastair Tse <liquidx@gentoo.org>
+ python-ldap-2.0.0_pre06.ebuild:
+ uses distutils, dynamically patch setup.cfg
*python-ldap-2.0.0_pre06 (15 Mar 2003)
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index dac73092744d..b382733cfe7d 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -1,7 +1,7 @@
-MD5 579ddf61f11ad6e487cc2c1650763275 ChangeLog 997
+MD5 0fed88f081f8b1640437a83f6d73b86e ChangeLog 1127
MD5 72d4257c512b0e04eddd4d258909d1f8 python-ldap-2.0.0_pre05-r1.ebuild 920
MD5 04a02e1280b6422bf3381c9a84e00d76 python-ldap-2.0.0_pre05.ebuild 846
-MD5 2697635afe1503bd0cf589b826679efe python-ldap-2.0.0_pre06.ebuild 875
+MD5 5d644003fc7481be9d7745f3c2a72226 python-ldap-2.0.0_pre06.ebuild 875
MD5 870f1b1ecea4f738da0ba65fb5a0a661 files/digest-python-ldap-2.0.0_pre05 73
MD5 870f1b1ecea4f738da0ba65fb5a0a661 files/digest-python-ldap-2.0.0_pre05-r1 73
MD5 aaef21adf6aa58c8fc0a0627f3ceae5f files/digest-python-ldap-2.0.0_pre06 73
diff --git a/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild b/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild
index c6b0adceb52d..80e226bd0956 100644
--- a/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild
+++ b/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild
@@ -1,7 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild,v 1.1 2003/03/15 02:07:00 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.0.0_pre06.ebuild,v 1.2 2003/05/22 08:53:08 liquidx Exp $
+inherit distutils
+
+IUSE=""
MYP=${P/_pre/pre}
S=${WORKDIR}/${MYP}
DESCRIPTION="Various LDAP-related Python modules"
@@ -14,14 +17,12 @@ SLOT="0"
LICENSE="public-domain" # NOTE: win32 section is under questionable license
KEYWORDS="~x86 ~sparc ~alpha"
-inherit distutils
-
-src_compile() {
- mv setup.cfg setup.cfg.orig
+src_unpack() {
+ unpack ${A}
+ cd ${S}
sed -e "s|/usr/local/openldap.*/lib|/usr/lib|" \
-e "s|/usr/local/openldap.*/include|/usr/include|" \
-e "s|libs = ldap lber|libs = ldap lber resolv|" \
- setup.cfg.orig > setup.cfg || die
+ -i setup.cfg || die "error fixing setup.cfg"
- distutils_src_compile
}