dev-python/django-auth-ldap: Bump to 5.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-08 06:27:33 +02:00
parent ec4ae81d06
commit 407d19276f
2 changed files with 43 additions and 0 deletions

View File

@@ -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

View File

@@ -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}"
}