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/aiotest/
Date: Mon, 03 Feb 2020 20:46:15
Message-Id: 1580762754.11b6b0c6b514720306b82153c9e8068d885c7b97.mgorny@gentoo
1 commit: 11b6b0c6b514720306b82153c9e8068d885c7b97
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 20:35:44 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 20:45:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11b6b0c6
7
8 dev-python/aiotest: Remove py2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/aiotest/aiotest-0.3.ebuild | 9 ++-------
13 1 file changed, 2 insertions(+), 7 deletions(-)
14
15 diff --git a/dev-python/aiotest/aiotest-0.3.ebuild b/dev-python/aiotest/aiotest-0.3.ebuild
16 index f17915b2cd3..c0439245890 100644
17 --- a/dev-python/aiotest/aiotest-0.3.ebuild
18 +++ b/dev-python/aiotest/aiotest-0.3.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=6
22
23 -PYTHON_COMPAT=( python2_7 python3_6 )
24 +PYTHON_COMPAT=( python3_6 )
25 inherit distutils-r1
26
27 DESCRIPTION="Test suite for an implementation of asyncio (PEP 3156)"
28 @@ -15,14 +15,9 @@ SLOT="0"
29 KEYWORDS="amd64 ~arm64 x86"
30 IUSE=""
31
32 -RDEPEND="
33 - $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' python2_7)
34 - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)"
35 DEPEND="${RDEPEND}
36 dev-python/setuptools[${PYTHON_USEDEP}]"
37
38 python_test() {
39 - local suite
40 - python_is_python3 && suite=asyncio || suite=trollius
41 - "${PYTHON}" "test_${suite}.py" || die "Tests fail with ${EPYHON} (${suite})"
42 + "${PYTHON}" "test_asyncio.py" || die "Tests fail with ${EPYTHON}"
43 }