1 |
commit: 931af7747167c447b23b0e83f2f377b010a80fc6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 19:11:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:35:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931af774 |
7 |
|
8 |
sci-physics/yoda: Switch to PYTHON_MULTI_USEDEP API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-physics/yoda/yoda-1.6.5.ebuild | 10 +++++++--- |
13 |
sci-physics/yoda/{yoda-1.7.0.ebuild => yoda-1.7.0-r1.ebuild} | 10 +++++++--- |
14 |
2 files changed, 14 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sci-physics/yoda/yoda-1.6.5.ebuild b/sci-physics/yoda/yoda-1.6.5.ebuild |
17 |
index 00d3f8949c2..82bf586a70b 100644 |
18 |
--- a/sci-physics/yoda/yoda-1.6.5.ebuild |
19 |
+++ b/sci-physics/yoda/yoda-1.6.5.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -20,9 +20,13 @@ IUSE="python root static-libs" |
27 |
RDEPEND=" |
28 |
dev-libs/boost:= |
29 |
python? ( ${PYTHON_DEPS} ) |
30 |
- root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )" |
31 |
+ root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )" |
32 |
DEPEND="${RDEPEND} |
33 |
- python? ( dev-python/cython[${PYTHON_USEDEP}] )" |
34 |
+ python? ( |
35 |
+ $(python_gen_cond_dep ' |
36 |
+ dev-python/cython[${PYTHON_MULTI_USEDEP}] |
37 |
+ ') |
38 |
+ )" |
39 |
|
40 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
41 |
|
42 |
|
43 |
diff --git a/sci-physics/yoda/yoda-1.7.0.ebuild b/sci-physics/yoda/yoda-1.7.0-r1.ebuild |
44 |
similarity index 82% |
45 |
rename from sci-physics/yoda/yoda-1.7.0.ebuild |
46 |
rename to sci-physics/yoda/yoda-1.7.0-r1.ebuild |
47 |
index 9f53d934f26..a29234715ba 100644 |
48 |
--- a/sci-physics/yoda/yoda-1.7.0.ebuild |
49 |
+++ b/sci-physics/yoda/yoda-1.7.0-r1.ebuild |
50 |
@@ -1,4 +1,4 @@ |
51 |
-# Copyright 1999-2018 Gentoo Foundation |
52 |
+# Copyright 1999-2020 Gentoo Authors |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
|
55 |
EAPI=6 |
56 |
@@ -19,9 +19,13 @@ IUSE="python root static-libs" |
57 |
|
58 |
RDEPEND=" |
59 |
python? ( ${PYTHON_DEPS} ) |
60 |
- root? ( sci-physics/root:=[python=,${PYTHON_USEDEP}] )" |
61 |
+ root? ( sci-physics/root:=[python=,${PYTHON_SINGLE_USEDEP}] )" |
62 |
DEPEND="${RDEPEND} |
63 |
- python? ( dev-python/cython[${PYTHON_USEDEP}] )" |
64 |
+ python? ( |
65 |
+ $(python_gen_cond_dep ' |
66 |
+ dev-python/cython[${PYTHON_MULTI_USEDEP}] |
67 |
+ ') |
68 |
+ )" |
69 |
|
70 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |