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: dev-util/itstool/
Date: Sun, 09 Feb 2020 16:25:24
Message-Id: 1581265300.4c6f365bd8409d0fdd8cd2650b92804a034b03dd.mgorny@gentoo
1 commit: 4c6f365bd8409d0fdd8cd2650b92804a034b03dd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 7 13:12:17 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 16:21:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6f365b
7
8 dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/itstool/itstool-2.0.2.ebuild | 6 ++++--
13 dev-util/itstool/{itstool-2.0.6.ebuild => itstool-2.0.6-r1.ebuild} | 4 +++-
14 2 files changed, 7 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-util/itstool/itstool-2.0.2.ebuild b/dev-util/itstool/itstool-2.0.2.ebuild
17 index c970a0e502d..2606e551b64 100644
18 --- a/dev-util/itstool/itstool-2.0.2.ebuild
19 +++ b/dev-util/itstool/itstool-2.0.2.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=5
26 @@ -21,7 +21,9 @@ IUSE=""
27 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
28
29 RDEPEND="${PYTHON_DEPS}
30 - dev-libs/libxml2[python,${PYTHON_USEDEP}]"
31 + $(python_gen_cond_dep '
32 + dev-libs/libxml2[python,${PYTHON_MULTI_USEDEP}]
33 + ')"
34 DEPEND="${RDEPEND}"
35
36 pkg_setup() {
37
38 diff --git a/dev-util/itstool/itstool-2.0.6.ebuild b/dev-util/itstool/itstool-2.0.6-r1.ebuild
39 similarity index 91%
40 rename from dev-util/itstool/itstool-2.0.6.ebuild
41 rename to dev-util/itstool/itstool-2.0.6-r1.ebuild
42 index 444c8f20eec..d277093282f 100644
43 --- a/dev-util/itstool/itstool-2.0.6.ebuild
44 +++ b/dev-util/itstool/itstool-2.0.6-r1.ebuild
45 @@ -21,7 +21,9 @@ IUSE=""
46 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
47
48 RDEPEND="${PYTHON_DEPS}
49 - dev-libs/libxml2[python,${PYTHON_USEDEP}]"
50 + $(python_gen_cond_dep '
51 + dev-libs/libxml2[python,${PYTHON_MULTI_USEDEP}]
52 + ')"
53 DEPEND="${RDEPEND}"
54 BDEPEND=""