summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-ldap')
-rw-r--r--dev-python/python-ldap/ChangeLog10
-rw-r--r--dev-python/python-ldap/Manifest14
-rw-r--r--dev-python/python-ldap/python-ldap-2.3.5.ebuild58
3 files changed, 79 insertions, 3 deletions
diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog
index d27029299fa5..765ad43d791f 100644
--- a/dev-python/python-ldap/ChangeLog
+++ b/dev-python/python-ldap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/python-ldap
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.56 2007/08/15 11:12:27 dev-zero Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.57 2008/07/10 10:13:09 nelchael Exp $
+
+*python-ldap-2.3.5 (10 Jul 2008)
+
+ 10 Jul 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ +python-ldap-2.3.5.ebuild:
+ Version bump, see bug #231378.
*python-ldap-2.3.1 (15 Aug 2007)
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index 0b802927651a..6a15faa44cb5 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST html-python-ldap-docs-2.0.3.tar.gz 25857 RMD160 2dbbdfd1ac420aea441ca31e785efb33aad1c652 SHA1 a2240e12c3760a32d6f4e4cd72d3b5cd1cd858d6 SHA256 d39a4ae2f72b18e7f17f3c01d6d204b97c7c91521c918c0dd9155705b843ad66
DIST python-ldap-2.2.1.tar.gz 73122 RMD160 3eaa28ff399aa42ca527145b0d607dec5d422c20 SHA1 c2dee55a7002777fe417fcc201dceb090a0207e0 SHA256 eb8ce76c6df7a3f5139baad0b1e5c2d7e1cee73eead992a77deea0ffa00979c4
DIST python-ldap-2.3.1.tar.gz 76522 RMD160 0a2899c8d2574882c655af29ceba0547de73a914 SHA1 1ea659a53081ca6356507c74bc445c52ff9a5944 SHA256 2986addbb15bbc285d71be1fb6098c6fa0511003afe761902f1741bdee4f29db
+DIST python-ldap-2.3.5.tar.gz 100848 RMD160 f224664242a8cc3c655048594c9005fb6a4da0f7 SHA1 8a12233d8be09788b846ed180dcdd555ca83bf39 SHA256 bf078b22a247a81ff5ee23bc83ce1147f6f193de697cfa2ff07da4fca7acfc76
EBUILD python-ldap-2.2.1.ebuild 1644 RMD160 5b782518abb5c6e0e95b4d426a7f2f449769e6c4 SHA1 e8c1fbea0cb2bb891be445e68cad0e076e47ebb2 SHA256 9793b277db1470a17cb3df8d83d47cbe01ef0a7ea1da7162b44be8f0b253eb72
EBUILD python-ldap-2.3.1.ebuild 1735 RMD160 d7155d964dcdd663ada58164d97b98579e09b41c SHA1 d8d274e5cad0a9910d70024c93e16c6b531c779c SHA256 fc87252ee279610d2828d440abc1bb8b595c702a124f5987a2f867dc66ac4c8c
-MISC ChangeLog 7206 RMD160 f698737e39173e261a4733cdf99fd904bbbbdbc0 SHA1 d1eea77187579fba4690cc1954cbaed3450c9428 SHA256 0511ba812af8bc9f0dd8a19a8190152715db6d09d01e2561562e5a76ef4c3e9a
+EBUILD python-ldap-2.3.5.ebuild 1735 RMD160 2a97c83c90727e60c908983fd6d5721d669a5c55 SHA1 06727e0438bdb5f20fbdb217ee0da1c7b48d4dfa SHA256 b3ad10b892a21abedb128a40ea96fc33b61b2dba290c49a9ddf475f173efed1c
+MISC ChangeLog 7356 RMD160 621fab19c89f9d4cb6df9dd214e43ba8f1232e46 SHA1 504a405662e78d2266f11580ce34ebc5bad892cf SHA256 5579ab95e7b8075ab1efffcce28662198cfa4044f8c0c65e958fa04275dfcbeb
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkh14LoACgkQgo/w9rxVVVHGUgCdGPMa3WxfZk+mWaC80wWwMcgn
+A1sAoKsoWYwPvva5PNNVtdQuUCJwxxOH
+=+73q
+-----END PGP SIGNATURE-----
diff --git a/dev-python/python-ldap/python-ldap-2.3.5.ebuild b/dev-python/python-ldap/python-ldap-2.3.5.ebuild
new file mode 100644
index 000000000000..34fb9a2e331b
--- /dev/null
+++ b/dev-python/python-ldap/python-ldap-2.3.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 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.3.5.ebuild,v 1.1 2008/07/10 10:13:09 nelchael Exp $
+
+NEED_PYTHON=2.4
+
+inherit distutils multilib
+
+P_DOC="html-${PN}-docs-2.0.3"
+
+DESCRIPTION="Various LDAP-related Python modules"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ doc? ( mirror://sourceforge/${PN}/${P_DOC}.tar.gz )"
+HOMEPAGE="http://python-ldap.sourceforge.net/"
+SLOT="0"
+LICENSE="PYTHON"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples sasl ssl"
+
+RDEPEND=">=net-nds/openldap-2.3
+ sasl? ( dev-libs/cyrus-sasl )"
+DEPEND="${DEPEND}
+ dev-python/setuptools"
+
+# Installs some script-files directly in site-packages
+PYTHON_MODNAME="/"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4
+ sed -e "s:^library_dirs =.*:library_dirs =:" \
+ -e "s:^include_dirs =.*:include_dirs = /usr/include /usr/include/sasl:" \
+ -e "s:\(extra_compile_args =\).*:\1\nextra_link_args = -Wl,-rpath=/usr/$(get_libdir) -Wl,-rpath=/usr/$(get_libdir)/sasl2:" \
+ -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"
+
+ 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-/}"/*
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r Demo
+ fi
+}