commit:     f01ad6725a9262473afb14d9ea13a9eb2f6c373f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 02:44:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 02:44:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01ad672

distutils-r1.eclass: fix distutils_enable_tests (${PYTHON_MULTI_USEDEP} usage)

We banned PYTHON_MULTI_USEDEP in EAPI 8, so this internal usage causes
breakage when using distutils_enable_tests in an EAPI 8 ebuild.

Reported-by: Marco Scardovi (scardracs) <marco <AT> scardovi.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/distutils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index a26130f7a19..238ba033c5d 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -421,7 +421,7 @@ distutils_enable_tests() {
                        test_deps+=" ${test_pkg}[${PYTHON_USEDEP}]"
                else
                        test_deps+=" $(python_gen_cond_dep "
-                               ${test_pkg}[\${PYTHON_MULTI_USEDEP}]
+                               ${test_pkg}[\${PYTHON_USEDEP}]
                        ")"
                fi
        fi

Reply via email to