1 |
commit: 4a576adfbce4e0e2b44ec95fb81adc48351d17d0 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 22:04:09 2023 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 22:04:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a576adf |
7 |
|
8 |
apache-module.eclass: remove EAPI 5 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
eclass/apache-module.eclass | 11 +++++------ |
13 |
1 file changed, 5 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass |
16 |
index 60631171ed91..8074aff5ddcb 100644 |
17 |
--- a/eclass/apache-module.eclass |
18 |
+++ b/eclass/apache-module.eclass |
19 |
@@ -1,18 +1,17 @@ |
20 |
-# Copyright 1999-2021 Gentoo Authors |
21 |
+# Copyright 1999-2023 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: apache-module.eclass |
25 |
# @MAINTAINER: |
26 |
# apache-bugs@g.o |
27 |
-# @SUPPORTED_EAPIS: 5 6 7 |
28 |
+# @SUPPORTED_EAPIS: 6 7 |
29 |
# @BLURB: Provides a common set of functions for apache modules |
30 |
# @DESCRIPTION: |
31 |
# This eclass handles apache modules in a sane way. |
32 |
# |
33 |
# To make use of this eclass simply call one of the need/want_apache functions |
34 |
# described in depend.apache.eclass. Make sure you use the need/want_apache call |
35 |
-# after you have defined DEPEND and RDEPEND. Also note that you can not rely on |
36 |
-# the automatic RDEPEND=DEPEND that portage does if you use this eclass. |
37 |
+# after you have defined DEPEND and RDEPEND. |
38 |
# |
39 |
# See Bug 107127 for more information. |
40 |
# |
41 |
@@ -46,8 +45,8 @@ |
42 |
# @CODE |
43 |
|
44 |
case ${EAPI} in |
45 |
- [5-7]) ;; |
46 |
- *) die "EAPI=${EAPI:-0} is not supported" ;; |
47 |
+ 6|7) ;; |
48 |
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
49 |
esac |
50 |
|
51 |
if [[ -z ${_APACHE_MODULE_ECLASS} ]]; then |