From 6f5fc2c6210fc7a5b12b1367cf12a9cd14d94732 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 13:59:01 +0100 Subject: [PATCH] dev-ruby/pygments_rb: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- ...gments_rb-1.2.1.ebuild => pygments_rb-1.2.1-r1.ebuild} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename dev-ruby/pygments_rb/{pygments_rb-1.2.1.ebuild => pygments_rb-1.2.1-r1.ebuild} (89%) 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 1e51b2fb94b3..23f293301191 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" -- 2.26.2