commit: b4937ee4a074b4b6849c7fb31cd635b327995b41
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 7 19:04:15 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:35:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4937ee4
sci-libs/cantera: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/cantera/cantera-2.4.0-r1.ebuild | 8 ++++++--
.../cantera/{cantera-2.4.0-r2.ebuild => cantera-2.4.0-r3.ebuild} | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/sci-libs/cantera/cantera-2.4.0-r1.ebuild
b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
index edaded328a2..cd27ff27f63 100644
--- a/sci-libs/cantera/cantera-2.4.0-r1.ebuild
+++ b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
@@ -28,7 +28,9 @@ REQUIRED_USE="
RDEPEND="
${PYTHON_DEPS}
python? (
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
)
<sci-libs/sundials-4.0.0:0=
"
@@ -39,7 +41,9 @@ DEPEND="
dev-libs/boost
dev-libs/libfmt
python? (
- dev-python/cython[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/cython[${PYTHON_MULTI_USEDEP}]
+ ')
)
test? (
>=dev-cpp/gtest-1.8.0
diff --git a/sci-libs/cantera/cantera-2.4.0-r2.ebuild
b/sci-libs/cantera/cantera-2.4.0-r3.ebuild
similarity index 95%
rename from sci-libs/cantera/cantera-2.4.0-r2.ebuild
rename to sci-libs/cantera/cantera-2.4.0-r3.ebuild
index f82bfa08639..29345e36058 100644
--- a/sci-libs/cantera/cantera-2.4.0-r2.ebuild
+++ b/sci-libs/cantera/cantera-2.4.0-r3.ebuild
@@ -28,7 +28,9 @@ REQUIRED_USE="
RDEPEND="
${PYTHON_DEPS}
python? (
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
)
<sci-libs/sundials-5.1.0:0=
"
@@ -39,7 +41,9 @@ DEPEND="
dev-libs/boost
dev-libs/libfmt
python? (
- dev-python/cython[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/cython[${PYTHON_MULTI_USEDEP}]
+ ')
)
test? (
>=dev-cpp/gtest-1.8.0