1 |
commit: af12cc19d24dfb9c07473ee2a0ef28c20388922a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 17:57:45 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:35:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af12cc19 |
7 |
|
8 |
sci-calculators/units: Switch to PYTHON_MULTI_USEDEP API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-calculators/units/{units-2.16.ebuild => units-2.16-r1.ebuild} | 6 ++++-- |
13 |
sci-calculators/units/units-2.18.ebuild | 6 ++++-- |
14 |
sci-calculators/units/{units-2.19.ebuild => units-2.19-r1.ebuild} | 6 ++++-- |
15 |
3 files changed, 12 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/sci-calculators/units/units-2.16.ebuild b/sci-calculators/units/units-2.16-r1.ebuild |
18 |
similarity index 90% |
19 |
rename from sci-calculators/units/units-2.16.ebuild |
20 |
rename to sci-calculators/units/units-2.16-r1.ebuild |
21 |
index 9a722304b0b..42721017753 100644 |
22 |
--- a/sci-calculators/units/units-2.16.ebuild |
23 |
+++ b/sci-calculators/units/units-2.16-r1.ebuild |
24 |
@@ -19,8 +19,10 @@ RDEPEND=" |
25 |
sys-libs/readline:= |
26 |
units--cur? ( |
27 |
${PYTHON_DEPS} |
28 |
- dev-python/future[${PYTHON_USEDEP}] |
29 |
- dev-python/requests[${PYTHON_USEDEP}] |
30 |
+ $(python_gen_cond_dep ' |
31 |
+ dev-python/future[${PYTHON_MULTI_USEDEP}] |
32 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
33 |
+ ') |
34 |
) |
35 |
" |
36 |
DEPEND=" |
37 |
|
38 |
diff --git a/sci-calculators/units/units-2.18.ebuild b/sci-calculators/units/units-2.18.ebuild |
39 |
index ab70dde6bd9..04c2763a1eb 100644 |
40 |
--- a/sci-calculators/units/units-2.18.ebuild |
41 |
+++ b/sci-calculators/units/units-2.18.ebuild |
42 |
@@ -19,8 +19,10 @@ RDEPEND=" |
43 |
sys-libs/readline:= |
44 |
units--cur? ( |
45 |
${PYTHON_DEPS} |
46 |
- dev-python/future[${PYTHON_USEDEP}] |
47 |
- dev-python/requests[${PYTHON_USEDEP}] |
48 |
+ $(python_gen_cond_dep ' |
49 |
+ dev-python/future[${PYTHON_MULTI_USEDEP}] |
50 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
51 |
+ ') |
52 |
) |
53 |
" |
54 |
DEPEND=" |
55 |
|
56 |
diff --git a/sci-calculators/units/units-2.19.ebuild b/sci-calculators/units/units-2.19-r1.ebuild |
57 |
similarity index 91% |
58 |
rename from sci-calculators/units/units-2.19.ebuild |
59 |
rename to sci-calculators/units/units-2.19-r1.ebuild |
60 |
index 33e0d415997..244e15307d8 100644 |
61 |
--- a/sci-calculators/units/units-2.19.ebuild |
62 |
+++ b/sci-calculators/units/units-2.19-r1.ebuild |
63 |
@@ -19,8 +19,10 @@ RDEPEND=" |
64 |
sys-libs/readline:= |
65 |
units--cur? ( |
66 |
${PYTHON_DEPS} |
67 |
- dev-python/future[${PYTHON_USEDEP}] |
68 |
- dev-python/requests[${PYTHON_USEDEP}] |
69 |
+ $(python_gen_cond_dep ' |
70 |
+ dev-python/future[${PYTHON_MULTI_USEDEP}] |
71 |
+ dev-python/requests[${PYTHON_MULTI_USEDEP}] |
72 |
+ ') |
73 |
) |
74 |
" |
75 |
DEPEND=" |