From: Michał Górny Date: Sat, 8 Feb 2020 06:29:26 +0000 (+0100) Subject: dev-python/root_numpy: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2f1eb83676880c6252f33a5982689328c7b850fe;p=gentoo.git dev-python/root_numpy: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- 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