eclass/go-module: Sync with Gentoo

It's from Gentoo commit 9f60bd05b57239f586594eebe7c8e1770a1c13ca.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-02 07:26:14 +00:00 committed by Krzesimir Nowak
parent 30dfb06d5c
commit 3407acf4db

View File

@ -1,4 +1,4 @@
# Copyright 2019-2025 Gentoo Authors
# Copyright 2019-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: go-module.eclass
@ -389,6 +389,7 @@ go-module_src_unpack() {
}
# @FUNCTION: _go-module_src_unpack_gosum
# @INTERNAL
# @DEPRECATED: none
# @DESCRIPTION:
# Populate a GOPROXY directory hierarchy with distfiles from EGO_SUM and
@ -435,6 +436,7 @@ _go-module_src_unpack_gosum() {
}
# @FUNCTION: _go-module_gosum_synthesize_files
# @INTERNAL
# @DEPRECATED: none
# @DESCRIPTION:
# Given a path & version, populate all Goproxy metadata files which aren't
@ -463,6 +465,7 @@ _go-module_gosum_synthesize_files() {
}
# @FUNCTION: _go-module_src_unpack_verify_gosum
# @INTERNAL
# @DEPRECATED: none
# @DESCRIPTION:
# Validate the Go modules declared by EGO_SUM are sufficient to cover building