From: Michał Górny Date: Mon, 16 Mar 2020 21:16:42 +0000 (+0100) Subject: dev-python/importlib_resources: Replace virts with cond deps X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee9bb20cc2345bc81304f1d4c196de1160e53bc1;p=gentoo.git dev-python/importlib_resources: Replace virts with cond deps Signed-off-by: Michał Górny --- 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