commit:     f72fb342332adc447a87b8ac6e4796c0fa42d726
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 09:30:47 2026 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 09:30:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f72fb342

Revert "shell-completion.eclass: Support EAPI 9"

This reverts commit 4b2ae2a72a1e1aaf4afebcffb1cc4a84cf0d7739.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/shell-completion.eclass | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/eclass/shell-completion.eclass b/eclass/shell-completion.eclass
index c679ae4db983..caccdee7b19b 100644
--- a/eclass/shell-completion.eclass
+++ b/eclass/shell-completion.eclass
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: shell-completion.eclass
@@ -7,7 +7,7 @@
 # Florian Schmaus <[email protected]>
 # @AUTHOR:
 # Alfred Wingate <[email protected]>
-# @SUPPORTED_EAPIS: 8 9
+# @SUPPORTED_EAPIS: 8
 # @PROVIDES: bash-completion-r1
 # @BLURB: a few quick functions to install various shell completion files
 # @DESCRIPTION:
@@ -15,14 +15,14 @@
 # for popular shells.  It inherits the already widely adopted
 # 'bash-completion-r1', thus extending on its functionality.
 
-if [[ -z ${_SHELL_COMPLETION_ECLASS} ]]; then
-_SHELL_COMPLETION_ECLASS=1
-
 case ${EAPI} in
-       8|9) ;;
+       8) ;;
        *) die "${ECLASS}: EAPI ${EAPI:-0} not supported"
 esac
 
+if [[ -z ${_SHELL_COMPLETION_ECLASS} ]]; then
+_SHELL_COMPLETION_ECLASS=1
+
 # Extend bash-completion-r1
 inherit bash-completion-r1
 

Reply via email to