Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/ldap3/
Date: Fri, 04 May 2018 20:49:22
Message-Id: 1525466949.bff79e3a7839d4af58b3f9cab048bfe33699e532.monsieurp@gentoo
1 commit: bff79e3a7839d4af58b3f9cab048bfe33699e532
2 Author: Oleksandr Trotsenko <oleksandr.trotsenko <AT> gmail <DOT> com>
3 AuthorDate: Fri May 4 17:38:14 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri May 4 20:49:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff79e3a
7
8 dev-python/ldap3: version bump.
9
10 Closes: https://bugs.gentoo.org/645752
11 Closes: https://github.com/gentoo/gentoo/pull/8259
12 Package-Manager: Portage-2.3.33, Repoman-2.3.9
13
14 dev-python/ldap3/Manifest | 1 +
15 dev-python/ldap3/ldap3-2.4.1.ebuild | 33 +++++++++++++++++++++++++++++++++
16 2 files changed, 34 insertions(+)
17
18 diff --git a/dev-python/ldap3/Manifest b/dev-python/ldap3/Manifest
19 index 032a9a1b5e3..75435c071eb 100644
20 --- a/dev-python/ldap3/Manifest
21 +++ b/dev-python/ldap3/Manifest
22 @@ -1 +1,2 @@
23 DIST ldap3-2.2.3.tar.gz 331483 BLAKE2B a6479e6a02d0a0682b809cea2b63ff9ff3935f2d083b9dff3a02468d3a27cbc75dc69dff64f523c0b077f288b3e1e565433af13a607568617c309c3e894d7a62 SHA512 a954f6c582e88addf0bd6dc6fb24108d76d134b80c14a3dca0f9f667dbbfee484cb7b0444822f7e82a41af7dacf61ba111b6dcbf215b7f6df26a3784cfd2fc83
24 +DIST ldap3-2.4.1.tar.gz 345220 BLAKE2B bcf2ea46d483fd4fbfa7ba48e2a2e72061e82b56ac5bcad0e28aec0d52a723d5e5b2aad1f1c335977edeb260264a5603aa2a2bb726c08fd46a0215c46ad2f287 SHA512 716671c2d07c53d1953aab4668562a1b59a1e642b19d50f3cf05d44c74b6848a34b4197aa2c77f5b1d6b556ec0ca473b0495c24da74e2395aa20dffc8a0a360d
25
26 diff --git a/dev-python/ldap3/ldap3-2.4.1.ebuild b/dev-python/ldap3/ldap3-2.4.1.ebuild
27 new file mode 100644
28 index 00000000000..0b8cb7a8fa8
29 --- /dev/null
30 +++ b/dev-python/ldap3/ldap3-2.4.1.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A strictly RFC 4511 conforming LDAP V3 pure Python client"
42 +HOMEPAGE="https://github.com/cannatag/ldap3 https://pypi.python.org/pypi/ldap3"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="LGPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="test"
49 +# The tests are a mess, and the test config is not included in the
50 +# PyPi tarball (see https://travis-ci.org/cannatag/ldap3 and
51 +# https://github.com/cannatag/ldap3/blob/master/test/config.py).
52 +RESTRICT="test"
53 +
54 +RDEPEND="
55 + dev-python/pyasn1[${PYTHON_USEDEP}]"
56 +
57 +DEPEND="
58 + ${RDEPEND}
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
61 +
62 +python_test() {
63 + nosetests -v -s test || die
64 +}