Gentoo Archives: gentoo-dev

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-dev@l.g.o
Cc: "Miroslav Šulc" <fordfrog@g.o>
Subject: [gentoo-dev] [PATCH] eclass/webapps.eclass: added eapi8 support
Date: Sat, 25 Dec 2021 19:13:15
Message-Id: 20211225191248.17933-1-fordfrog@gentoo.org
1 Signed-off-by: Miroslav Šulc <fordfrog@g.o>
2 ---
3 eclass/webapp.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
7 index 5ef7dbce03cf..7bdf28430b48 100644
8 --- a/eclass/webapp.eclass
9 +++ b/eclass/webapp.eclass
10 @@ -4,14 +4,14 @@
11 # @ECLASS: webapp.eclass
12 # @MAINTAINER:
13 # web-apps@g.o
14 -# @SUPPORTED_EAPIS: 5 6 7
15 +# @SUPPORTED_EAPIS: 5 6 7 8
16 # @BLURB: functions for installing applications to run under a web server
17 # @DESCRIPTION:
18 # The webapp eclass contains functions to handle web applications with
19 # webapp-config. Part of the implementation of GLEP #11
20
21 case ${EAPI:-0} in
22 - [567]) ;;
23 + [5678]) ;;
24 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
25 esac
26
27 @@ -24,7 +24,7 @@ _WEBAPP_ECLASS=1
28 # @DESCRIPTION:
29 # An ebuild should use WEBAPP_DEPEND if a custom DEPEND needs to be built, most
30 # notably in combination with WEBAPP_OPTIONAL.
31 -WEBAPP_DEPEND=">=app-admin/webapp-config-1.50.15"
32 +WEBAPP_DEPEND="app-admin/webapp-config"
33
34 # @ECLASS-VARIABLE: WEBAPP_NO_AUTO_INSTALL
35 # @PRE_INHERIT
36 --
37 2.34.1