summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-07-03 16:36:32 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-07-03 16:36:32 +0000
commit536d8731a28481f5db9cf5cb7464b805c569a2a7 (patch)
tree9c7f0cf3963baeaa69d88259c8e9e3353660e2e0 /dev-python
parentMark stable on x86. (Manifest recommit) (diff)
downloadgentoo-2-536d8731a28481f5db9cf5cb7464b805c569a2a7.tar.gz
gentoo-2-536d8731a28481f5db9cf5cb7464b805c569a2a7.tar.bz2
gentoo-2-536d8731a28481f5db9cf5cb7464b805c569a2a7.zip
Version bump.
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-ldap/ChangeLog7
-rw-r--r--dev-python/python-ldap/Manifest2
-rw-r--r--dev-python/python-ldap/files/digest-python-ldap-2.0.11
-rw-r--r--dev-python/python-ldap/python-ldap-2.0.1.ebuild44
4 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog
index 36592f8308bc..ea99972bb6a8 100644
--- a/dev-python/python-ldap/ChangeLog
+++ b/dev-python/python-ldap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/python-ldap
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.18 2004/06/25 01:45:34 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.19 2004/07/03 16:36:32 kloeri Exp $
+
+*python-ldap-2.0.1 (03 Jul 2004)
+
+ 03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> +python-ldap-2.0.1.ebuild:
+ Version bump.
03 Jun 2004; Bryan Østergaard <kloeri@gentoo.org>
python-ldap-2.0.0_pre15.ebuild:
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index 6934b1bf8128..582a6b57b187 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -2,8 +2,10 @@ MD5 25976c2f6fcc9d003a35e463b5c0d3c7 python-ldap-2.0.0_pre13.ebuild 1223
MD5 14ee892cab06ad12140549d8687be5e3 python-ldap-2.0.0_pre15.ebuild 1224
MD5 94184328f2bdb308bf2aafad2260b9b7 python-ldap-2.0.0_pre06.ebuild 807
MD5 52d87e6f6530204959eecd5b5e20696c python-ldap-2.0.0_pre05-r1.ebuild 862
+MD5 2076cdcaaf04922602ab9931a242542a python-ldap-2.0.1.ebuild 1222
MD5 d834bcea920494c6d32c712220c711bb ChangeLog 2388
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 541bee8c642ff21d07d3bec72c1ee6d4 files/digest-python-ldap-2.0.1 68
MD5 aaef21adf6aa58c8fc0a0627f3ceae5f files/digest-python-ldap-2.0.0_pre06 73
MD5 7c4a7f327a0bc9843e8fda91f445ee63 files/digest-python-ldap-2.0.0_pre13 73
MD5 45f27ac957d1d832996bbea74d5a2cd4 files/digest-python-ldap-2.0.0_pre15 73
diff --git a/dev-python/python-ldap/files/digest-python-ldap-2.0.1 b/dev-python/python-ldap/files/digest-python-ldap-2.0.1
new file mode 100644
index 000000000000..1c69f0f4333c
--- /dev/null
+++ b/dev-python/python-ldap/files/digest-python-ldap-2.0.1
@@ -0,0 +1 @@
+MD5 fb8b790d7825a8d400a080634a5ba0aa python-ldap-2.0.1.tar.gz 64782
diff --git a/dev-python/python-ldap/python-ldap-2.0.1.ebuild b/dev-python/python-ldap/python-ldap-2.0.1.ebuild
new file mode 100644
index 000000000000..d071842ddb00
--- /dev/null
+++ b/dev-python/python-ldap/python-ldap-2.0.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.0.1.ebuild,v 1.1 2004/07/03 16:36:32 kloeri Exp $
+
+inherit distutils
+
+IUSE="sasl ssl"
+#MY_P=${P/_pre/pre}
+#S=${WORKDIR}/${MY_P}
+DESCRIPTION="Various LDAP-related Python modules"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://python-ldap.sourceforge.net/"
+
+DEPEND="virtual/python
+ >=net-nds/openldap-2.0.11
+ sasl? ( dev-libs/cyrus-sasl )"
+
+SLOT="0"
+LICENSE="PYTHON"
+KEYWORDS="~x86 ~sparc ~alpha"
+
+PYTHON_MODNAME="ldap"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s|/usr/local/openldap.*/lib|/usr/lib|" \
+ -e "s|/usr/local/openldap.*/include|/usr/include|" \
+ -i setup.cfg || die "error fixing setup.cfg"
+
+ local mylibs
+ use sasl \
+ && mylibs="${mylibs} sasl2 ldap" \
+ || mylibs="${mylibs} ldap"
+
+ # Fixes bug #25693
+ sed -e "s|<sasl.h>|<sasl/sasl.h>|" -i Modules/LDAPObject.c
+
+ use ssl && mylibs="${mylibs} ssl crypto"
+ sed -e "s|^libs = .*|libs = lber resolv ${mylibs}|" \
+ -e "s|^compile.*|compile = 0|" \
+ -e "s|^optimize.*|optimize = 0|" \
+ -i setup.cfg || die "error setting up libs in setup.cfg"
+}