summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-07-06 16:42:23 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-07-06 16:42:23 -0500
commit9961be28474df27f457781e1a18ccdf517913cfd (patch)
tree838e37e1a77f030bad25e551464ac7d34e379a7b /eclass/go-module.eclass
parentdev-perl/Module-Build-XSUtil: keyworded 0.190.0 for hppa, bug #800545 (diff)
downloadgentoo-9961be28474df27f457781e1a18ccdf517913cfd.tar.gz
gentoo-9961be28474df27f457781e1a18ccdf517913cfd.tar.bz2
gentoo-9961be28474df27f457781e1a18ccdf517913cfd.zip
go-module.eclass: add eapi 8 support
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r--eclass/go-module.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index c11895944cdc..053861a1a180 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -7,7 +7,7 @@
# @AUTHOR:
# William Hubbs <williamh@gentoo.org>
# Robin H. Johnson <robbat2@gentoo.org>
-# @SUPPORTED_EAPIS: 7
+# @SUPPORTED_EAPIS: 7 8
# @BLURB: basic eclass for building software written as go modules
# @DESCRIPTION:
# This eclass provides basic settings and functions needed by all software
@@ -46,9 +46,9 @@
#
# @CODE
-case ${EAPI:-0} in
- 7) ;;
- *) die "${ECLASS} EAPI ${EAPI} is not supported."
+case ${EAPI} in
+ 7|8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ -z ${_GO_MODULE} ]]; then