summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 20:10:27 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:35:37 +0100
commit18293ee771f79b1e640bf08678c56009af2b4c91 (patch)
treeba74ded30594edd9f4554b94a632b203587eda3b /sci-physics/rivet
parentsci-physics/espresso: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-18293ee771f79b1e640bf08678c56009af2b4c91.tar.gz
gentoo-18293ee771f79b1e640bf08678c56009af2b4c91.tar.bz2
gentoo-18293ee771f79b1e640bf08678c56009af2b4c91.zip
sci-physics/rivet: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-physics/rivet')
-rw-r--r--sci-physics/rivet/rivet-2.6.0-r2.ebuild (renamed from sci-physics/rivet/rivet-2.6.0-r1.ebuild)8
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-physics/rivet/rivet-2.6.0-r1.ebuild b/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^}"