From 4c6f365bd8409d0fdd8cd2650b92804a034b03dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 14:12:17 +0100 Subject: [PATCH] dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-util/itstool/itstool-2.0.2.ebuild | 6 ++++-- .../{itstool-2.0.6.ebuild => itstool-2.0.6-r1.ebuild} | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) rename dev-util/itstool/{itstool-2.0.6.ebuild => itstool-2.0.6-r1.ebuild} (91%) 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 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 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="" -- 2.26.2