commit:     7bab89b226646bbd85c54b4e48afc47dcd429c47
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  8 19:27:44 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  8 20:06:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bab89b2

dev-python/django-auth-ldap: Bump to 4.5.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.5.0.ebuild | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/django-auth-ldap/Manifest 
b/dev-python/django-auth-ldap/Manifest
index f5b5c7fda4af..a3034fbc892a 100644
--- a/dev-python/django-auth-ldap/Manifest
+++ b/dev-python/django-auth-ldap/Manifest
@@ -1 +1,2 @@
 DIST django-auth-ldap-4.4.0.tar.gz 53117 BLAKE2B 
46ae8f9788c3ed12d8b3576b4335390d3bc902a3627dd5af9028c2bd49dc64eef2f31995bcf51a6d20c55400bbd3dd5f4882ecc01e8d92564a6664db743809ca
 SHA512 
d01f40f64e0d6cd47a0efaaf3b5e6a30a399b0a3b9a6b4c6f683a8237b84076294821970bbb265f66e06b0fbec58417287188e5f09631b21f204137d003ecfd7
+DIST django-auth-ldap-4.5.0.tar.gz 53642 BLAKE2B 
c603cda6ed2f7532d0ef5f69a64f7c3b4bd86981e561c14be7d818f044382b54ffb926687416a170ce068ec435d660da9965761db97cff28dc4d6f95511c59c5
 SHA512 
1606bee77a03a669eb4ccd906db26c80166f370e04749a5f340e4a07574032130d9f6af22d25d09c96319e45f6137c26928ad543ea592d3a172aea623e97550b

diff --git a/dev-python/django-auth-ldap/django-auth-ldap-4.5.0.ebuild 
b/dev-python/django-auth-ldap/django-auth-ldap-4.5.0.ebuild
new file mode 100644
index 000000000000..9e1094ca449c
--- /dev/null
+++ b/dev-python/django-auth-ldap/django-auth-ldap-4.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 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..11} )
+
+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/
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+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