commit:     9ca8a420807b068c743c090105bc83a725be7d9d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 16:22:26 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 16:33:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca8a420

eclass: deprecate the old go eclasses

The golang-* eclasses should not be used for new go packages.
Modern go packages use go modules and the go-module eclass handles this
setup.

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 eclass/golang-base.eclass         | 1 +
 eclass/golang-build.eclass        | 1 +
 eclass/golang-vcs-snapshot.eclass | 1 +
 eclass/golang-vcs.eclass          | 1 +
 4 files changed, 4 insertions(+)

diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index 8e859d0fdf63..aca0e291cae8 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -5,6 +5,7 @@
 # @MAINTAINER:
 # William Hubbs <[email protected]>
 # @SUPPORTED_EAPIS: 5 6 7
+# @DEPRECATED: Go packages should use the go-module eclass
 # @BLURB: Eclass that provides base functions for Go packages.
 # @DESCRIPTION:
 # This eclass provides base functions for software written in the Go

diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass
index 308503e84950..a353d19056e4 100644
--- a/eclass/golang-build.eclass
+++ b/eclass/golang-build.eclass
@@ -7,6 +7,7 @@
 # @SUPPORTED_EAPIS: 5 6 7
 # @PROVIDES: golang-base
 # @BLURB: Eclass for compiling go packages.
+# @DEPRECATED: Go packages should use the go-module eclass
 # @DESCRIPTION:
 # This eclass provides default  src_compile, src_test and src_install
 # functions for software written in the Go programming language.

diff --git a/eclass/golang-vcs-snapshot.eclass 
b/eclass/golang-vcs-snapshot.eclass
index 66503e38b59d..5081f1b1d986 100644
--- a/eclass/golang-vcs-snapshot.eclass
+++ b/eclass/golang-vcs-snapshot.eclass
@@ -7,6 +7,7 @@
 # @SUPPORTED_EAPIS: 5 6 7
 # @PROVIDES: golang-base
 # @BLURB: eclass to unpack VCS snapshot tarballs for Go software
+# @DEPRECATED: Go packages should use the go-module eclass
 # @DESCRIPTION:
 # This eclass provides a convenience src_unpack() which unpacks the
 # first tarball mentioned in SRC_URI to its appropriate location in

diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass
index 27b2e5fa9c9b..e30888297f8c 100644
--- a/eclass/golang-vcs.eclass
+++ b/eclass/golang-vcs.eclass
@@ -7,6 +7,7 @@
 # @SUPPORTED_EAPIS: 5 6 7
 # @PROVIDES: golang-base
 # @BLURB: Eclass for fetching and unpacking go repositories.
+# @DEPRECATED: Go packages should use the go-module eclass
 # @DESCRIPTION:
 # This eclass is written to ease the maintenance of live ebuilds
 # of software written in the Go programming language.

Reply via email to