sci-physics/rivet: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 19:10:27 +0000 (20:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:35:37 +0000 (17:35 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-physics/rivet/rivet-2.6.0-r2.ebuild [moved from sci-physics/rivet/rivet-2.6.0-r1.ebuild with 93% similarity]

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 273705fb73d0d5ed6baaf70f64df05d685c35d64..551de2ab59eed0d4269d7af9fb3311f891e22bbe 100644 (file)
@@ -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^}"