commit:     610246b3ad4eff73bf8d16151419ed4d6ec4e61c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 06:57:18 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:46:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610246b3

sci-chemistry/chemex: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...emex-0.6.1-r2.ebuild => chemex-0.6.1-r3.ebuild} | 30 +++++++++++-----------
 1 file changed, 15 insertions(+), 15 deletions(-)

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 0b85b22ffc3..c6facbd7102 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

Reply via email to