dev-python/mock: Replace virts with cond deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:06:10 +0000 (22:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:09:41 +0000 (22:09 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/mock/mock-1.3.0-r2.ebuild
dev-python/mock/mock-2.0.0.ebuild
dev-python/mock/mock-3.0.5-r1.ebuild

index 2789d2fb07cc3804b4408d7c376520ddd1c762b4..3c82f372725a1b423149d212b5b1984b59983fc5 100644 (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? (
index f57e98c27c96643f9c8df58efa379c51bfe6a0cb..b1fbe6e92170e11b4dcb6d28e40a5391be567bd2 100644 (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? (
index 40faa14a526299688d5b93d4381eb8f56cf38d94..91c48fe1a435f8190b229b77521dd89094370263 100644 (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}]"