dev-python/entrypoints: Replace virts with cond deps

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-03-16 22:03:10 +01:00
parent 0a592a0523
commit 4edc99a641

View File

@@ -19,13 +19,15 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
$(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*')
$(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' -2)
"
BDEPEND="
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
virtual/python-pathlib[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/pathlib[${PYTHON_USEDEP}]
' -2)
)
"