commit:     a548ff2f8daff31e3cfb17eabf3cc4e7dcfb81b1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 20:58:22 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:09:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a548ff2f

dev-python/importlib_resources: Replace virts with cond deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../importlib_resources/importlib_resources-1.3.1.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-python/importlib_resources/importlib_resources-1.3.1.ebuild 
b/dev-python/importlib_resources/importlib_resources-1.3.1.ebuild
index 48478cffc1a..32dfa6ffe26 100644
--- a/dev-python/importlib_resources/importlib_resources-1.3.1.ebuild
+++ b/dev-python/importlib_resources/importlib_resources-1.3.1.ebuild
@@ -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}]

Reply via email to