dev-python/importlib_resources: Replace virts with cond deps

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-03-16 22:16:42 +01:00
parent 21a18776a6
commit ee9bb20cc2
2 changed files with 8 additions and 4 deletions

View 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}] )

View 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