From b6fa31c964a602f8461a77d5b83355e8750c12eb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 16 Jul 2024 12:27:58 +0100 Subject: gentoo auto-resync : 16:07:2024 - 12:27:58 --- eclass/golang-base.eclass | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'eclass/golang-base.eclass') 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 -# @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 -- cgit v1.2.3