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/iocapture/
Date: Wed, 03 Jun 2020 06:41:52
Message-Id: 1591166490.eaef3fae4e55473cd4fbd4fd3d0086624f0af50a.mgorny@gentoo
1 commit: eaef3fae4e55473cd4fbd4fd3d0086624f0af50a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 3 05:37:23 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=eaef3fae
7
8 dev-python/iocapture: Port to py39
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/iocapture/iocapture-0.1.2-r2.ebuild | 13 +++----------
13 1 file changed, 3 insertions(+), 10 deletions(-)
14
15 diff --git a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild b/dev-python/iocapture/iocapture-0.1.2-r2.ebuild
16 index 3b9cb84cb71..216c2210675 100644
17 --- a/dev-python/iocapture/iocapture-0.1.2-r2.ebuild
18 +++ b/dev-python/iocapture/iocapture-0.1.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,17 +14,10 @@ SRC_URI="https://github.com/oinume/iocapture/archive/${PV}.tar.gz -> ${P}.tar.gz
29 SLOT="0"
30 KEYWORDS="amd64 ~arm ~arm64 ~ppc x86"
31 LICENSE="MIT"
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/six[${PYTHON_USEDEP}]
41 - ${RDEPEND}
42 )"
43
44 -python_test() {
45 - pytest -vv || die "Tests fail with ${EPYTHON}"
46 -}
47 +distutils_enable_tests pytest