From: Michał Górny Date: Fri, 7 Feb 2020 12:54:34 +0000 (+0100) Subject: dev-libs/libarcus: Switch to PYTHON_MULTI_USEDEP API X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=88e8781cc0915cf4fe87a279d1352c28b16429e5;p=gentoo.git dev-libs/libarcus: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny --- diff --git a/dev-libs/libarcus/libarcus-3.4.1.ebuild b/dev-libs/libarcus/libarcus-3.4.1.ebuild index ced7f6897f9f..120cd3820013 100644 --- a/dev-libs/libarcus/libarcus-3.4.1.ebuild +++ b/dev-libs/libarcus/libarcus-3.4.1.ebuild @@ -20,9 +20,11 @@ IUSE="examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] dev-libs/protobuf - python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )" + $(python_gen_cond_dep ' + dev-python/sip[${PYTHON_MULTI_USEDEP}] + python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] ) + ')" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" diff --git a/dev-libs/libarcus/libarcus-3.6.0.ebuild b/dev-libs/libarcus/libarcus-3.6.0.ebuild index ced7f6897f9f..120cd3820013 100644 --- a/dev-libs/libarcus/libarcus-3.6.0.ebuild +++ b/dev-libs/libarcus/libarcus-3.6.0.ebuild @@ -20,9 +20,11 @@ IUSE="examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] dev-libs/protobuf - python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )" + $(python_gen_cond_dep ' + dev-python/sip[${PYTHON_MULTI_USEDEP}] + python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] ) + ')" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" diff --git a/dev-libs/libarcus/libarcus-4.2.0.ebuild b/dev-libs/libarcus/libarcus-4.2.0.ebuild index deb2605d5649..0dbed3da3dd0 100644 --- a/dev-libs/libarcus/libarcus-4.2.0.ebuild +++ b/dev-libs/libarcus/libarcus-4.2.0.ebuild @@ -20,9 +20,11 @@ IUSE="examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] dev-libs/protobuf - python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )" + $(python_gen_cond_dep ' + dev-python/sip[${PYTHON_MULTI_USEDEP}] + python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] ) + ')" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}-${PV}" diff --git a/dev-libs/libarcus/libarcus-4.3.0.ebuild b/dev-libs/libarcus/libarcus-4.3.0-r1.ebuild similarity index 90% rename from dev-libs/libarcus/libarcus-4.3.0.ebuild rename to dev-libs/libarcus/libarcus-4.3.0-r1.ebuild index 0869769e8f5b..f949a913e19b 100644 --- a/dev-libs/libarcus/libarcus-4.3.0.ebuild +++ b/dev-libs/libarcus/libarcus-4.3.0-r1.ebuild @@ -20,9 +20,11 @@ IUSE="examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="${PYTHON_DEPS} - dev-python/sip[${PYTHON_USEDEP}] dev-libs/protobuf - python? ( dev-python/protobuf-python[${PYTHON_USEDEP}] )" + $(python_gen_cond_dep ' + dev-python/sip[${PYTHON_MULTI_USEDEP}] + python? ( dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}] ) + ')" DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_PN}-${PV}"