commit:     4c6f365bd8409d0fdd8cd2650b92804a034b03dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 13:12:17 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:21:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6f365b

dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/itstool/itstool-2.0.2.ebuild                              | 6 ++++--
 dev-util/itstool/{itstool-2.0.6.ebuild => itstool-2.0.6-r1.ebuild} | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-util/itstool/itstool-2.0.2.ebuild 
b/dev-util/itstool/itstool-2.0.2.ebuild
index c970a0e502d..2606e551b64 100644
--- a/dev-util/itstool/itstool-2.0.2.ebuild
+++ b/dev-util/itstool/itstool-2.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -21,7 +21,9 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-libs/libxml2[python,${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-libs/libxml2[python,${PYTHON_MULTI_USEDEP}]
+       ')"
 DEPEND="${RDEPEND}"
 
 pkg_setup() {

diff --git a/dev-util/itstool/itstool-2.0.6.ebuild 
b/dev-util/itstool/itstool-2.0.6-r1.ebuild
similarity index 91%
rename from dev-util/itstool/itstool-2.0.6.ebuild
rename to dev-util/itstool/itstool-2.0.6-r1.ebuild
index 444c8f20eec..d277093282f 100644
--- a/dev-util/itstool/itstool-2.0.6.ebuild
+++ b/dev-util/itstool/itstool-2.0.6-r1.ebuild
@@ -21,7 +21,9 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-libs/libxml2[python,${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-libs/libxml2[python,${PYTHON_MULTI_USEDEP}]
+       ')"
 DEPEND="${RDEPEND}"
 BDEPEND=""
 

Reply via email to