From ee9bb20cc2345bc81304f1d4c196de1160e53bc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 16 Mar 2020 22:16:42 +0100 Subject: [PATCH] dev-python/importlib_resources: Replace virts with cond deps MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../importlib_resources/importlib_resources-1.0.2-r1.ebuild | 6 ++++-- .../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 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 -- 2.26.2