summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-03-17 23:04:22 +0100
committerDavid Seifert <soap@gentoo.org>2023-03-17 23:04:22 +0100
commit8a3782815536a1beef06f4942d0ca8c2d9b36952 (patch)
treebec557e324f188502dd2f73398013abcc51448f9 /eclass/mono-env.eclass
parentlinux-info.eclass: remove EAPI 0-5 (diff)
downloadgentoo-8a3782815536a1beef06f4942d0ca8c2d9b36952.tar.gz
gentoo-8a3782815536a1beef06f4942d0ca8c2d9b36952.tar.bz2
gentoo-8a3782815536a1beef06f4942d0ca8c2d9b36952.zip
mono-env.eclass: remove EAPI 5
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/mono-env.eclass')
-rw-r--r--eclass/mono-env.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/mono-env.eclass b/eclass/mono-env.eclass
index 8cec214e615f..48712587ff3e 100644
--- a/eclass/mono-env.eclass
+++ b/eclass/mono-env.eclass
@@ -1,21 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mono-env.eclass
# @MAINTAINER:
# maintainer-needed@gentoo.org
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 6 7
# @BLURB: Set environment variables commonly used by dotnet packages.
# @DESCRIPTION:
# Set environment variables commonly used by dotnet packages.
-case ${EAPI:-0} in
- [567]) ;;
+case ${EAPI} in
+ 6|7) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-EXPORT_FUNCTIONS pkg_setup
-
if [[ -z ${_MONO_ENV_ECLASS} ]] ; then
_MONO_ENV_ECLASS=1
@@ -48,3 +46,5 @@ mono-env_pkg_setup() {
}
fi
+
+EXPORT_FUNCTIONS pkg_setup