Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/getdata/
Date: Sun, 09 Feb 2020 16:36:40
Message-Id: 1581266129.52a96f484e143cc4c422782f10efcbc4795bd032.mgorny@gentoo
1 commit: 52a96f484e143cc4c422782f10efcbc4795bd032
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 19:04:33 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a96f48
7
8 sci-libs/getdata: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../{getdata-0.9.0-r2.ebuild => getdata-0.9.0-r3.ebuild} | 10 ++++++----
13 1 file changed, 6 insertions(+), 4 deletions(-)
14
15 diff --git a/sci-libs/getdata/getdata-0.9.0-r2.ebuild b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
16 similarity index 91%
17 rename from sci-libs/getdata/getdata-0.9.0-r2.ebuild
18 rename to sci-libs/getdata/getdata-0.9.0-r3.ebuild
19 index 65085d535e5..bb727d3bea8 100644
20 --- a/sci-libs/getdata/getdata-0.9.0-r2.ebuild
21 +++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
22 @@ -24,10 +24,12 @@ DEPEND="
23 lzma? ( app-arch/xz-utils )
24 perl? ( dev-lang/perl )
25 python? (
26 - || (
27 - dev-python/numpy-python2[${PYTHON_USEDEP}]
28 - dev-python/numpy[${PYTHON_USEDEP}]
29 - )
30 + $(python_gen_cond_dep '
31 + || (
32 + dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
33 + dev-python/numpy[${PYTHON_MULTI_USEDEP}]
34 + )
35 + ')
36 ${PYTHON_DEPS}
37 )"
38 RDEPEND="${DEPEND}"