From 4b2ae2a72a1e1aaf4afebcffb1cc4a84cf0d7739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Wed, 17 Dec 2025 16:30:12 +0100 Subject: [PATCH] shell-completion.eclass: Support EAPI 9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Arthur Zamarin Signed-off-by: Ulrich Müller --- eclass/shell-completion.eclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eclass/shell-completion.eclass b/eclass/shell-completion.eclass index caccdee7b19bb..c679ae4db9831 100644 --- a/eclass/shell-completion.eclass +++ b/eclass/shell-completion.eclass @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: shell-completion.eclass @@ -7,7 +7,7 @@ # Florian Schmaus # @AUTHOR: # Alfred Wingate -# @SUPPORTED_EAPIS: 8 +# @SUPPORTED_EAPIS: 8 9 # @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. -case ${EAPI} in - 8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" -esac - if [[ -z ${_SHELL_COMPLETION_ECLASS} ]]; then _SHELL_COMPLETION_ECLASS=1 +case ${EAPI} in + 8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" +esac + # Extend bash-completion-r1 inherit bash-completion-r1