1 |
commit: c89e571cb194ce6e02d70d38a7c44a6e4b6e5a33 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 19:06:41 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:35:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89e571c |
7 |
|
8 |
sci-libs/mathgl: Switch to PYTHON_MULTI_USEDEP API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../mathgl/{mathgl-2.4.1-r1.ebuild => mathgl-2.4.1-r2.ebuild} | 10 ++++++---- |
13 |
1 file changed, 6 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild |
16 |
similarity index 96% |
17 |
rename from sci-libs/mathgl/mathgl-2.4.1-r1.ebuild |
18 |
rename to sci-libs/mathgl/mathgl-2.4.1-r2.ebuild |
19 |
index 81c1241a2fa..e07d56b6edf 100644 |
20 |
--- a/sci-libs/mathgl/mathgl-2.4.1-r1.ebuild |
21 |
+++ b/sci-libs/mathgl/mathgl-2.4.1-r2.ebuild |
22 |
@@ -39,10 +39,12 @@ RDEPEND=" |
23 |
pdf? ( media-libs/libharu ) |
24 |
png? ( media-libs/libpng:0 ) |
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 |
qt5? ( |