dev-python/aiotest: Remove py2
authorMichał Górny <mgorny@gentoo.org>
Mon, 3 Feb 2020 20:35:44 +0000 (21:35 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 3 Feb 2020 20:45:54 +0000 (21:45 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/aiotest/aiotest-0.3.ebuild

index f17915b2cd3aed113371e1fad2204dd998daad3c..c04392458906175b63170515b1c5933d96a44622 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 inherit distutils-r1
 
 DESCRIPTION="Test suite for an implementation of asyncio (PEP 3156)"
@@ -15,14 +15,9 @@ SLOT="0"
 KEYWORDS="amd64 ~arm64 x86"
 IUSE=""
 
-RDEPEND="
-       $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' python2_7)
-       $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)"
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]"
 
 python_test() {
-       local suite
-       python_is_python3 && suite=asyncio || suite=trollius
-       "${PYTHON}" "test_${suite}.py" || die "Tests fail with ${EPYHON} (${suite})"
+       "${PYTHON}" "test_asyncio.py" || die "Tests fail with ${EPYTHON}"
 }