From: Michał Górny Date: Fri, 7 Feb 2020 13:12:17 +0000 (+0100) Subject: dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4c6f365bd8409d0fdd8cd2650b92804a034b03dd;p=gentoo.git dev-util/itstool: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- 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=""