diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 15:50:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-28 15:50:58 +0100 |
commit | d41bd0acd3d0cd850cdd815b12e69ee2c89c5697 (patch) | |
tree | 0ea617df50a6f9fb89fc7e509e3d4ddf0d244b64 /dev-python/django-auth-ldap | |
parent | 115dcc7054f5934a2c8e26fd8a8eed5f3e29e9ce (diff) |
gentoo auto-resync : 28:03:2023 - 15:50:57
Diffstat (limited to 'dev-python/django-auth-ldap')
-rw-r--r-- | dev-python/django-auth-ldap/Manifest | 2 | ||||
-rw-r--r-- | dev-python/django-auth-ldap/django-auth-ldap-4.2.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest index 61c7b0bf3f96..77889818a947 100644 --- a/dev-python/django-auth-ldap/Manifest +++ b/dev-python/django-auth-ldap/Manifest @@ -1,3 +1,5 @@ DIST django-auth-ldap-4.1.0.gh.tar.gz 49533 BLAKE2B f99050c147d179a54fe052e72a9b2ded556819da788f5180225a6d5015d2b7b52dc6f6d65fac4d1b88dc28b3617f9caaac7df3e455d218e8a2c6af1391418b8e SHA512 d55710cf96916602d29b33e111eff7922011231c47f843660cf2adfdc226dd335d4e42e5c2933bd77a9ee5f816d044798e876c8d0de824dcf4a8a78e1bce3446 +DIST django-auth-ldap-4.2.0.gh.tar.gz 49572 BLAKE2B e33241897a2ad6ec3cefe4d8bc6cfea322f478b3db7c2e8b7726b55f9e030f10ae25ee049842322f11939523df06af81a57122d4d3c8115416a253672c43dd39 SHA512 a37500c850b3cf49d6bc7324d721c05279570972547ebd69521033e4cd6aa340948829edb3ae94d3280a8142a42d88ce77f85bf4a8c9f32753a860881b3c5d90 EBUILD django-auth-ldap-4.1.0.ebuild 1080 BLAKE2B df342b857dfa9f7205b9634ec100a26a59952590c7f7ee7a03fbe9bed88606e4611b4911f43abd92d97a6e7efd243d63c49d20564d1f845238fb9d3bcd33b91b SHA512 18b3dc69fd7d0126d7a5367fe0bd8b880428ba21f109da9c83e719187ee139a75834da7b52b50f065ebc694dc4f6a97297e9c261d433e26f1acbd5bc0a9af790 +EBUILD django-auth-ldap-4.2.0.ebuild 1080 BLAKE2B df342b857dfa9f7205b9634ec100a26a59952590c7f7ee7a03fbe9bed88606e4611b4911f43abd92d97a6e7efd243d63c49d20564d1f845238fb9d3bcd33b91b SHA512 18b3dc69fd7d0126d7a5367fe0bd8b880428ba21f109da9c83e719187ee139a75834da7b52b50f065ebc694dc4f6a97297e9c261d433e26f1acbd5bc0a9af790 MISC metadata.xml 405 BLAKE2B e9d6f5ca53505cbfa7f9cd1cdc47bd58ba15ea972bdf342874c031ec151a053025b8f63a8d9c96de90ae0798e77d0db019a70d21e8746449543bfa5d91e3fec0 SHA512 453100976204f0b32042a1711d257ae76214452579d3008f403efc11cdf5e080e3663b43c1946b9da91086de580c0a8cf860fc99c00138c9d1bd4a01a5d1dcc3 diff --git a/dev-python/django-auth-ldap/django-auth-ldap-4.2.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-4.2.0.ebuild new file mode 100644 index 000000000000..6b295cdc596b --- /dev/null +++ b/dev-python/django-auth-ldap/django-auth-ldap-4.2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Django LDAP authentication backend" +HOMEPAGE=" + https://github.com/django-auth-ldap/django-auth-ldap/ + https://pypi.org/project/django-auth-ldap/ +" +SRC_URI=" + https://github.com/django-auth-ldap/django-auth-ldap/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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 + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +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}" +} |