From: Michał Górny Date: Sat, 8 Feb 2020 06:30:24 +0000 (+0100) Subject: dev-python/rootpy: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e0eb93a54aedc86848aeb080fdb667978e1901a3;p=gentoo.git dev-python/rootpy: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- diff --git a/dev-python/rootpy/rootpy-1.0.1.ebuild b/dev-python/rootpy/rootpy-1.0.1-r1.ebuild similarity index 63% rename from dev-python/rootpy/rootpy-1.0.1.ebuild rename to dev-python/rootpy/rootpy-1.0.1-r1.ebuild index 6146c30b7abf..f1b3bbd73790 100644 --- a/dev-python/rootpy/rootpy-1.0.1.ebuild +++ b/dev-python/rootpy/rootpy-1.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,15 +19,21 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="examples test" RDEPEND=" - sci-physics/root:=[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/root_numpy[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}]" + sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] + dev-python/root_numpy[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] + dev-python/pytables[${PYTHON_MULTI_USEDEP}] + dev-python/termcolor[${PYTHON_MULTI_USEDEP}] + ')" DEPEND=" - sci-physics/root[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" + sci-physics/root[${PYTHON_SINGLE_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_MULTI_USEDEP}] + ') + )" # TOFIX: tests go in an infinite loop error RESTRICT=test