commit:     7a9686b8ed66489324e30ecb25d4310e574ae9d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 26 12:02:57 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 27 07:06:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a9686b8

multilib-build.eclass: Ban multilib_parallel* in EAPI 9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/26

 eclass/multilib-build.eclass | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 375adc46531a..1d80c43fc900 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -1,4 +1,4 @@
-# Copyright 2013-2024 Gentoo Authors
+# Copyright 2013-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: multilib-build.eclass
@@ -234,10 +234,12 @@ multilib_foreach_abi() {
 # is done.
 #
 # This function used to run multiple commands in parallel. Now it's just
-# a deprecated alias to multilib_foreach_abi.
+# a deprecated alias to multilib_foreach_abi. It is removed in EAPI 9.
 multilib_parallel_foreach_abi() {
        debug-print-function ${FUNCNAME} "$@"
 
+       [[ ${EAPI} != [78] ]] && die "${FUNCNAME} is banned since EAPI 9"
+
        local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abi_pairs) )
        multibuild_foreach_variant _multilib_multibuild_wrapper "${@}"
 }

Reply via email to