summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-12-01 15:40:26 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-12-01 15:40:26 +0000
commit87666759e69fd9ec24b575ac9fbb29b58619fda0 (patch)
tree70706ad812759a6b1d64121f4db7c876ac8bf0cd /dev-python/python-ldap
parentMoved comments to top of file so they'll be seen easier by people editing pac... (diff)
downloadgentoo-2-87666759e69fd9ec24b575ac9fbb29b58619fda0.tar.gz
gentoo-2-87666759e69fd9ec24b575ac9fbb29b58619fda0.tar.bz2
gentoo-2-87666759e69fd9ec24b575ac9fbb29b58619fda0.zip
version bump
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-python/python-ldap')
-rw-r--r--dev-python/python-ldap/ChangeLog7
-rw-r--r--dev-python/python-ldap/Manifest10
-rw-r--r--dev-python/python-ldap/files/digest-python-ldap-2.0.112
-rw-r--r--dev-python/python-ldap/python-ldap-2.0.11.ebuild54
4 files changed, 68 insertions, 5 deletions
diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog
index 70c78f93115e..e85793612cd6 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-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.34 2005/09/30 23:50:19 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.35 2005/12/01 15:36:14 carlo Exp $
+
+*python-ldap-2.0.11 (01 Dec 2005)
+
+ 01 Dec 2005; Carsten Lohrke <carlo@gentoo.org> +python-ldap-2.0.11.ebuild:
+ version bump
30 Sep 2005; Carsten Lohrke <carlo@gentoo.org>
-python-ldap-2.0.0_pre05-r1.ebuild, -python-ldap-2.0.0_pre06.ebuild,
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index 0a96d065fcdf..d839bf707496 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -1,6 +1,8 @@
-MD5 a42b1bf591212834005bfc07fae44dc9 python-ldap-2.0.10.ebuild 1537
-MD5 0d58c818214b1bc1e5c4f0fd7c93749e python-ldap-2.0.6.ebuild 1499
-MD5 65dac36da7b16efc7099b0ad3a6c3aa3 ChangeLog 4482
-MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 9c6b7f50257b4bad45e73122480cc887 ChangeLog 4610
MD5 69d713e85c4b770343fa03ed0e8c01b7 files/digest-python-ldap-2.0.10 147
+MD5 150055e48f2631fffd32bdb4e40b067b files/digest-python-ldap-2.0.11 147
MD5 a817aea8eb27cfeb4925d7aef1a0df05 files/digest-python-ldap-2.0.6 146
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 a42b1bf591212834005bfc07fae44dc9 python-ldap-2.0.10.ebuild 1537
+MD5 a42b1bf591212834005bfc07fae44dc9 python-ldap-2.0.11.ebuild 1537
+MD5 0d58c818214b1bc1e5c4f0fd7c93749e python-ldap-2.0.6.ebuild 1499
diff --git a/dev-python/python-ldap/files/digest-python-ldap-2.0.11 b/dev-python/python-ldap/files/digest-python-ldap-2.0.11
new file mode 100644
index 000000000000..d619960a1282
--- /dev/null
+++ b/dev-python/python-ldap/files/digest-python-ldap-2.0.11
@@ -0,0 +1,2 @@
+MD5 5b788a9c88c4ba645a16226a6291f8df html-python-ldap-docs-2.0.3.tar.gz 25857
+MD5 1c20cdbe8cfab1c92b39848f7deeb6ec python-ldap-2.0.11.tar.gz 71715
diff --git a/dev-python/python-ldap/python-ldap-2.0.11.ebuild b/dev-python/python-ldap/python-ldap-2.0.11.ebuild
new file mode 100644
index 000000000000..cec27c08874a
--- /dev/null
+++ b/dev-python/python-ldap/python-ldap-2.0.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 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.11.ebuild,v 1.1 2005/12/01 15:36:14 carlo Exp $
+
+inherit distutils
+
+#MY_P=${P/_pre/pre}
+#S=${WORKDIR}/${MY_P}
+P_DOC="html-python-ldap-docs-2.0.3" # no newer docs available
+
+DESCRIPTION="Various LDAP-related Python modules"
+SRC_URI="mirror://sourceforge/python-ldap/${P}.tar.gz
+ doc? ( mirror://sourceforge/python-ldap/${P_DOC}.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="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc sasl ssl"
+
+PYTHON_MODNAME="ldap"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp setup.cfg setup.cfg.orig
+ sed -e "s:^library_dirs =.*:library_dirs = ${ROOT}/usr/lib ${ROOT}/usr/lib/sasl2:" \
+ -e "s:^include_dirs =.*:include_dirs = ${ROOT}/usr/include:" \
+ -i setup.cfg || die "error fixing setup.cfg"
+
+ local mylibs="ldap"
+ if use sasl ; then
+ use ssl && mylibs="ldap_r"
+ mylibs="${mylibs} sasl2"
+ fi
+ use ssl && mylibs="${mylibs} ssl crypto"
+
+ # Fixes bug #25693
+ sed -e "s|<sasl.h>|<sasl/sasl.h>|" -i Modules/LDAPObject.c
+
+ 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"
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r ${WORKDIR}/${P_DOC/html-/}/*
+} \ No newline at end of file