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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-03-24 16:52:57 +01:00
parent ab8e3d5702
commit fd98dbe68d
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 44 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST django-auth-ldap-4.6.0.tar.gz 53845 BLAKE2B 279f7762b858330ab4b63ebb18a8609569ea4d3c7ff1af5ce89d64d8f207445e645d33c9415c4ad289adad0ea2da9674f1ad0d316f63ef42cd6b46c3ac3d7aed SHA512 fc3945fb9cece694b63661c8565d877bdc81e012e9b4e9a8f1840bd83f6effb525e36f40e5dd5018b43d2c7c72fcdd25a5c61bf35e6f0d05e70e830f69228498
DIST django-auth-ldap-4.7.0.tar.gz 53849 BLAKE2B 1c67ba30a0de7e6836fa4e1c0b057001b9b933e252880ae5da44f1ee026f813c0e9115186de3d07071e9e4d76e509b12ca7cdad7968a0ff6ae6f65e6202eb073 SHA512 c31e7e026bb13cba841015db2c7e8fb0d47e3fea968b6257802d03600a23b187e758f5b1891b60fda93a9a39e3c9d1c5b26a03678ed3a4d72c30cb42a2399bf2

View File

@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} )
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-2.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}"
}