summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 19:01:01 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:20 +0100
commitb3b95491e29af254135e028d65c5cfc560efa608 (patch)
tree5f60ba2e19f2b07d92754e45901ede1cef193653 /sci-chemistry/relax
parentsci-chemistry/prodecomp: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-b3b95491e29af254135e028d65c5cfc560efa608.tar.gz
gentoo-b3b95491e29af254135e028d65c5cfc560efa608.tar.bz2
gentoo-b3b95491e29af254135e028d65c5cfc560efa608.zip
sci-chemistry/relax: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-chemistry/relax')
-rw-r--r--sci-chemistry/relax/relax-4.0.0-r4.ebuild (renamed from sci-chemistry/relax/relax-4.0.0-r3.ebuild)36
1 files changed, 19 insertions, 17 deletions
diff --git a/sci-chemistry/relax/relax-4.0.0-r3.ebuild b/sci-chemistry/relax/relax-4.0.0-r4.ebuild
index 28b0f5d9da67..ba03dbad8454 100644
--- a/sci-chemistry/relax/relax-4.0.0-r3.ebuild
+++ b/sci-chemistry/relax/relax-4.0.0-r4.ebuild
@@ -23,25 +23,27 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
- dev-python/Numdifftools[${PYTHON_USEDEP}]
- || (
- dev-python/matplotlib-python2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- )
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
- dev-python/wxpython:${WX_GTK_VER}[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep "
+ dev-python/Numdifftools[\${PYTHON_MULTI_USEDEP}]
+ || (
+ dev-python/matplotlib-python2[\${PYTHON_MULTI_USEDEP}]
+ dev-python/matplotlib[\${PYTHON_MULTI_USEDEP}]
+ )
+ || (
+ dev-python/numpy-python2[\${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[\${PYTHON_MULTI_USEDEP}]
+ )
+ dev-python/wxpython:${WX_GTK_VER}[\${PYTHON_MULTI_USEDEP}]
+ sci-chemistry/pymol[\${PYTHON_MULTI_USEDEP}]
+ >=sci-libs/bmrblib-1.0.3[\${PYTHON_MULTI_USEDEP}]
+ >=sci-libs/minfx-1.0.11[\${PYTHON_MULTI_USEDEP}]
+ || (
+ sci-libs/scipy-python2[\${PYTHON_MULTI_USEDEP}]
+ sci-libs/scipy[\${PYTHON_MULTI_USEDEP}]
+ )
+ ")
sci-chemistry/molmol
- sci-chemistry/pymol[${PYTHON_USEDEP}]
sci-chemistry/vmd
- >=sci-libs/bmrblib-1.0.3[${PYTHON_USEDEP}]
- >=sci-libs/minfx-1.0.11[${PYTHON_USEDEP}]
- || (
- sci-libs/scipy-python2[${PYTHON_USEDEP}]
- sci-libs/scipy[${PYTHON_USEDEP}]
- )
sci-visualization/grace
sci-visualization/opendx
x11-libs/wxGTK:${WX_GTK_VER}[X]"