From 18293ee771f79b1e640bf08678c56009af2b4c91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 20:10:27 +0100 Subject: [PATCH] sci-physics/rivet: 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 --- .../{rivet-2.6.0-r1.ebuild => rivet-2.6.0-r2.ebuild} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename sci-physics/rivet/{rivet-2.6.0-r1.ebuild => rivet-2.6.0-r2.ebuild} (93%) diff --git a/sci-physics/rivet/rivet-2.6.0-r1.ebuild b/sci-physics/rivet/rivet-2.6.0-r2.ebuild similarity index 93% rename from sci-physics/rivet/rivet-2.6.0-r1.ebuild rename to sci-physics/rivet/rivet-2.6.0-r2.ebuild index 273705fb73d0..551de2ab59ee 100644 --- a/sci-physics/rivet/rivet-2.6.0-r1.ebuild +++ b/sci-physics/rivet/rivet-2.6.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,7 +28,11 @@ RDEPEND=" python? ( ${PYTHON_DEPS} )" DEPEND="${RDEPEND} doc? ( app-doc/doxygen[latex,dot] ) - python? ( dev-python/cython[${PYTHON_USEDEP}] )" + python? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_MULTI_USEDEP}] + ') + )" S="${WORKDIR}/${P^}" -- 2.26.2