Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-auth-ldap/
Date: Thu, 22 Jul 2021 07:25:35
Message-Id: 1626938727.f53480a76d1db21c20387d5ec8e9ee2a6d49abda.mgorny@gentoo
1 commit: f53480a76d1db21c20387d5ec8e9ee2a6d49abda
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 07:04:08 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 07:25:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53480a7
7
8 dev-python/django-auth-ldap: Bump to 3.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/django-auth-ldap/Manifest | 1 +
13 .../django-auth-ldap/django-auth-ldap-3.0.0.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/django-auth-ldap/Manifest b/dev-python/django-auth-ldap/Manifest
17 index 6710ca6182e..61484e5b9ce 100644
18 --- a/dev-python/django-auth-ldap/Manifest
19 +++ b/dev-python/django-auth-ldap/Manifest
20 @@ -1 +1,2 @@
21 DIST django-auth-ldap-2.4.0.tar.gz 53523 BLAKE2B a8c49b4a4ecaaf31b3b9e7caca228041e110b5b418bef0a16c0fac423d929b0bc416cb83d8dd54f0f4567503ce9d09f686c936cc9d7e170d2cf93d8c124bb3d8 SHA512 acf85846ebf6bc354f6bf00f14f3436e1701f1d7a7746cc3572310f92ae93fb75ee6eff38558548d270f2e22d64aa7c0108f4cb91457a783aae76adc714b61d1
22 +DIST django-auth-ldap-3.0.0.tar.gz 52381 BLAKE2B 6964b36d72b365899d4dd3dc96f16b9c1f12c06ad95c7d387ec27ac6dbc38807e16fdb953e172fcde1a0d4042f318d276b780e474d9b810325e97cd601d070b7 SHA512 105885e62fd22aace2cbe291a107046109a91507ba77257b9b428e6d49fb74b6f47116f1d8325c3fc186590b00fb2b46507dc5b73333707e56d84e9a7b926d9e
23
24 diff --git a/dev-python/django-auth-ldap/django-auth-ldap-3.0.0.ebuild b/dev-python/django-auth-ldap/django-auth-ldap-3.0.0.ebuild
25 new file mode 100644
26 index 00000000000..afb03025412
27 --- /dev/null
28 +++ b/dev-python/django-auth-ldap/django-auth-ldap-3.0.0.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Django LDAP authentication backend"
40 +HOMEPAGE="https://github.com/django-auth-ldap/django-auth-ldap
41 + https://pypi.org/project/django-auth-ldap/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="test"
46 +RESTRICT="!test? ( test )"
47 +
48 +LICENSE="BSD-2"
49 +SLOT="0"
50 +
51 +RDEPEND="
52 + >=dev-python/django-2.2[${PYTHON_USEDEP}]
53 + >=dev-python/python-ldap-3.1[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + test? (
56 + $(python_gen_impl_dep sqlite)
57 + net-nds/openldap[-minimal]
58 + )"
59 +
60 +distutils_enable_sphinx docs --no-autodoc
61 +
62 +python_test() {
63 + # for slapd and slapdtest
64 + local -x SBIN=/usr/sbin:/usr/$(get_libdir)/openldap
65 + django-admin test -v 2 --settings tests.settings ||
66 + die "Tests failed with ${EPYTHON}"
67 +}