From: Michał Górny Date: Sat, 8 Feb 2020 06:57:18 +0000 (+0100) Subject: sci-chemistry/chemex: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=610246b3ad4eff73bf8d16151419ed4d6ec4e61c;p=gentoo.git sci-chemistry/chemex: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- 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