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 14/22] mono-env.eclass: remove EAPI 5
Date: Tue, 14 Mar 2023 20:02:50
Message-Id: 20230314195826.35239-14-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/mono-env.eclass | 12 ++++++------
4 1 file changed, 6 insertions(+), 6 deletions(-)
5
6 diff --git a/eclass/mono-env.eclass b/eclass/mono-env.eclass
7 index 8cec214e615f..48712587ff3e 100644
8 --- a/eclass/mono-env.eclass
9 +++ b/eclass/mono-env.eclass
10 @@ -1,21 +1,19 @@
11 -# Copyright 1999-2021 Gentoo Authors
12 +# Copyright 1999-2023 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 # @ECLASS: mono-env.eclass
16 # @MAINTAINER:
17 # maintainer-needed@g.o
18 -# @SUPPORTED_EAPIS: 5 6 7
19 +# @SUPPORTED_EAPIS: 6 7
20 # @BLURB: Set environment variables commonly used by dotnet packages.
21 # @DESCRIPTION:
22 # Set environment variables commonly used by dotnet packages.
23
24 -case ${EAPI:-0} in
25 - [567]) ;;
26 +case ${EAPI} in
27 + 6|7) ;;
28 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
29 esac
30
31 -EXPORT_FUNCTIONS pkg_setup
32 -
33 if [[ -z ${_MONO_ENV_ECLASS} ]] ; then
34 _MONO_ENV_ECLASS=1
35
36 @@ -48,3 +46,5 @@ mono-env_pkg_setup() {
37 }
38
39 fi
40 +
41 +EXPORT_FUNCTIONS pkg_setup
42 --
43 2.40.0