From: Michał Górny Date: Mon, 16 Mar 2020 21:06:10 +0000 (+0100) Subject: dev-python/mock: Replace virts with cond deps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8090d5f0f66d2423404b08e241dc273e8bcb7c80;p=gentoo.git dev-python/mock: Replace virts with cond deps Signed-off-by: Michał Górny --- diff --git a/dev-python/mock/mock-1.3.0-r2.ebuild b/dev-python/mock/mock-1.3.0-r2.ebuild index 2789d2fb07cc..3c82f372725a 100644 --- a/dev-python/mock/mock-1.3.0-r2.ebuild +++ b/dev-python/mock/mock-1.3.0-r2.ebuild @@ -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? ( diff --git a/dev-python/mock/mock-2.0.0.ebuild b/dev-python/mock/mock-2.0.0.ebuild index f57e98c27c96..b1fbe6e92170 100644 --- a/dev-python/mock/mock-2.0.0.ebuild +++ b/dev-python/mock/mock-2.0.0.ebuild @@ -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? ( diff --git a/dev-python/mock/mock-3.0.5-r1.ebuild b/dev-python/mock/mock-3.0.5-r1.ebuild index 40faa14a5262..91c48fe1a435 100644 --- a/dev-python/mock/mock-3.0.5-r1.ebuild +++ b/dev-python/mock/mock-3.0.5-r1.ebuild @@ -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}]"