summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-08 07:57:35 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:46:47 +0100
commit581ffda9dab73df0d33280a97c2dd044aa184383 (patch)
tree3e7153cc8498a8434cb2877fa6ef5d207d53df5c /sci-chemistry
parentsci-chemistry/chemex: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-581ffda9dab73df0d33280a97c2dd044aa184383.tar.gz
gentoo-581ffda9dab73df0d33280a97c2dd044aa184383.tar.bz2
gentoo-581ffda9dab73df0d33280a97c2dd044aa184383.zip
sci-chemistry/nmrdepaker: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/nmrdepaker/nmrdepaker-1.0-r3.ebuild (renamed from sci-chemistry/nmrdepaker/nmrdepaker-1.0-r2.ebuild)20
1 files 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
index 043fd37324eb..66a98a99cef1 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}"