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-chemistry/chemex/
Date: Sun, 09 Feb 2020 16:47:08
Message-Id: 1581266806.610246b3ad4eff73bf8d16151419ed4d6ec4e61c.mgorny@gentoo
1 commit: 610246b3ad4eff73bf8d16151419ed4d6ec4e61c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 8 06:57:18 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:46:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610246b3
7
8 sci-chemistry/chemex: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 ...emex-0.6.1-r2.ebuild => chemex-0.6.1-r3.ebuild} | 30 +++++++++++-----------
13 1 file changed, 15 insertions(+), 15 deletions(-)
14
15 diff --git a/sci-chemistry/chemex/chemex-0.6.1-r2.ebuild b/sci-chemistry/chemex/chemex-0.6.1-r3.ebuild
16 similarity index 61%
17 rename from sci-chemistry/chemex/chemex-0.6.1-r2.ebuild
18 rename to sci-chemistry/chemex/chemex-0.6.1-r3.ebuild
19 index 0b85b22ffc3..c6facbd7102 100644
20 --- a/sci-chemistry/chemex/chemex-0.6.1-r2.ebuild
21 +++ b/sci-chemistry/chemex/chemex-0.6.1-r3.ebuild
22 @@ -17,22 +17,22 @@ KEYWORDS="~amd64"
23 IUSE=""
24
25 RDEPEND="
26 - || (
27 - >=dev-python/matplotlib-python2-1.1[${PYTHON_USEDEP}]
28 - >=dev-python/matplotlib-1.1[${PYTHON_USEDEP}]
29 - )
30 - || (
31 - dev-python/numpy-python2[${PYTHON_USEDEP}]
32 - dev-python/numpy[${PYTHON_USEDEP}]
33 - )
34 - || (
35 - >=sci-libs/scipy-python2-0.11[${PYTHON_USEDEP}]
36 - >=sci-libs/scipy-0.11[${PYTHON_USEDEP}]
37 - )
38 -"
39 -DEPEND="${RDEPEND}
40 - dev-python/setuptools[${PYTHON_USEDEP}]
41 + $(python_gen_cond_dep '
42 + || (
43 + >=dev-python/matplotlib-python2-1.1[${PYTHON_MULTI_USEDEP}]
44 + >=dev-python/matplotlib-1.1[${PYTHON_MULTI_USEDEP}]
45 + )
46 + || (
47 + dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
48 + dev-python/numpy[${PYTHON_MULTI_USEDEP}]
49 + )
50 + || (
51 + >=sci-libs/scipy-python2-0.11[${PYTHON_MULTI_USEDEP}]
52 + >=sci-libs/scipy-0.11[${PYTHON_MULTI_USEDEP}]
53 + )
54 + ')
55 "
56 +DEPEND="${RDEPEND}"
57
58 src_prepare() {
59 # Fix quotes to detect the version properly