summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-07-09 21:24:41 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-07-16 10:13:36 +0100
commit8c5f61cdc06d82e142913b14ec6236ab0b5ca950 (patch)
tree330904d3eb50e92e4a962109685e51177300f7fd /eclass
parentgolang-build.eclass: Drop support for EAPI 6 (diff)
downloadgentoo-8c5f61cdc06d82e142913b14ec6236ab0b5ca950.tar.gz
gentoo-8c5f61cdc06d82e142913b14ec6236ab0b5ca950.tar.bz2
gentoo-8c5f61cdc06d82e142913b14ec6236ab0b5ca950.zip
golang-base.eclass: Drop support for EAPI 5 and 6
All such usage has gone. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/golang-base.eclass13
1 files changed, 5 insertions, 8 deletions
diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index 4bba00200cfc..a2996e3b0683 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: golang-base.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 7
# @BLURB: Eclass that provides base functions for Go packages.
# @DEPRECATED: go-module.eclass
# @DESCRIPTION:
@@ -12,12 +12,9 @@
# programming language; it also provides the build-time dependency on
# dev-lang/go.
-case "${EAPI:-0}" in
- 5|6|7)
- ;;
- *)
- die "${ECLASS}: Unsupported EAPI (EAPI=${EAPI})"
- ;;
+case ${EAPI} in
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ -z ${_GOLANG_BASE} ]]; then