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/argh/
Date: Wed, 03 Jun 2020 06:41:53
Message-Id: 1591166490.47220f984bcd6a63191483aad4a1aab690139d8b.mgorny@gentoo
1 commit: 47220f984bcd6a63191483aad4a1aab690139d8b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 3 05:40:03 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 3 06:41:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47220f98
7
8 dev-python/argh: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/argh/argh-0.26.2-r2.ebuild | 13 +++----------
13 1 file changed, 3 insertions(+), 10 deletions(-)
14
15 diff --git a/dev-python/argh/argh-0.26.2-r2.ebuild b/dev-python/argh/argh-0.26.2-r2.ebuild
16 index e4fc72244a2..7275fa021aa 100644
17 --- a/dev-python/argh/argh-0.26.2-r2.ebuild
18 +++ b/dev-python/argh/argh-0.26.2-r2.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python{3_6,3_7,3_8} pypy3 )
24 +PYTHON_COMPAT=( python3_{6..9} pypy3 )
25
26 inherit distutils-r1
27
28 @@ -14,18 +14,11 @@ SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz"
29 SLOT="0"
30 KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
31 LICENSE="LGPL-3"
32 -IUSE="test"
33 -RESTRICT="!test? ( test )"
34
35 -RDEPEND=""
36 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
37 +BDEPEND="
38 test? (
39 - dev-python/pytest[${PYTHON_USEDEP}]
40 dev-python/iocapture[${PYTHON_USEDEP}]
41 dev-python/mock[${PYTHON_USEDEP}]
42 - ${RDEPEND}
43 )"
44
45 -python_test() {
46 - pytest -vv || die "Tests fail with ${EPYTHON}"
47 -}
48 +distutils_enable_tests pytest