dev-python/importlib_resources: Replace virts with cond deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 20:58:22 +0000 (21:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:09:34 +0000 (22:09 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/importlib_resources/importlib_resources-1.3.1.ebuild

index 48478cffc1a2ae19e0f7f6b92bcd9ad951dbb722..32dfa6ffe26858a228c328f7f67371e1bd35ac0a 100644 (file)
@@ -17,12 +17,16 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 
 RDEPEND="
-       $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' -2)
-       $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
-       $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
-       $(python_gen_cond_dep 'dev-python/zipp[${PYTHON_USEDEP}]' pypy3 python3_{6,7})
-       virtual/python-singledispatch[${PYTHON_USEDEP}]
-       virtual/python-typing[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/contextlib2[${PYTHON_USEDEP}]
+               dev-python/pathlib2[${PYTHON_USEDEP}]
+               dev-python/singledispatch[${PYTHON_USEDEP}]
+               dev-python/typing[${PYTHON_USEDEP}]
+       ' -2)
+       $(python_gen_cond_dep '
+               dev-python/importlib_metadata[${PYTHON_USEDEP}]
+               dev-python/zipp[${PYTHON_USEDEP}]
+       ' pypy3 python3_{6,7})
 "
 BDEPEND="
        dev-python/toml[${PYTHON_USEDEP}]