summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:04:33 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:29 +0100
commit52a96f484e143cc4c422782f10efcbc4795bd032 (patch)
treef7d95ef20c9a5a7474aba9b09a83a0c2d1e96267 /sci-libs
parentsci-libs/cantera: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-52a96f484e143cc4c422782f10efcbc4795bd032.tar.gz
gentoo-52a96f484e143cc4c422782f10efcbc4795bd032.tar.bz2
gentoo-52a96f484e143cc4c422782f10efcbc4795bd032.zip
sci-libs/getdata: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/getdata/getdata-0.9.0-r3.ebuild (renamed from sci-libs/getdata/getdata-0.9.0-r2.ebuild)10
1 files changed, 6 insertions, 4 deletions
diff --git a/sci-libs/getdata/getdata-0.9.0-r2.ebuild b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
index 65085d535e5b..bb727d3bea89 100644
--- a/sci-libs/getdata/getdata-0.9.0-r2.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
@@ -24,10 +24,12 @@ DEPEND="
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )
python? (
- || (
- dev-python/numpy-python2[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- )
+ $(python_gen_cond_dep '
+ || (
+ dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ )
+ ')
${PYTHON_DEPS}
)"
RDEPEND="${DEPEND}"