net-libs/libsearpc: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:26:28 +0000 (18:26 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:08 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-libs/libsearpc/libsearpc-3.0.8-r3.ebuild
net-libs/libsearpc/libsearpc-3.2.0-r1.ebuild [moved from net-libs/libsearpc/libsearpc-3.2.0.ebuild with 91% similarity]

index 23605ce88036840f8c00836dcade5dcedb879252..fa39547c3c5fd9bb1adbeef31e3a55c182557f0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,9 @@ DEPEND="${PYTHON_DEPS}
        >=dev-libs/glib-2.26.0
        >=dev-libs/jansson-2.2.1"
 RDEPEND="${DEPEND}
-       dev-python/simplejson[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/simplejson[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 src_prepare() {
        default
similarity index 91%
rename from net-libs/libsearpc/libsearpc-3.2.0.ebuild
rename to net-libs/libsearpc/libsearpc-3.2.0-r1.ebuild
index 3402888bd457840852fd85409f2fe6f25f59650a..5ae50cbad5a97c680ed99d177e25cfd2a82e19cd 100644 (file)
@@ -23,7 +23,9 @@ DEPEND="${PYTHON_DEPS}
        >=dev-libs/glib-2.26.0
        >=dev-libs/jansson-2.2.1"
 RDEPEND="${DEPEND}
-       dev-python/simplejson[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               dev-python/simplejson[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 src_prepare() {
        default