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

sci-chemistry/nmrdepaker: Switch to PYTHON_MULTI_USEDEP API

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

 ...epaker-1.0-r2.ebuild => nmrdepaker-1.0-r3.ebuild} | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/sci-chemistry/nmrdepaker/nmrdepaker-1.0-r2.ebuild 
b/sci-chemistry/nmrdepaker/nmrdepaker-1.0-r3.ebuild
similarity index 65%
rename from sci-chemistry/nmrdepaker/nmrdepaker-1.0-r2.ebuild
rename to sci-chemistry/nmrdepaker/nmrdepaker-1.0-r3.ebuild
index 043fd37324e..66a98a99cef 100644
--- a/sci-chemistry/nmrdepaker/nmrdepaker-1.0-r2.ebuild
+++ b/sci-chemistry/nmrdepaker/nmrdepaker-1.0-r3.ebuild
@@ -17,15 +17,17 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="
-       || (
-               >=dev-python/matplotlib-python2-0.98.5[gtk2,${PYTHON_USEDEP}]
-               >=dev-python/matplotlib-0.98.5[gtk2,${PYTHON_USEDEP}]
-       )
-       || (
-               dev-python/numpy-python2[${PYTHON_USEDEP}]
-               >=dev-python/numpy-1.2[${PYTHON_USEDEP}]
-       )
-       >=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               || (
+                       
>=dev-python/matplotlib-python2-0.98.5[gtk2,${PYTHON_MULTI_USEDEP}]
+                       
>=dev-python/matplotlib-0.98.5[gtk2,${PYTHON_MULTI_USEDEP}]
+               )
+               || (
+                       dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+                       >=dev-python/numpy-1.2[${PYTHON_MULTI_USEDEP}]
+               )
+               >=dev-python/pygtk-2.12:2[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 DEPEND="${RDEPEND}"
 

Reply via email to