dev-ruby/pygments_rb: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:59:01 +0000 (13:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:18:01 +0000 (17:18 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-ruby/pygments_rb/pygments_rb-1.2.1-r1.ebuild [moved from dev-ruby/pygments_rb/pygments_rb-1.2.1.ebuild with 89% similarity]

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 1e51b2fb94b3a3545c612f7a07946e1abc679cfe..23f293301191d578d6855ff7593784e3bcdb8ef4 100644 (file)
@@ -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"