app-portage/unsymlink-lib: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 11:32:05 +0000 (12:32 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:16 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-portage/unsymlink-lib/unsymlink-lib-17-r1.ebuild [moved from app-portage/unsymlink-lib/unsymlink-lib-17.ebuild with 88% similarity]
app-portage/unsymlink-lib/unsymlink-lib-9999.ebuild

similarity index 88%
rename from app-portage/unsymlink-lib/unsymlink-lib-17.ebuild
rename to app-portage/unsymlink-lib/unsymlink-lib-17-r1.ebuild
index f8585615353bb8ed661561f9419414ff2cd18b35..fd0b8bdca31ede3663d72ed8926d52458b858a7b 100644 (file)
@@ -17,7 +17,9 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       sys-apps/portage[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               sys-apps/portage[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 src_test() {
        # tests are docker-based
index fbbc79d8b0ff2e8ecf7cb991590ab1a54ff42b45..9820f661ba522cd6af13b3643a836e9290e302e9 100644 (file)
@@ -18,7 +18,9 @@ IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       sys-apps/portage[${PYTHON_USEDEP}]"
+       $(python_gen_cond_dep '
+               sys-apps/portage[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 src_install() {
        python_doscript unsymlink-lib