Gentoo Archives: gentoo-dev

From: David Seifert <soap@g.o>
To: gentoo-dev@l.g.o
Cc: David Seifert <soap@g.o>
Subject: [gentoo-dev] [PATCH 20/22] webapp.eclass: remove EAPI 5
Date: Tue, 14 Mar 2023 20:04:38
Message-Id: 20230314195826.35239-20-soap@gentoo.org
In Reply to: [gentoo-dev] [PATCH 01/22] apache-module.eclass: remove EAPI 5 by David Seifert
1 Signed-off-by: David Seifert <soap@g.o>
2 ---
3 eclass/webapp.eclass | 12 ++++++------
4 1 file changed, 6 insertions(+), 6 deletions(-)
5
6 diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
7 index 3bc177dc3e78..9fb646613426 100644
8 --- a/eclass/webapp.eclass
9 +++ b/eclass/webapp.eclass
10 @@ -1,22 +1,20 @@
11 -# Copyright 1999-2022 Gentoo Authors
12 +# Copyright 1999-2023 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: webapp.eclass
16 # @MAINTAINER:
17 # web-apps@g.o
18 -# @SUPPORTED_EAPIS: 5 6 7 8
19 +# @SUPPORTED_EAPIS: 6 7 8
20 # @BLURB: functions for installing applications to run under a web server
21 # @DESCRIPTION:
22 # The webapp eclass contains functions to handle web applications with
23 # webapp-config. Part of the implementation of GLEP #11
24
25 -case ${EAPI:-0} in
26 - [5678]) ;;
27 +case ${EAPI} in
28 + 6|7|8) ;;
29 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
30 esac
31
32 -EXPORT_FUNCTIONS pkg_postinst pkg_setup src_install pkg_prerm
33 -
34 if [[ -z ${_WEBAPP_ECLASS} ]]; then
35 _WEBAPP_ECLASS=1
36
37 @@ -588,3 +586,5 @@ webapp_pkg_prerm() {
38 }
39
40 fi
41 +
42 +EXPORT_FUNCTIONS pkg_postinst pkg_setup src_install pkg_prerm
43 --
44 2.40.0