# 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.49 2007/03/28 12:49:11 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.50 2007/03/28 15:58:44 dev-zero Exp $
+
+*python-ldap-2.3 (28 Mar 2007)
+
+ 28 Mar 2007; Tiziano Müller <dev-zero@gentoo.org>
+ +python-ldap-2.3.ebuild:
+ Version bump (bug #172470, thanks to Ken Garland)
28 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org>
python-ldap-2.2.1.ebuild:
DIST html-python-ldap-docs-2.0.3.tar.gz 25857 RMD160 2dbbdfd1ac420aea441ca31e785efb33aad1c652 SHA1 a2240e12c3760a32d6f4e4cd72d3b5cd1cd858d6 SHA256 d39a4ae2f72b18e7f17f3c01d6d204b97c7c91521c918c0dd9155705b843ad66
DIST python-ldap-2.0.11.tar.gz 71715 RMD160 2fa1d7a0658d6f21f7c0bdc3ca0551f3f827418c SHA1 a19dca037ce1aedafb7f321a3938c3380ee1c91a SHA256 c320ca3502426de75a5b982da2a57c44dc20c1024986d169a782299663f1c69f
DIST python-ldap-2.2.1.tar.gz 73122 RMD160 3eaa28ff399aa42ca527145b0d607dec5d422c20 SHA1 c2dee55a7002777fe417fcc201dceb090a0207e0 SHA256 eb8ce76c6df7a3f5139baad0b1e5c2d7e1cee73eead992a77deea0ffa00979c4
+DIST python-ldap-2.3.tar.gz 74902 RMD160 c6eb0ef9b93b48c0e6209f525bfada3377442ae9 SHA1 37f1192ea19bae0d0221e155733f9cc39c2885b4 SHA256 b3658638296224e71da3a9ac9fb6a02c37c0ff1e4f0b2f020c01c607c85aff0c
EBUILD python-ldap-2.0.11.ebuild 1532 RMD160 4c00e4f12635db3efece744dffaf668a7297240f SHA1 3601250b12009b1233bebb0950f72634e7a2ee75 SHA256 2500a37b4ff15c0af5e6b622d4387324eaf8bd874d5c53ee0c20a0ba5b25863f
MD5 0878a01a11ac1154c001a52066fc0f02 python-ldap-2.0.11.ebuild 1532
RMD160 4c00e4f12635db3efece744dffaf668a7297240f python-ldap-2.0.11.ebuild 1532
MD5 72923f2f41246882444f5c26eac6c90f python-ldap-2.2.1.ebuild 1665
RMD160 b95eac858a7c2211c0708ca46df481eaf8512073 python-ldap-2.2.1.ebuild 1665
SHA256 fc7d7bfaacb3eb9640f256b003636e3f1a2651ef0b4869e1ffade21de8defcb5 python-ldap-2.2.1.ebuild 1665
-MISC ChangeLog 6268 RMD160 8c82589bdc4419fe157459096f2bc4b80d91a0f7 SHA1 bf4b01ea8b1740b0bf910d4320226e2143a7d555 SHA256 fcf95fa3318dd8b74f9db9fb07aff8a86e37f78c0a948369ce294fd8e7dd7b67
-MD5 37c23c8ee2c75cd78f3bb7530de4347d ChangeLog 6268
-RMD160 8c82589bdc4419fe157459096f2bc4b80d91a0f7 ChangeLog 6268
-SHA256 fcf95fa3318dd8b74f9db9fb07aff8a86e37f78c0a948369ce294fd8e7dd7b67 ChangeLog 6268
+EBUILD python-ldap-2.3.ebuild 1710 RMD160 015913a787d09ee65239b065c45d07724adb3426 SHA1 11cb34d384ee94d3faf74d1e7d3d4b362ff9ae7e SHA256 332643ec810bfcf663613b1213a21c6a84917e701786a5ee059244d7fa0d3f8c
+MD5 3284657e151dab8b49ac3ab06379a90e python-ldap-2.3.ebuild 1710
+RMD160 015913a787d09ee65239b065c45d07724adb3426 python-ldap-2.3.ebuild 1710
+SHA256 332643ec810bfcf663613b1213a21c6a84917e701786a5ee059244d7fa0d3f8c python-ldap-2.3.ebuild 1710
+MISC ChangeLog 6433 RMD160 2e40dd35352a1650e6e07c12d2abf77149ac8dbe SHA1 bb9c59bf329fd70fa4876d7b579b077ea62b1577 SHA256 9653346ceccc80c45ff3cc1c3f937a57a95705d60584223c5f6cb441d70ddc2a
+MD5 f39e6668c8ee65cc005b09063a01d63d ChangeLog 6433
+RMD160 2e40dd35352a1650e6e07c12d2abf77149ac8dbe ChangeLog 6433
+SHA256 9653346ceccc80c45ff3cc1c3f937a57a95705d60584223c5f6cb441d70ddc2a ChangeLog 6433
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
MD5 3901ffcf0bb1bb6a554f47ba58827414 files/digest-python-ldap-2.2.1 530
RMD160 42e80c79f0287482f07c477aaafb0900a688d9ec files/digest-python-ldap-2.2.1 530
SHA256 a8763ecec1e7b5a1b5d6c9fd8b7018e1b3420835266389a6446d428f1cc72b3d files/digest-python-ldap-2.2.1 530
+MD5 ec290ce8a8cdf0e184fe2477a655db17 files/digest-python-ldap-2.3 524
+RMD160 fc94d593a92206dd921093138ed2746be9f36b73 files/digest-python-ldap-2.3 524
+SHA256 84cf1163b8b6831629712a24f149b141abf81724880f6af28d0ad04fcfba20a3 files/digest-python-ldap-2.3 524
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFGCmRNKRy60XGEcJIRApVAAKClDGOjXtDU9mI18n7D+rCeCarf0QCfdp1G
-1odHOcgAt9aSrpOdlKNEvPc=
-=nZlc
+iD8DBQFGCpDAGwVqY66cHjARAroxAJ9p+G2C3/Sh8eniKlUWA1r+ShEgIACZAdWr
+4/VBK9oiPJ9rZBisa6M4fIY=
+=Q6GZ
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 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.ebuild,v 1.1 2007/03/28 15:58:44 dev-zero Exp $
+
+NEED_PYTHON=2.0
+
+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"
+
+DEPEND=">=net-nds/openldap-2.3
+ sasl? ( dev-libs/cyrus-sasl )"
+RDEPEND="${DEPEND}"
+
+# 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
+}