commit: ee9bb20cc2345bc81304f1d4c196de1160e53bc1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:16:42 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:17:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9bb20c
dev-python/importlib_resources: Replace virts with cond deps
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild | 6 ++++--
dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
index 9fdb80048aa..4a1b7cc076d 100644
--- a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
+++ b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild
@@ -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}] )
diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild
b/dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild
index d179907d9e9..19acbf3b2a6 100644
--- a/dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild
+++ b/dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild
@@ -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