commit:     fd98dbe68d9b030324a404d76140b26bc6b2f3f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 15:52:57 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 16:22:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd98dbe6

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

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django-auth-ldap/Manifest               |  1 +
 .../django-auth-ldap/django-auth-ldap-4.7.0.ebuild | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/django-auth-ldap/Manifest 
b/dev-python/django-auth-ldap/Manifest
index b9c358fec06e..e4cb97b895d4 100644
--- a/dev-python/django-auth-ldap/Manifest
+++ b/dev-python/django-auth-ldap/Manifest
@@ -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

diff --git a/dev-python/django-auth-ldap/django-auth-ldap-4.7.0.ebuild 
b/dev-python/django-auth-ldap/django-auth-ldap-4.7.0.ebuild
new file mode 100644
index 000000000000..75c0a161d526
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-4.7.0.ebuild
@@ -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}"
+}

Reply via email to