From 8090d5f0f66d2423404b08e241dc273e8bcb7c80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Mar 2020 22:06:10 +0100 Subject: [PATCH] dev-python/mock: Replace virts with cond deps MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mock/mock-1.3.0-r2.ebuild | 4 +++- dev-python/mock/mock-2.0.0.ebuild | 4 +++- dev-python/mock/mock-3.0.5-r1.ebuild | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) 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}]" -- 2.26.2