www-servers/tornado: Remove py2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-03-25 08:12:35 +01:00
parent 634e619c5f
commit 8c8a1fb0e7
2 changed files with 3 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 python3_6 )
PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -21,18 +21,7 @@ RESTRICT="!test? ( test )"
CDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/backports-ssl-match-hostname-3.5[${PYTHON_USEDEP}]' 'python2_7')
|| (
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
( $(python_gen_cond_dep 'dev-python/twisted-names[${PYTHON_USEDEP}]' 'python2_7')
$(python_gen_cond_dep 'dev-python/twisted-web[${PYTHON_USEDEP}]' 'python2_7')
)
)
$(python_gen_cond_dep '
dev-python/backports-abc[${PYTHON_USEDEP}]
dev-python/futures[${PYTHON_USEDEP}]
dev-python/singledispatch[${PYTHON_USEDEP}]
' -2)
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -19,14 +19,8 @@ IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/backports-abc[${PYTHON_USEDEP}]
dev-python/futures[${PYTHON_USEDEP}]
dev-python/singledispatch[${PYTHON_USEDEP}]
' -2)
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]