From 2f1eb83676880c6252f33a5982689328c7b850fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:29:26 +0100 Subject: [PATCH] dev-python/root_numpy: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ..._numpy-4.7.3.ebuild => root_numpy-4.7.3-r1.ebuild} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) rename dev-python/root_numpy/{root_numpy-4.7.3.ebuild => root_numpy-4.7.3-r1.ebuild} (76%) diff --git a/dev-python/root_numpy/root_numpy-4.7.3.ebuild b/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild similarity index 76% rename from dev-python/root_numpy/root_numpy-4.7.3.ebuild rename to dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild index d76b31455628..c5305f468915 100644 --- a/dev-python/root_numpy/root_numpy-4.7.3.ebuild +++ b/dev-python/root_numpy/root_numpy-4.7.3-r1.ebuild @@ -19,11 +19,16 @@ IUSE="examples test" RESTRICT="!test? ( test )" RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-physics/root:=[python,${PYTHON_USEDEP}]" + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_MULTI_USEDEP}] + ') + sci-physics/root:=[python,${PYTHON_SINGLE_USEDEP}]" DEPEND="${RDEPEND} - test? ( dev-python/nose[${PYTHON_USEDEP}] )" + test? ( + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_MULTI_USEDEP}] ) + ')" python_test() { cd "${BUILD_DIR}" || die -- 2.26.2