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/dnspython/
Date: Tue, 30 Jul 2019 05:40:42
Message-Id: 1564464549.c6e595bda53b127db52c02f35d7c9784cb99ff2a.mgorny@gentoo
1 commit: c6e595bda53b127db52c02f35d7c9784cb99ff2a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 30 05:29:09 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 05:29:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e595bd
7
8 dev-python/dnspython: EAPI 7 and cleanup
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/dnspython/dnspython-1.16.0.ebuild | 8 +++-----
13 1 file changed, 3 insertions(+), 5 deletions(-)
14
15 diff --git a/dev-python/dnspython/dnspython-1.16.0.ebuild b/dev-python/dnspython/dnspython-1.16.0.ebuild
16 index 5f23e5d067a..1f8c7e41ec8 100644
17 --- a/dev-python/dnspython/dnspython-1.16.0.ebuild
18 +++ b/dev-python/dnspython/dnspython-1.16.0.ebuild
19 @@ -1,7 +1,7 @@
20 # Copyright 1999-2019 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=6
24 +EAPI=7
25
26 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
27
28 @@ -15,6 +15,7 @@ LICENSE="ISC"
29 SLOT="0"
30 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
31 IUSE="examples test"
32 +RESTRICT="!test? ( test )"
33
34 RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
35 >=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
36 @@ -23,12 +24,9 @@ RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]
37 !dev-python/dnspython:py3"
38 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
39
40 -# For testsuite
41 -DISTUTILS_IN_SOURCE_BUILD=1
42 -
43 python_test() {
44 cd tests || die
45 - "${PYTHON}" utest.py || die "tests failed under ${EPYTHON}"
46 + "${EPYTHON}" utest.py || die "tests failed under ${EPYTHON}"
47 einfo "Testsuite passed under ${EPYTHON}"
48 }