diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-27 04:22:55 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-27 05:10:36 +0200 |
commit | 014f0b067f3573fdd15ca7a607e5bb6ac64b80af (patch) | |
tree | 1d6b83044010726ad71a5a0eeb2b91359c7a245e /dev-python/django-auth-ldap | |
parent | dev-python/tldextract: Bump to 3.4.1 (diff) | |
download | gentoo-014f0b067f3573fdd15ca7a607e5bb6ac64b80af.tar.gz gentoo-014f0b067f3573fdd15ca7a607e5bb6ac64b80af.tar.bz2 gentoo-014f0b067f3573fdd15ca7a607e5bb6ac64b80af.zip |
dev-python/django-auth-ldap: Bump to 4.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-auth-ldap')
-rw-r--r-- | dev-python/django-auth-ldap/Manifest | 1 | ||||
-rw-r--r-- | dev-python/django-auth-ldap/django-auth-ldap-4.3.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 36de0fb7472c..7f1b97901740 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1 +1,2 @@ DIST django-auth-ldap-4.2.0.gh.tar.gz 49572 BLAKE2B e33241897a2ad6ec3cefe4d8bc6cfea322f478b3db7c2e8b7726b55f9e030f10ae25ee049842322f11939523df06af81a57122d4d3c8115416a253672c43dd39 SHA512 a37500c850b3cf49d6bc7324d721c05279570972547ebd69521033e4cd6aa340948829edb3ae94d3280a8142a42d88ce77f85bf4a8c9f32753a860881b3c5d90 +DIST django-auth-ldap-4.3.0.tar.gz 53474 BLAKE2B b3f74739fd195b7a2e2cc785fa6493feaef8917b8473fad386da1569a158f13d7c765a32bd0d83ba02d20d7b50e845d3a5cda8b5fbbf5524576c62b84690705b SHA512 6a7826af60087a25970c6ae96b9bce40212cdfbe5e2d2ee0d903ff53f02edcd361eb56a0c5db9406e8525ee6be86e18d5c13db7e4ae6f2dd5d0adc7c593a8117 diff --git a/dev-python/django-auth-ldap/django-auth-ldap-4.3.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-4.3.0.ebuild new file mode 100644 index 000000000000..cb2e69ec0852 --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-4.3.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_{9..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}" +} |