dev-python/importlib_resources: Replace virts with cond deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:16:42 +0000 (22:16 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Mar 2020 21:17:53 +0000 (22:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild

index 9fdb80048aa2dbc2f9d6d5811c1dcdb244a06ad4..4a1b7cc076de08d24cc718ee92c12b44acc05b9a 100644 (file)
@@ -19,8 +19,10 @@ IUSE="doc test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-       $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
-       virtual/python-typing[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pathlib2[${PYTHON_USEDEP}]
+               dev-python/typing[${PYTHON_USEDEP}]
+       ' -2)
 "
 BDEPEND="
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
index d179907d9e9757d809b53bedb67bca4fb80504c1..19acbf3b2a6dd4c402efbb05cd7732d6b85dfb30 100644 (file)
@@ -17,8 +17,10 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 
 RDEPEND="
-       $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
-       virtual/python-typing[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pathlib2[${PYTHON_USEDEP}]
+               dev-python/typing[${PYTHON_USEDEP}]
+       ' -2)
 "
 
 distutils_enable_tests unittest