commit: 52a96f484e143cc4c422782f10efcbc4795bd032
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 19:04:33 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:35:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a96f48
sci-libs/getdata: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{getdata-0.9.0-r2.ebuild => getdata-0.9.0-r3.ebuild} | 10 ++++++----
1 file 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
similarity index 91%
rename from sci-libs/getdata/getdata-0.9.0-r2.ebuild
rename to sci-libs/getdata/getdata-0.9.0-r3.ebuild
index 65085d535e5..bb727d3bea8 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}"