From 87a3f1cad3597aeffd015f7114315b22cc452172 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 2 Aug 2024 16:04:31 +0200 Subject: [PATCH] eclass/golang-vcs-snapshot: Sync with Gentoo It's from Gentoo commit c481cf29fcea1af132e07064b91237353298d49b. --- .../portage-stable/eclass/golang-vcs-snapshot.eclass | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/golang-vcs-snapshot.eclass b/sdk_container/src/third_party/portage-stable/eclass/golang-vcs-snapshot.eclass index 637042f1b2..a91ddbbe36 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/golang-vcs-snapshot.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/golang-vcs-snapshot.eclass @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: golang-vcs-snapshot.eclass # @MAINTAINER: # William Hubbs -# @SUPPORTED_EAPIS: 6 7 +# @SUPPORTED_EAPIS: 7 # @PROVIDES: golang-base # @BLURB: eclass to unpack VCS snapshot tarballs for Go software # @DEPRECATED: go-module.eclass @@ -45,14 +45,13 @@ # and add the vendored tarballs to ${WORKDIR}/src/${EGO_PN}/vendor case ${EAPI} in - 6|7) ;; + 7) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac if [[ -z ${_GOLANG_VCS_SNAPSHOT_ECLASS} ]]; then _GOLANG_VCS_SNAPSHOT_ECLASS=1 -# Flatcar: Keep this change until upstream has merged https://github.com/gentoo/gentoo/pull/33539 inherit golang-base go-env # @ECLASS_VARIABLE: EGO_VENDOR @@ -120,7 +119,6 @@ golang-vcs-snapshot_src_unpack() { done fi - # Flatcar: Keep this change until upstream has merged https://github.com/gentoo/gentoo/pull/33539 go-env_set_compile_environment }