summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-16 22:16:42 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-16 22:17:53 +0100
commitee9bb20cc2345bc81304f1d4c196de1160e53bc1 (patch)
tree442e637b822f0ce1a13ee2f4c6293fe6bcbc9e0a /dev-python/importlib_resources
parentdev-db/mongodb: Replace virts with cond deps (diff)
downloadgentoo-ee9bb20cc2345bc81304f1d4c196de1160e53bc1.tar.gz
gentoo-ee9bb20cc2345bc81304f1d4c196de1160e53bc1.tar.bz2
gentoo-ee9bb20cc2345bc81304f1d4c196de1160e53bc1.zip
dev-python/importlib_resources: Replace virts with cond deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_resources')
-rw-r--r--dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild6
-rw-r--r--dev-python/importlib_resources/importlib_resources-1.0.2-r2.ebuild6
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 9fdb80048aa2..4a1b7cc076de 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 d179907d9e97..19acbf3b2a6d 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