[PATCH v2 4/6] shell-completion.eclass: support EAPI 7

Florian Schmaus <[email protected]> Thu, 25 Jun 2026 12:04:19 +0200
Newsgroups gmane.linux.gentoo.devel
Message-ID <[email protected]>
The shell-completion.eclass will soon be inherited by
bash-completion-r1.eclass, which supports EAPI 7. In preperation for
this, mark shell-completion.eclass to also support EAPI 7.

Signed-off-by: Florian Schmaus <[email protected]>
---
 eclass/shell-completion.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/shell-completion.eclass b/eclass/shell-completion.eclass
index 5390f317cad3..acbc850ced2a 100644
--- a/eclass/shell-completion.eclass
+++ b/eclass/shell-completion.eclass
@@ -8,7 +8,7 @@
 # [email protected]
 # @AUTHOR:
 # Alfred Wingate <[email protected]>
-# @SUPPORTED_EAPIS: 8 9
+# @SUPPORTED_EAPIS: 7 8 9
 # @BLURB: a few quick functions to install various shell completion files
 # @DESCRIPTION:
 # This eclass provides a standardised way to install shell completions
@@ -16,7 +16,7 @@
 # 'bash-completion-r1', thus extending on its functionality.
 
 case ${EAPI} in
-	8|9) ;;
+	7|8|9) ;;
 	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported"
 esac
 
-- 
2.53.0