summaryrefslogtreecommitdiff
path: root/dev-python/python-ldap
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-ldap')
-rw-r--r--dev-python/python-ldap/Manifest1
-rw-r--r--dev-python/python-ldap/metadata.xml2
-rw-r--r--dev-python/python-ldap/python-ldap-3.4.5.ebuild2
-rw-r--r--dev-python/python-ldap/python-ldap-3.4.6.ebuild2
-rw-r--r--dev-python/python-ldap/python-ldap-3.4.7.ebuild81
5 files changed, 85 insertions, 3 deletions
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index 73dafd8a25ad..092908cb28ee 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -1,2 +1,3 @@
DIST python-ldap-3.4.5.gh.tar.gz 380704 BLAKE2B bd047f4472d23cbdb8573549e8b769b485bab1797d8325337a659e4388683ba44f8ab2709fa31289b46ab7198d3528247e0d156631c0e48ec7ee989d2b43802d SHA512 5161b7f2b5a0d975f7e5c7e16df132f0b709b986ec8a8e304d836bad278b971f5fdaf4ef39116d62947695f9eb5d7b3315317a3c7973d045c3cbde03933f4308
DIST python-ldap-3.4.6.gh.tar.gz 381136 BLAKE2B 5d57d2f6d58facf4942a36ecfccd542e9a3bce91dbce1a49e7c94360f11486266aac469c4d4df00b61081395014def4c856c156c5f78ea1c1fb7dcc6edbbf26b SHA512 29d5fbb4e6c7e07160e591ef74aa342e4a7906ab712f6054f6e3eca1c7bd1164083c6bb9653260c12015a6e8ebcfe673e36f7614ff02f0dc1d9de7683a557a54
+DIST python-ldap-3.4.7.gh.tar.gz 381197 BLAKE2B 03ecb8681da5f0df821baf7bf5bd5da4ca2dad18214edb4ea475fc5b8df7535a07ba5684dc6c4ed6af5c4d39a3561dab336146a2cf157c139592726e3c2ecf50 SHA512 ecf20c6a23b32fe21cde969407287f415a091d15dd0de49d986472de23de35e2d9dd590ceb7b26353e8eb3d4f2ee4fd9c9d8c9bd6c600cd45d80ab73bcd4c8df
diff --git a/dev-python/python-ldap/metadata.xml b/dev-python/python-ldap/metadata.xml
index e8336f8b6a8f..3d1ffdc189f5 100644
--- a/dev-python/python-ldap/metadata.xml
+++ b/dev-python/python-ldap/metadata.xml
@@ -8,5 +8,5 @@
<upstream>
<bugs-to>https://github.com/python-ldap/python-ldap/issues</bugs-to>
</upstream>
- <origin>gentoo-staging</origin>
+ <origin>liguros-repo</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/python-ldap/python-ldap-3.4.5.ebuild b/dev-python/python-ldap/python-ldap-3.4.5.ebuild
index 371e768fadbf..60e025086d48 100644
--- a/dev-python/python-ldap/python-ldap-3.4.5.ebuild
+++ b/dev-python/python-ldap/python-ldap-3.4.5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1
diff --git a/dev-python/python-ldap/python-ldap-3.4.6.ebuild b/dev-python/python-ldap/python-ldap-3.4.6.ebuild
index 3d04dbdfcfee..8f24d670894e 100644
--- a/dev-python/python-ldap/python-ldap-3.4.6.ebuild
+++ b/dev-python/python-ldap/python-ldap-3.4.6.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..14} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1
diff --git a/dev-python/python-ldap/python-ldap-3.4.7.ebuild b/dev-python/python-ldap/python-ldap-3.4.7.ebuild
new file mode 100644
index 000000000000..8f24d670894e
--- /dev/null
+++ b/dev-python/python-ldap/python-ldap-3.4.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+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/
+"
+SRC_URI="
+ https://github.com/python-ldap/python-ldap/archive/${P}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S=${WORKDIR}/${PN}-${P}
+
+LICENSE="MIT PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples sasl ssl"
+
+RDEPEND="
+ >=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}]
+ net-nds/openldap:=[sasl?,ssl?]
+"
+# We do not link against cyrus-sasl but we use some
+# of its headers during the build.
+DEPEND="
+ net-nds/openldap:=[sasl?,ssl?]
+ sasl? ( >=dev-libs/cyrus-sasl-2.1 )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+distutils_enable_sphinx Doc
+
+python_prepare_all() {
+ 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 EPYTEST_IGNORE=(
+ 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
+ epytest
+ popd > /dev/null || die
+}
+
+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
+}