dev-libs/libarcus: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:54:34 +0000 (13:54 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:50 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/libarcus/libarcus-3.4.1.ebuild
dev-libs/libarcus/libarcus-3.6.0.ebuild
dev-libs/libarcus/libarcus-4.2.0.ebuild
dev-libs/libarcus/libarcus-4.3.0-r1.ebuild [moved from dev-libs/libarcus/libarcus-4.3.0.ebuild with 90% similarity]

index ced7f6897f9fe3044113bd79b2084ba269f2ccd5..120cd3820013ffa10f3b26d144dd842eb8af3e14 100644 (file)
@@ -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}"
index ced7f6897f9fe3044113bd79b2084ba269f2ccd5..120cd3820013ffa10f3b26d144dd842eb8af3e14 100644 (file)
@@ -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}"
index deb2605d56493bf84e1356e2d8d1fe414825bc85..0dbed3da3dd012aadf66b266cf28e867403cbc40 100644 (file)
@@ -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}"
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 0869769e8f5b59b8b668c04c1451fb7ea75ba286..f949a913e19b72ca2593e982489ca4182d53482c 100644 (file)
@@ -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}"