EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
IUSE="coverage examples test"
RESTRICT="!test? ( test )"
+COV_DEP="
+ $(python_gen_cond_dep '
+ dev-python/coverage[${PYTHON_USEDEP}]
+ ' python2_7 python3_{6,7,8} pypy3)"
RDEPEND="
- coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )"
+ coverage? ( ${COV_DEP} )"
DEPEND="${RDEPEND}
test? (
- dev-python/coverage[${PYTHON_USEDEP}]
+ ${COV_DEP}
$(python_gen_cond_dep '
dev-python/twisted[${PYTHON_USEDEP}]
' python2_7 python3_{6,7,8})