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