From 407d19276f079d94247ecb644e4add4a166e6282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 8 May 2025 06:27:33 +0200 Subject: [PATCH] dev-python/django-auth-ldap: Bump to 5.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/django-auth-ldap/Manifest | 1 + .../django-auth-ldap-5.2.0.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/django-auth-ldap/django-auth-ldap-5.2.0.ebuild diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 4359080321662..b1058ba2060e9 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1 +1,2 @@ DIST django_auth_ldap-5.1.0.tar.gz 55059 BLAKE2B 4c1cf5cf7113b90be392b519c0ecfceeb72568a6e50803bd276becca22fffb3ec7222069b374e311156d2e4c559b65985af2a740e0a78ec66b398622db66da47 SHA512 3b1257c91d1651df83c1c0343b8f0658d1e9e6b23cbb161ec2f5c847d9c924609509b28f3d1efde9c09e890b73191f0a6a6e9bd802cb4c6985c0c36b5955a9dd +DIST django_auth_ldap-5.2.0.tar.gz 55287 BLAKE2B 3a3f5d79cee7f3f74ea4ed40b4577ecc1e1a1e07ad173d6e9c48fdc7af92497c2689e1f0639173a5503578d4471a995d6ebca8fe7210e6e456345761de7ebad9 SHA512 db3c231331cd53e580bc01aa86c4004554d221ed5f97a90fe0e29a1536bc472abd23502a85b4967acc1c35bf3038ff11147ae18e02abc9466d5d8d60b2a5ddb2 diff --git a/dev-python/django-auth-ldap/django-auth-ldap-5.2.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-5.2.0.ebuild new file mode 100644 index 0000000000000..f2ebbb269aa59 --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-5.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Django LDAP authentication backend" +HOMEPAGE=" + https://github.com/django-auth-ldap/django-auth-ldap/ + https://pypi.org/project/django-auth-ldap/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/python-ldap-3.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + net-nds/openldap[-minimal] + ) +" + +distutils_enable_sphinx docs --no-autodoc + +python_test() { + # for slapd and slapdtest + local -x SBIN=/usr/sbin:/usr/$(get_libdir)/openldap + "${EPYTHON}" -m django test -v 2 --settings tests.settings || + die "Tests failed with ${EPYTHON}" +}