summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-03-17 23:04:09 +0100
committerDavid Seifert <soap@gentoo.org>2023-03-17 23:04:09 +0100
commit4a576adfbce4e0e2b44ec95fb81adc48351d17d0 (patch)
treed2970c0402205c34bf47d0d0b7bb0b17c27e7f96 /eclass
parentdev-tcltk/snack: remove some test (diff)
downloadgentoo-4a576adfbce4e0e2b44ec95fb81adc48351d17d0.tar.gz
gentoo-4a576adfbce4e0e2b44ec95fb81adc48351d17d0.tar.bz2
gentoo-4a576adfbce4e0e2b44ec95fb81adc48351d17d0.zip
apache-module.eclass: remove EAPI 5
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/apache-module.eclass11
1 files 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:
# apache-bugs@gentoo.org
-# @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