dev-python/mock: 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:06:10 +01:00
parent d1097907f3
commit 8090d5f0f6
3 changed files with 9 additions and 3 deletions

View File

@@ -19,7 +19,9 @@ RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-1.3[${PYTHON_USEDEP}]
virtual/python-funcsigs[${PYTHON_USEDEP}]"
$(python_gen_cond_dep '
dev-python/funcsigs[${PYTHON_USEDEP}]
' -2)"
DEPEND="
>=dev-python/setuptools-17.1[${PYTHON_USEDEP}]
test? (

View File

@@ -19,7 +19,9 @@ RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-1.3[${PYTHON_USEDEP}]
>=virtual/python-funcsigs-1[${PYTHON_USEDEP}]"
$(python_gen_cond_dep '
dev-python/funcsigs[${PYTHON_USEDEP}]
' -2)"
DEPEND="
>=dev-python/setuptools-17.1[${PYTHON_USEDEP}]
test? (

View File

@@ -16,7 +16,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
RDEPEND="
>=virtual/python-funcsigs-1[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/funcsigs[${PYTHON_USEDEP}]
' -2)
>=dev-python/six-1.9[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
>=dev-python/setuptools-17.1[${PYTHON_USEDEP}]"