Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/
Date: Sun, 09 Feb 2020 16:36:37
Message-Id: 1581266128.b4937ee4a074b4b6849c7fb31cd635b327995b41.mgorny@gentoo
1 commit: b4937ee4a074b4b6849c7fb31cd635b327995b41
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 19:04:15 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:35:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4937ee4
7
8 sci-libs/cantera: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-libs/cantera/cantera-2.4.0-r1.ebuild | 8 ++++++--
13 .../cantera/{cantera-2.4.0-r2.ebuild => cantera-2.4.0-r3.ebuild} | 8 ++++++--
14 2 files changed, 12 insertions(+), 4 deletions(-)
15
16 diff --git a/sci-libs/cantera/cantera-2.4.0-r1.ebuild b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
17 index edaded328a2..cd27ff27f63 100644
18 --- a/sci-libs/cantera/cantera-2.4.0-r1.ebuild
19 +++ b/sci-libs/cantera/cantera-2.4.0-r1.ebuild
20 @@ -28,7 +28,9 @@ REQUIRED_USE="
21 RDEPEND="
22 ${PYTHON_DEPS}
23 python? (
24 - dev-python/numpy[${PYTHON_USEDEP}]
25 + $(python_gen_cond_dep '
26 + dev-python/numpy[${PYTHON_MULTI_USEDEP}]
27 + ')
28 )
29 <sci-libs/sundials-4.0.0:0=
30 "
31 @@ -39,7 +41,9 @@ DEPEND="
32 dev-libs/boost
33 dev-libs/libfmt
34 python? (
35 - dev-python/cython[${PYTHON_USEDEP}]
36 + $(python_gen_cond_dep '
37 + dev-python/cython[${PYTHON_MULTI_USEDEP}]
38 + ')
39 )
40 test? (
41 >=dev-cpp/gtest-1.8.0
42
43 diff --git a/sci-libs/cantera/cantera-2.4.0-r2.ebuild b/sci-libs/cantera/cantera-2.4.0-r3.ebuild
44 similarity index 95%
45 rename from sci-libs/cantera/cantera-2.4.0-r2.ebuild
46 rename to sci-libs/cantera/cantera-2.4.0-r3.ebuild
47 index f82bfa08639..29345e36058 100644
48 --- a/sci-libs/cantera/cantera-2.4.0-r2.ebuild
49 +++ b/sci-libs/cantera/cantera-2.4.0-r3.ebuild
50 @@ -28,7 +28,9 @@ REQUIRED_USE="
51 RDEPEND="
52 ${PYTHON_DEPS}
53 python? (
54 - dev-python/numpy[${PYTHON_USEDEP}]
55 + $(python_gen_cond_dep '
56 + dev-python/numpy[${PYTHON_MULTI_USEDEP}]
57 + ')
58 )
59 <sci-libs/sundials-5.1.0:0=
60 "
61 @@ -39,7 +41,9 @@ DEPEND="
62 dev-libs/boost
63 dev-libs/libfmt
64 python? (
65 - dev-python/cython[${PYTHON_USEDEP}]
66 + $(python_gen_cond_dep '
67 + dev-python/cython[${PYTHON_MULTI_USEDEP}]
68 + ')
69 )
70 test? (
71 >=dev-cpp/gtest-1.8.0