summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 14:12:17 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:21:40 +0100
commit4c6f365bd8409d0fdd8cd2650b92804a034b03dd (patch)
tree10331baee2b6c0e540b178d4ef632f2a6a6aa8cf /dev-util/itstool
parentdev-util/gtk-doc: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-4c6f365bd8409d0fdd8cd2650b92804a034b03dd.tar.gz
gentoo-4c6f365bd8409d0fdd8cd2650b92804a034b03dd.tar.bz2
gentoo-4c6f365bd8409d0fdd8cd2650b92804a034b03dd.zip
dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/itstool')
-rw-r--r--dev-util/itstool/itstool-2.0.2.ebuild6
-rw-r--r--dev-util/itstool/itstool-2.0.6-r1.ebuild (renamed from dev-util/itstool/itstool-2.0.6.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 c970a0e502df..2606e551b647 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
index 444c8f20eec7..d277093282fd 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=""