summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-16 22:06:10 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-16 22:09:41 +0100
commit8090d5f0f66d2423404b08e241dc273e8bcb7c80 (patch)
tree796bb895741808c535092a7941589eb0b97dc896 /dev-python/mock
parentwww-client/weboob: Replace virts with cond deps (diff)
downloadgentoo-8090d5f0f66d2423404b08e241dc273e8bcb7c80.tar.gz
gentoo-8090d5f0f66d2423404b08e241dc273e8bcb7c80.tar.bz2
gentoo-8090d5f0f66d2423404b08e241dc273e8bcb7c80.zip
dev-python/mock: Replace virts with cond deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mock')
-rw-r--r--dev-python/mock/mock-1.3.0-r2.ebuild4
-rw-r--r--dev-python/mock/mock-2.0.0.ebuild4
-rw-r--r--dev-python/mock/mock-3.0.5-r1.ebuild4
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}]"