dev-python/flake8: 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 21:53:24 +01:00
parent 151ac3445e
commit 10504d2833
2 changed files with 10 additions and 7 deletions

View File

@@ -23,8 +23,10 @@ RDEPEND="
<dev-python/pyflakes-1.7.0[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.0.0[${PYTHON_USEDEP}]
<dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' 'python2*' pypy )
$(python_gen_cond_dep '
dev-python/configparser[${PYTHON_USEDEP}]
dev-python/enum34[${PYTHON_USEDEP}]
' -2)
"
PDEPEND="
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]

View File

@@ -24,11 +24,12 @@ RDEPEND="
<dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.5.0[${PYTHON_USEDEP}]
<dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
virtual/python-typing[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' -2)
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' -2)
$(python_gen_cond_dep 'dev-python/functools32[${PYTHON_USEDEP}]' -2)
$(python_gen_cond_dep '
dev-python/configparser[${PYTHON_USEDEP}]
dev-python/enum34[${PYTHON_USEDEP}]
dev-python/functools32[${PYTHON_USEDEP}]
dev-python/typing[${PYTHON_USEDEP}]
' -2)
!dev-python/pep8[${PYTHON_USEDEP}]
"
PDEPEND="