1 |
commit: 9ed4442e445d4689634744b68bad8c2211842992 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 15:07:40 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 15:40:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed4442e |
7 |
|
8 |
dev-python/python-ldap: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/python-ldap/Manifest | 1 - |
14 |
dev-python/python-ldap/python-ldap-2.4.20.ebuild | 74 ------------------------ |
15 |
2 files changed, 75 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest |
18 |
index 6325d4b..3ff5490 100644 |
19 |
--- a/dev-python/python-ldap/Manifest |
20 |
+++ b/dev-python/python-ldap/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST python-ldap-2.4.19.tar.gz 138503 SHA256 02fddb3accbfb54e40ff47a59457e422b253f9fb6cd64bb3851b349295fab048 SHA512 bfa8b87449f03d70d78bf890d1190ef5a153e1b84db97ca4b40465bfba9faedace2a69f4ae1279ef6323c01255f52993cf0e4374bc32d9660a5286dfc7c17b85 WHIRLPOOL 708c6744b41fc4c9dc4473a9ab088016aa722f5b196c080973fedbb07a08dd57f859ddb5d193665349f44d2d08ff9e2f797cfa6af23e34624f1d0a9e21d62d4d |
23 |
-DIST python-ldap-2.4.20.tar.gz 142355 SHA256 4b8891539a3171d993cf7896b632ff088a4c707ae85ac3c77db1454f7949f3e2 SHA512 d8afe217c18d49b70089bc47bac7c48f57774b78b1dd44ae3a60e669a3df59058d8579b9de64a2349af612db8e3c1ea5bfa5a47148c651cbfa4038dbc58b9ff2 WHIRLPOOL 562993e84f5c41b3aefd808a047d6cf8ea6c4284171f7f0d858d3a7417a67e31b06f283ed557fbad3fde25a4a9d2c049cbce52c0759b94850ea19848e4192f64 |
24 |
DIST python-ldap-2.4.21.tar.gz 121176 SHA256 2a3ce606465d2d5fbd0a620516b6648ffd85c343d9305d49a2a1f7d338b8bbd4 SHA512 38f879bd70e5a31b2ec0f89c7a9aab6bdfe86285976300358828cdb83995edaaa960d29c8fcd9f333bda88a2015f306460de7bb24b2d514944d9dc83650acb75 WHIRLPOOL 8cc7526356e63642430804370ffd41cd1e74b74654d4302f90fe87a6471639848ae6ecff160a26daa39763718625b4bcdf3e2b6aaa58e98b00854e1692b30db5 |
25 |
|
26 |
diff --git a/dev-python/python-ldap/python-ldap-2.4.20.ebuild b/dev-python/python-ldap/python-ldap-2.4.20.ebuild |
27 |
deleted file mode 100644 |
28 |
index 3309a2b..0000000 |
29 |
--- a/dev-python/python-ldap/python-ldap-2.4.20.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,74 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=5 |
37 |
- |
38 |
-# setup.py is written only for py2, which suits pypy |
39 |
-PYTHON_COMPAT=( python2_7 pypy ) |
40 |
- |
41 |
-inherit distutils-r1 multilib |
42 |
- |
43 |
-DESCRIPTION="Various LDAP-related Python modules" |
44 |
-HOMEPAGE="http://www.python-ldap.org https://pypi.python.org/pypi/python-ldap" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="PSF-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris" |
50 |
-IUSE="doc examples sasl ssl" |
51 |
- |
52 |
-# If you need support for openldap-2.3.x, please use python-ldap-2.3.9. |
53 |
-# python team: Please do not remove python-ldap-2.3.9 from the tree. |
54 |
-# OpenSSL is an optional runtime dep. |
55 |
-# setup.py sets setuptools and misses pyasn1 and pyasn1-modules in install_requires |
56 |
-RDEPEND=">net-nds/openldap-2.4.11 |
57 |
- dev-python/pyasn1[${PYTHON_USEDEP}] |
58 |
- dev-python/pyasn1-modules[${PYTHON_USEDEP}] |
59 |
- sasl? ( >=dev-libs/cyrus-sasl-2.1 )" |
60 |
-DEPEND="${RDEPEND} |
61 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
63 |
- |
64 |
-python_prepare_all() { |
65 |
- sed -e "s:^library_dirs =.*:library_dirs = /usr/$(get_libdir) /usr/$(get_libdir)/sasl2:" \ |
66 |
- -e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \ |
67 |
- -i setup.cfg || die "error fixing setup.cfg" |
68 |
- |
69 |
- local mylibs="ldap" |
70 |
- if use sasl; then |
71 |
- use ssl && mylibs="ldap_r" |
72 |
- mylibs="${mylibs} sasl2" |
73 |
- else |
74 |
- sed -e 's/HAVE_SASL//g' -i setup.cfg || die |
75 |
- fi |
76 |
- use ssl && mylibs="${mylibs} ssl crypto" |
77 |
- use elibc_glibc && mylibs="${mylibs} resolv" |
78 |
- |
79 |
- sed -e "s:^libs = .*:libs = lber ${mylibs}:" \ |
80 |
- -i setup.cfg || die "error setting up libs in setup.cfg" |
81 |
- |
82 |
- # set test expected to fail to expectedFailure |
83 |
- sed -e "s:^ def test_bad_urls: @unittest.expectedFailure\n def test_bad_urls:" \ |
84 |
- -i Tests/t_ldapurl.py || die |
85 |
- |
86 |
- distutils-r1_python_prepare_all |
87 |
-} |
88 |
- |
89 |
-python_compile_all() { |
90 |
- use doc && emake -C Doc html |
91 |
-} |
92 |
- |
93 |
-python_test() { |
94 |
- # XXX: the tests supposedly can start local slapd |
95 |
- # but it requires some manual config, it seems. |
96 |
- |
97 |
- "${PYTHON}" Tests/t_ldapurl.py || die "Tests fail with ${EPYTHON}" |
98 |
-} |
99 |
- |
100 |
-python_install_all() { |
101 |
- use examples && local EXAMPLES=( Demo/. ) |
102 |
- use doc && local HTML_DOCS=( Doc/.build/html/. ) |
103 |
- |
104 |
- distutils-r1_python_install_all |
105 |
-} |