From 610246b3ad4eff73bf8d16151419ed4d6ec4e61c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Feb 2020 07:57:18 +0100 Subject: [PATCH] sci-chemistry/chemex: 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 --- ...0.6.1-r2.ebuild => chemex-0.6.1-r3.ebuild} | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) rename sci-chemistry/chemex/{chemex-0.6.1-r2.ebuild => chemex-0.6.1-r3.ebuild} (61%) diff --git a/sci-chemistry/chemex/chemex-0.6.1-r2.ebuild b/sci-chemistry/chemex/chemex-0.6.1-r3.ebuild similarity index 61% rename from sci-chemistry/chemex/chemex-0.6.1-r2.ebuild rename to sci-chemistry/chemex/chemex-0.6.1-r3.ebuild index 0b85b22ffc3d..c6facbd71020 100644 --- a/sci-chemistry/chemex/chemex-0.6.1-r2.ebuild +++ b/sci-chemistry/chemex/chemex-0.6.1-r3.ebuild @@ -17,22 +17,22 @@ KEYWORDS="~amd64" IUSE="" RDEPEND=" - || ( - >=dev-python/matplotlib-python2-1.1[${PYTHON_USEDEP}] - >=dev-python/matplotlib-1.1[${PYTHON_USEDEP}] - ) - || ( - dev-python/numpy-python2[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - ) - || ( - >=sci-libs/scipy-python2-0.11[${PYTHON_USEDEP}] - >=sci-libs/scipy-0.11[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + || ( + >=dev-python/matplotlib-python2-1.1[${PYTHON_MULTI_USEDEP}] + >=dev-python/matplotlib-1.1[${PYTHON_MULTI_USEDEP}] + ) + || ( + dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] + dev-python/numpy[${PYTHON_MULTI_USEDEP}] + ) + || ( + >=sci-libs/scipy-python2-0.11[${PYTHON_MULTI_USEDEP}] + >=sci-libs/scipy-0.11[${PYTHON_MULTI_USEDEP}] + ) + ') " +DEPEND="${RDEPEND}" src_prepare() { # Fix quotes to detect the version properly -- 2.26.2