From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-python/python-ldap/Manifest | 6 +- dev-python/python-ldap/python-ldap-3.2.0.ebuild | 91 ------------------------- dev-python/python-ldap/python-ldap-3.3.1.ebuild | 91 +++++++++++++++++++++++++ dev-python/python-ldap/python-ldap-9999.ebuild | 2 +- 4 files changed, 95 insertions(+), 95 deletions(-) delete mode 100644 dev-python/python-ldap/python-ldap-3.2.0.ebuild create mode 100644 dev-python/python-ldap/python-ldap-3.3.1.ebuild (limited to 'dev-python/python-ldap') diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest index 0bb1f01a92f5..161039ec503a 100644 --- a/dev-python/python-ldap/Manifest +++ b/dev-python/python-ldap/Manifest @@ -1,4 +1,4 @@ -DIST python-ldap-3.2.0.tar.gz 367645 BLAKE2B 5109f4a13644d53fff7506ad2417da6dbfd5d1c5d31cc63932338ee0bc7327b00878804764366523fc0610191126c1a1367e15fddbad481880f73d29d96d3322 SHA512 ef2833739fd57ad26d97ae5dba3bca8a47e770ff3f113d06a5bed0841f8fcbbe6cd102e75c753dfff48f5f6041f46a91c6166f3bb9ca44ef9bd643c0666c6b23 -EBUILD python-ldap-3.2.0.ebuild 2181 BLAKE2B f4ee7fc8f4abbcf8c29bd8a767d4223c119fe308082c4f1b589c9499aa44176d40a7d2554b7a923954c5fde83e47a6a9b8c75f4eeed9fd545d7fac76b405410f SHA512 41b71c123d8784501b8eaa9c915d5c37254fb08c1aa16bd6032db128f5ba75b94296e27b57b55488383fb8b90a1be07b7fbe722481e8c175e55d68a74930d212 -EBUILD python-ldap-9999.ebuild 2186 BLAKE2B ad8f36282fc0a641689c5b09e26bd9d1bf7200776b4324eecf30da32424e6e4c31674c8258fba6a7bd73921912b7544d829643bd868ef6a68a6545f83528a003 SHA512 accda7608fbaaff9fc277f4ae71fcdf5cea9717f87fcbe3e99eb7208371941c41be493703ae5b6345a62c5beecbcfa941d8390520bdb0f49ae12e485689f49e2 +DIST python-ldap-3.3.1.tar.gz 379810 BLAKE2B bb5d4902211b70cc57d2967134d3c41768bfedbec40be0d5bb592b96523f408952ca7e9a18546cc24f8267e958f454d56d97952092bc46e02bc9954bced9ba00 SHA512 2a1222bf5bbc1d885611fc4f2a25d0b1b64b49ae379f1212f1b3b70fc12fdc547eb6c4af4060a20bf082547b7df8f1824bb1fdfafa37ab21acf2f1e231c4d2d1 +EBUILD python-ldap-3.3.1.ebuild 2180 BLAKE2B 79298a7d8be0133bbcab1c7e92c8a6c7c2d115d7e7a191914a834b07e83f76d6fa5cef4f78d894879740190fd77d2b1f886f1d1e9405f6bee79a6b700c01b7b0 SHA512 910238aecbd861df260cdc8ca0b30f42c131c8be9a5a2a111841fa82e8003a364eeb174eb897382e4b76dca240fc0f9270dd63d7bc08b1c277bf62522b99e2e3 +EBUILD python-ldap-9999.ebuild 2185 BLAKE2B 20be5b23d0d6746872209cfb9d68e0b813c22d14ea258f37261ce4ac5f6a0b68f1b6bfdc1386a12a868beb84f4e5634bc461fe3f86c898130618b41711c106a0 SHA512 deb7d6135802e131a014b9fc1d7a5f4d5fda4150c81702cb86efbceef3f354c7ac18597f75be6080dfc557b2ec1a500442afc1941daed010aed97707d1ad4241 MISC metadata.xml 448 BLAKE2B 4d845f5269cc16dc38e4516d15b3bd66e8eb793fa8d43cca45ef4e04784231757cab47386d43f9361de45889abe21557696d28936b1fd76cead93775393a60e6 SHA512 806ea3543e12f0b571212695f4d9e9e008493550b29b480fc022b55ce2ee1fe561e9eb3a81e887457b7c1cb98fb2c6d46f38890513cee9f4808351821b4f01c6 diff --git a/dev-python/python-ldap/python-ldap-3.2.0.ebuild b/dev-python/python-ldap/python-ldap-3.2.0.ebuild deleted file mode 100644 index b72354b393af..000000000000 --- a/dev-python/python-ldap/python-ldap-3.2.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Various LDAP-related Python modules" -HOMEPAGE="https://www.python-ldap.org/en/latest/ - https://pypi.org/project/python-ldap/ - https://github.com/python-ldap/python-ldap" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/python-ldap/python-ldap.git" - inherit git-r3 -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-solaris" -fi - -LICENSE="PSF-2" -SLOT="0" -IUSE="examples sasl ssl" - -# We do not need OpenSSL, it is never directly used: -# https://github.com/python-ldap/python-ldap/issues/224 -RDEPEND=" - !dev-python/pyldap - >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}] - >net-nds/openldap-2.4.11:=[sasl?,ssl?] -" -# We do not link against cyrus-sasl but we use some -# of its headers during the build. -BDEPEND=" - >net-nds/openldap-2.4.11:=[sasl?,ssl?] - sasl? ( >=dev-libs/cyrus-sasl-2.1 ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx Doc - -python_prepare_all() { - # The live ebuild won't compile if setuptools_scm < 1.16.2 is installed - # https://github.com/pypa/setuptools_scm/issues/228 - if [[ ${PV} == *9999* ]]; then - rm -r .git || die - fi - - if ! use sasl; then - sed -i 's/HAVE_SASL//g' setup.cfg || die - fi - if ! use ssl; then - sed -i 's/HAVE_TLS//g' setup.cfg || die - fi - - distutils-r1_python_prepare_all -} - -python_test() { - # Run all tests which don't require slapd - local ignored_tests=( - t_bind.py - t_cext.py - t_edit.py - t_ldapobject.py - t_ldap_options.py - t_ldap_sasl.py - t_ldap_schema_subentry.py - t_ldap_syncrepl.py - t_slapdobject.py - ) - pushd Tests >/dev/null || die - pytest -vv ${ignored_tests[@]/#/--ignore } \ - || die "tests failed with ${EPYTHON}" - popd > /dev/null || die -} - -python_install() { - distutils-r1_python_install - python_optimize -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r Demo/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/python-ldap/python-ldap-3.3.1.ebuild b/dev-python/python-ldap/python-ldap-3.3.1.ebuild new file mode 100644 index 000000000000..f404dece0819 --- /dev/null +++ b/dev-python/python-ldap/python-ldap-3.3.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy3 python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Various LDAP-related Python modules" +HOMEPAGE="https://www.python-ldap.org/en/latest/ + https://pypi.org/project/python-ldap/ + https://github.com/python-ldap/python-ldap" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/python-ldap/python-ldap.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-solaris" +fi + +LICENSE="PSF-2" +SLOT="0" +IUSE="examples sasl ssl" + +# We do not need OpenSSL, it is never directly used: +# https://github.com/python-ldap/python-ldap/issues/224 +RDEPEND=" + !dev-python/pyldap + >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}] + >net-nds/openldap-2.4.11:=[sasl?,ssl?] +" +# We do not link against cyrus-sasl but we use some +# of its headers during the build. +BDEPEND=" + >net-nds/openldap-2.4.11:=[sasl?,ssl?] + sasl? ( >=dev-libs/cyrus-sasl-2.1 ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx Doc + +python_prepare_all() { + # The live ebuild won't compile if setuptools_scm < 1.16.2 is installed + # https://github.com/pypa/setuptools_scm/issues/228 + if [[ ${PV} == *9999* ]]; then + rm -r .git || die + fi + + if ! use sasl; then + sed -i 's/HAVE_SASL//g' setup.cfg || die + fi + if ! use ssl; then + sed -i 's/HAVE_TLS//g' setup.cfg || die + fi + + distutils-r1_python_prepare_all +} + +python_test() { + # Run all tests which don't require slapd + local ignored_tests=( + t_bind.py + t_cext.py + t_edit.py + t_ldapobject.py + t_ldap_options.py + t_ldap_sasl.py + t_ldap_schema_subentry.py + t_ldap_syncrepl.py + t_slapdobject.py + ) + pushd Tests >/dev/null || die + pytest -vv ${ignored_tests[@]/#/--ignore } \ + || die "tests failed with ${EPYTHON}" + popd > /dev/null || die +} + +python_install() { + distutils-r1_python_install + python_optimize +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r Demo/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/python-ldap/python-ldap-9999.ebuild b/dev-python/python-ldap/python-ldap-9999.ebuild index 7d0e119b94bd..2253b09dab6a 100644 --- a/dev-python/python-ldap/python-ldap-9999.ebuild +++ b/dev-python/python-ldap/python-ldap-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +PYTHON_COMPAT=( pypy3 python3_{6..9} ) inherit distutils-r1 -- cgit v1.2.3