mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
eclass/golang-vcs: Sync with gentoo
It's from gentoo commit 7f8297d319da8a7fe6680217ad8362b46ac1c95a.
This commit is contained in:
parent
f76f12dba7
commit
0baef1fe4b
@ -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
|
||||
|
||||
# @ECLASS: golang-vcs.eclass
|
||||
# @MAINTAINER:
|
||||
# William Hubbs <williamh@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 5 6 7
|
||||
# @PROVIDES: golang-base
|
||||
# @BLURB: Eclass for fetching and unpacking go repositories.
|
||||
# @DEPRECATED: go-module.eclass
|
||||
# @DESCRIPTION:
|
||||
# This eclass is written to ease the maintenance of live ebuilds
|
||||
# of software written in the Go programming language.
|
||||
|
||||
inherit eutils golang-base
|
||||
inherit estack eutils golang-base
|
||||
|
||||
case "${EAPI:-0}" in
|
||||
5|6|7)
|
||||
@ -26,6 +28,8 @@ if [[ -z ${_GOLANG_VCS} ]]; then
|
||||
|
||||
_GOLANG_VCS=1
|
||||
|
||||
PROPERTIES+=" live"
|
||||
|
||||
# @ECLASS-VARIABLE: EGO_PN
|
||||
# @REQUIRED
|
||||
# @DESCRIPTION:
|
||||
@ -39,6 +43,7 @@ _GOLANG_VCS=1
|
||||
# @CODE
|
||||
|
||||
# @ECLASS-VARIABLE: EGO_STORE_DIR
|
||||
# @USER_VARIABLE
|
||||
# @DESCRIPTION:
|
||||
# Storage directory for Go sources.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user