eclass/golang-vcs: Sync with gentoo

It's from gentoo commit 7f8297d319da8a7fe6680217ad8362b46ac1c95a.
This commit is contained in:
Krzesimir Nowak 2022-02-17 14:02:22 +01:00
parent f76f12dba7
commit 0baef1fe4b

View File

@ -1,16 +1,18 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: golang-vcs.eclass # @ECLASS: golang-vcs.eclass
# @MAINTAINER: # @MAINTAINER:
# William Hubbs <williamh@gentoo.org> # William Hubbs <williamh@gentoo.org>
# @SUPPORTED_EAPIS: 5 6 7 # @SUPPORTED_EAPIS: 5 6 7
# @PROVIDES: golang-base
# @BLURB: Eclass for fetching and unpacking go repositories. # @BLURB: Eclass for fetching and unpacking go repositories.
# @DEPRECATED: go-module.eclass
# @DESCRIPTION: # @DESCRIPTION:
# This eclass is written to ease the maintenance of live ebuilds # This eclass is written to ease the maintenance of live ebuilds
# of software written in the Go programming language. # of software written in the Go programming language.
inherit eutils golang-base inherit estack eutils golang-base
case "${EAPI:-0}" in case "${EAPI:-0}" in
5|6|7) 5|6|7)
@ -26,6 +28,8 @@ if [[ -z ${_GOLANG_VCS} ]]; then
_GOLANG_VCS=1 _GOLANG_VCS=1
PROPERTIES+=" live"
# @ECLASS-VARIABLE: EGO_PN # @ECLASS-VARIABLE: EGO_PN
# @REQUIRED # @REQUIRED
# @DESCRIPTION: # @DESCRIPTION:
@ -39,6 +43,7 @@ _GOLANG_VCS=1
# @CODE # @CODE
# @ECLASS-VARIABLE: EGO_STORE_DIR # @ECLASS-VARIABLE: EGO_STORE_DIR
# @USER_VARIABLE
# @DESCRIPTION: # @DESCRIPTION:
# Storage directory for Go sources. # Storage directory for Go sources.
# #