dev-util/rr: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 13:16:16 +0000 (14:16 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:21:47 +0000 (17:21 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-util/rr/rr-5.2.0-r1.ebuild
dev-util/rr/rr-5.3.0-r1.ebuild [moved from dev-util/rr/rr-5.3.0.ebuild with 94% similarity]

index b98223d5136db8676a696b3c90231ea3ca003291..b60628ad4eec8bc48a662489d4a648bcea7ca6a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -27,7 +27,9 @@ RDEPEND="${DEPEND}
 # Add all the deps needed only at build/test time.
 DEPEND+="
        test? (
-               dev-python/pexpect[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pexpect[${PYTHON_MULTI_USEDEP}]
+               ')
                sys-devel/gdb[xml]
        )"
 
similarity index 94%
rename from dev-util/rr/rr-5.3.0.ebuild
rename to dev-util/rr/rr-5.3.0-r1.ebuild
index 10707860b4aea72257391f3f9bb29cbe0de152b0..792f4f9768e2d02e08e789d0e6b331400fac8906 100644 (file)
@@ -27,7 +27,9 @@ RDEPEND="${DEPEND}
 # Add all the deps needed only at build/test time.
 DEPEND+="
        test? (
-               dev-python/pexpect[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pexpect[${PYTHON_MULTI_USEDEP}]
+               ')
                sys-devel/gdb[xml]
        )"