Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-ldap/
Date: Mon, 29 Nov 2021 14:45:30
Message-Id: 1638197112.6858095cc3ceebec5e6b7ec83dcdc9628d9b365a.mgorny@gentoo
1 commit: 6858095cc3ceebec5e6b7ec83dcdc9628d9b365a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 14:30:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 14:45:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6858095c
7
8 dev-python/python-ldap: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-ldap/Manifest | 1 -
13 dev-python/python-ldap/python-ldap-3.3.1.ebuild | 89 -------------------------
14 2 files changed, 90 deletions(-)
15
16 diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
17 index d62459d0142f..99a3c3c496f9 100644
18 --- a/dev-python/python-ldap/Manifest
19 +++ b/dev-python/python-ldap/Manifest
20 @@ -1,2 +1 @@
21 -DIST python-ldap-3.3.1.tar.gz 379810 BLAKE2B bb5d4902211b70cc57d2967134d3c41768bfedbec40be0d5bb592b96523f408952ca7e9a18546cc24f8267e958f454d56d97952092bc46e02bc9954bced9ba00 SHA512 2a1222bf5bbc1d885611fc4f2a25d0b1b64b49ae379f1212f1b3b70fc12fdc547eb6c4af4060a20bf082547b7df8f1824bb1fdfafa37ab21acf2f1e231c4d2d1
22 DIST python-ldap-3.4.0.tar.gz 376169 BLAKE2B f514ddb6267fd8c21a1c4595669921a1256a8087a3a272b3751636313e7d79de9d34f4213aa57128679dc5a93db4ef7a71f7f92894a1802deb8c2ca9dfd92fe2 SHA512 d10c10f1d416a0f67e7669c6c0b5460a3484bc31f4af471d581a9207689e5687c08d1ad78ba8d47e0ce0c35d24d79e4b848b4c503534f211a36c1b882bee3605
23
24 diff --git a/dev-python/python-ldap/python-ldap-3.3.1.ebuild b/dev-python/python-ldap/python-ldap-3.3.1.ebuild
25 deleted file mode 100644
26 index bd5fd8bb1e72..000000000000
27 --- a/dev-python/python-ldap/python-ldap-3.3.1.ebuild
28 +++ /dev/null
29 @@ -1,89 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -PYTHON_COMPAT=( pypy3 python3_{7..10} )
35 -
36 -inherit distutils-r1
37 -
38 -DESCRIPTION="Various LDAP-related Python modules"
39 -HOMEPAGE="https://www.python-ldap.org/en/latest/
40 - https://pypi.org/project/python-ldap/
41 - https://github.com/python-ldap/python-ldap"
42 -if [[ ${PV} == *9999* ]]; then
43 - EGIT_REPO_URI="https://github.com/python-ldap/python-ldap.git"
44 - inherit git-r3
45 -else
46 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-solaris"
48 -fi
49 -
50 -LICENSE="PSF-2"
51 -SLOT="0"
52 -IUSE="examples sasl ssl"
53 -
54 -# We do not need OpenSSL, it is never directly used:
55 -# https://github.com/python-ldap/python-ldap/issues/224
56 -RDEPEND="
57 - >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}]
58 - >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}]
59 - >net-nds/openldap-2.4.11:=[sasl?,ssl?]
60 -"
61 -# We do not link against cyrus-sasl but we use some
62 -# of its headers during the build.
63 -BDEPEND="
64 - >net-nds/openldap-2.4.11:=[sasl?,ssl?]
65 - sasl? ( >=dev-libs/cyrus-sasl-2.1 )
66 -"
67 -
68 -distutils_enable_tests pytest
69 -distutils_enable_sphinx Doc
70 -
71 -python_prepare_all() {
72 - # The live ebuild won't compile if setuptools_scm < 1.16.2 is installed
73 - # https://github.com/pypa/setuptools_scm/issues/228
74 - if [[ ${PV} == *9999* ]]; then
75 - rm -r .git || die
76 - fi
77 -
78 - if ! use sasl; then
79 - sed -i 's/HAVE_SASL//g' setup.cfg || die
80 - fi
81 - if ! use ssl; then
82 - sed -i 's/HAVE_TLS//g' setup.cfg || die
83 - fi
84 -
85 - distutils-r1_python_prepare_all
86 -}
87 -
88 -python_test() {
89 - # Run all tests which don't require slapd
90 - local ignored_tests=(
91 - t_bind.py
92 - t_cext.py
93 - t_edit.py
94 - t_ldapobject.py
95 - t_ldap_options.py
96 - t_ldap_sasl.py
97 - t_ldap_schema_subentry.py
98 - t_ldap_syncrepl.py
99 - t_slapdobject.py
100 - )
101 - pushd Tests >/dev/null || die
102 - epytest ${ignored_tests[@]/#/--ignore }
103 - popd > /dev/null || die
104 -}
105 -
106 -python_install() {
107 - distutils-r1_python_install
108 - python_optimize
109 -}
110 -
111 -python_install_all() {
112 - if use examples; then
113 - docinto examples
114 - dodoc -r Demo/.
115 - docompress -x /usr/share/doc/${PF}/examples
116 - fi
117 - distutils-r1_python_install_all
118 -}