commit: 4a576adfbce4e0e2b44ec95fb81adc48351d17d0 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Fri Mar 17 22:04:09 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Fri Mar 17 22:04:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a576adf
apache-module.eclass: remove EAPI 5 Signed-off-by: David Seifert <soap <AT> gentoo.org> eclass/apache-module.eclass | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass index 60631171ed91..8074aff5ddcb 100644 --- a/eclass/apache-module.eclass +++ b/eclass/apache-module.eclass @@ -1,18 +1,17 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: apache-module.eclass # @MAINTAINER: # [email protected] -# @SUPPORTED_EAPIS: 5 6 7 +# @SUPPORTED_EAPIS: 6 7 # @BLURB: Provides a common set of functions for apache modules # @DESCRIPTION: # This eclass handles apache modules in a sane way. # # To make use of this eclass simply call one of the need/want_apache functions # described in depend.apache.eclass. Make sure you use the need/want_apache call -# after you have defined DEPEND and RDEPEND. Also note that you can not rely on -# the automatic RDEPEND=DEPEND that portage does if you use this eclass. +# after you have defined DEPEND and RDEPEND. # # See Bug 107127 for more information. # @@ -46,8 +45,8 @@ # @CODE case ${EAPI} in - [5-7]) ;; - *) die "EAPI=${EAPI:-0} is not supported" ;; + 6|7) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac if [[ -z ${_APACHE_MODULE_ECLASS} ]]; then
