1 |
commit: 6f5fc2c6210fc7a5b12b1367cf12a9cd14d94732 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 7 12:59:01 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 16:18:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5fc2c6 |
7 |
|
8 |
dev-ruby/pygments_rb: Switch to PYTHON_MULTI_USEDEP API |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../{pygments_rb-1.2.1.ebuild => pygments_rb-1.2.1-r1.ebuild} | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild |
16 |
similarity index 89% |
17 |
rename from dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild |
18 |
rename to dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild |
19 |
index 1e51b2fb94b..23f29330119 100644 |
20 |
--- a/dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild |
21 |
+++ b/dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
@@ -30,8 +30,10 @@ RUBY_S="${MY_P}" |
29 |
|
30 |
RDEPEND+=" |
31 |
${PYTHON_DEPS} |
32 |
- >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] |
33 |
- dev-python/simplejson[${PYTHON_USEDEP}]" |
34 |
+ $(python_gen_cond_dep ' |
35 |
+ >=dev-python/pygments-2.2.0[${PYTHON_MULTI_USEDEP}] |
36 |
+ dev-python/simplejson[${PYTHON_MULTI_USEDEP}] |
37 |
+ ')" |
38 |
DEPEND+=" test? ( ${RDEPEND} )" |
39 |
|
40 |
ruby_add_rdepend ">=dev-ruby/multi_json-1.0.0" |