1 |
commit: ffddb1cfcfaed1cdc1c39608b59f46fb7c366679 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 22:04:29 2023 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 22:04:29 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffddb1cf |
7 |
|
8 |
webapp.eclass: remove EAPI 5 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
eclass/webapp.eclass | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass |
16 |
index 3bc177dc3e78..9fb646613426 100644 |
17 |
--- a/eclass/webapp.eclass |
18 |
+++ b/eclass/webapp.eclass |
19 |
@@ -1,22 +1,20 @@ |
20 |
-# Copyright 1999-2022 Gentoo Authors |
21 |
+# Copyright 1999-2023 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
# @ECLASS: webapp.eclass |
25 |
# @MAINTAINER: |
26 |
# web-apps@g.o |
27 |
-# @SUPPORTED_EAPIS: 5 6 7 8 |
28 |
+# @SUPPORTED_EAPIS: 6 7 8 |
29 |
# @BLURB: functions for installing applications to run under a web server |
30 |
# @DESCRIPTION: |
31 |
# The webapp eclass contains functions to handle web applications with |
32 |
# webapp-config. Part of the implementation of GLEP #11 |
33 |
|
34 |
-case ${EAPI:-0} in |
35 |
- [5678]) ;; |
36 |
+case ${EAPI} in |
37 |
+ 6|7|8) ;; |
38 |
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
39 |
esac |
40 |
|
41 |
-EXPORT_FUNCTIONS pkg_postinst pkg_setup src_install pkg_prerm |
42 |
- |
43 |
if [[ -z ${_WEBAPP_ECLASS} ]]; then |
44 |
_WEBAPP_ECLASS=1 |
45 |
|
46 |
@@ -588,3 +586,5 @@ webapp_pkg_prerm() { |
47 |
} |
48 |
|
49 |
fi |
50 |
+ |
51 |
+EXPORT_FUNCTIONS pkg_postinst pkg_setup src_install pkg_prerm |