* [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses
@ 2019-02-04 18:27 William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 1/4] golang-base.eclass: add eapi 7 support William Hubbs
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-04 18:27 UTC (permalink / raw
To: gentoo-dev; +Cc: William Hubbs
*** BLURB HERE ***
This patch series will add support for eapi7 to the go eclasses.
Also, in the first patch, we ban stripping of go ebuilds since this is
specifically recommended against by upstream.
Thoughts?
William Hubbs (4):
golang-base.eclass: add eapi 7 support
golang-build.eclass: add eapi 7 support
golang-vcs-snapshot.eclass: add eapi 7 support
golang-vcs.eclass: add eapi 7 support
eclass/golang-base.eclass | 14 ++++++++++----
eclass/golang-build.eclass | 4 ++--
eclass/golang-vcs-snapshot.eclass | 4 ++--
eclass/golang-vcs.eclass | 4 ++--
4 files changed, 16 insertions(+), 10 deletions(-)
--
2.19.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] [PATCH 1/4] golang-base.eclass: add eapi 7 support
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
@ 2019-02-04 18:27 ` William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 2/4] golang-build.eclass: " William Hubbs
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-04 18:27 UTC (permalink / raw
To: gentoo-dev; +Cc: William Hubbs
---
eclass/golang-base.eclass | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass
index c8308d28665..cd36a269bf1 100644
--- a/eclass/golang-base.eclass
+++ b/eclass/golang-base.eclass
@@ -4,7 +4,7 @@
# @ECLASS: golang-base.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: Eclass that provides base functions for Go packages.
# @DESCRIPTION:
# This eclass provides base functions for software written in the Go
@@ -12,7 +12,7 @@
# dev-lang/go.
case "${EAPI:-0}" in
- 5|6)
+ 5|6|7)
;;
*)
die "${ECLASS}: Unsupported eapi (EAPI=${EAPI})"
@@ -23,12 +23,18 @@ if [[ -z ${_GOLANG_BASE} ]]; then
_GOLANG_BASE=1
-DEPEND=">=dev-lang/go-1.9"
+GO_DEPEND=">=dev-lang/go-1.10"
+if [[ ${EAPI:-0} == [56] ]]; then
+ DEPEND="${GO_DEPEND}"
+else
+ BDEPEND="${GO_DEPEND}"
+fi
# Do not complain about CFLAGS etc since go projects do not use them.
QA_FLAGS_IGNORED='.*'
-STRIP_MASK="*.a"
+# Upstream does not support stripping go packages
+RESTRICT="strip"
# @ECLASS-VARIABLE: EGO_PN
# @REQUIRED
--
2.19.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-dev] [PATCH 2/4] golang-build.eclass: add eapi 7 support
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 1/4] golang-base.eclass: add eapi 7 support William Hubbs
@ 2019-02-04 18:27 ` William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 3/4] golang-vcs-snapshot.eclass: " William Hubbs
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-04 18:27 UTC (permalink / raw
To: gentoo-dev; +Cc: William Hubbs
---
eclass/golang-build.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass
index bb662ad45ba..c76a1865a48 100644
--- a/eclass/golang-build.eclass
+++ b/eclass/golang-build.eclass
@@ -4,7 +4,7 @@
# @ECLASS: golang-build.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: Eclass for compiling go packages.
# @DESCRIPTION:
# This eclass provides default src_compile, src_test and src_install
@@ -13,7 +13,7 @@
inherit golang-base
case "${EAPI:-0}" in
- 5|6)
+ 5|6|7)
;;
*)
die "${ECLASS}: Unsupported eapi (EAPI=${EAPI})"
--
2.19.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-dev] [PATCH 3/4] golang-vcs-snapshot.eclass: add eapi 7 support
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 1/4] golang-base.eclass: add eapi 7 support William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 2/4] golang-build.eclass: " William Hubbs
@ 2019-02-04 18:27 ` William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 4/4] golang-vcs.eclass: " William Hubbs
2019-02-07 19:27 ` [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
4 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-04 18:27 UTC (permalink / raw
To: gentoo-dev; +Cc: William Hubbs
---
eclass/golang-vcs-snapshot.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/golang-vcs-snapshot.eclass b/eclass/golang-vcs-snapshot.eclass
index 975b23df45f..3a35d7e1aa5 100644
--- a/eclass/golang-vcs-snapshot.eclass
+++ b/eclass/golang-vcs-snapshot.eclass
@@ -4,7 +4,7 @@
# @ECLASS: golang-vcs-snapshot.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: support eclass for unpacking VCS snapshot tarballs for
# software written in the Go programming language
# @DESCRIPTION:
@@ -46,7 +46,7 @@
inherit golang-base
case ${EAPI:-0} in
- 5|6) ;;
+ 5|6|7) ;;
*) die "${ECLASS} API in EAPI ${EAPI} not yet established."
esac
--
2.19.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-dev] [PATCH 4/4] golang-vcs.eclass: add eapi 7 support
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
` (2 preceding siblings ...)
2019-02-04 18:27 ` [gentoo-dev] [PATCH 3/4] golang-vcs-snapshot.eclass: " William Hubbs
@ 2019-02-04 18:27 ` William Hubbs
2019-02-07 19:27 ` [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
4 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-04 18:27 UTC (permalink / raw
To: gentoo-dev; +Cc: William Hubbs
---
eclass/golang-vcs.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass
index 09f80b15d67..561d1a0c4da 100644
--- a/eclass/golang-vcs.eclass
+++ b/eclass/golang-vcs.eclass
@@ -4,7 +4,7 @@
# @ECLASS: golang-vcs.eclass
# @MAINTAINER:
# William Hubbs <williamh@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6
+# @SUPPORTED_EAPIS: 5 6 7
# @BLURB: Eclass for fetching and unpacking go repositories.
# @DESCRIPTION:
# This eclass is written to ease the maintenance of live ebuilds
@@ -13,7 +13,7 @@
inherit eutils golang-base
case "${EAPI:-0}" in
- 5|6)
+ 5|6|7)
;;
*)
die "${ECLASS}: Unsupported eapi (EAPI=${EAPI})"
--
2.19.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
` (3 preceding siblings ...)
2019-02-04 18:27 ` [gentoo-dev] [PATCH 4/4] golang-vcs.eclass: " William Hubbs
@ 2019-02-07 19:27 ` William Hubbs
4 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2019-02-07 19:27 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 47 bytes --]
All,
these are now merged.
Thanks,
William
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-02-07 19:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 18:27 [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 1/4] golang-base.eclass: add eapi 7 support William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 2/4] golang-build.eclass: " William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 3/4] golang-vcs-snapshot.eclass: " William Hubbs
2019-02-04 18:27 ` [gentoo-dev] [PATCH 4/4] golang-vcs.eclass: " William Hubbs
2019-02-07 19:27 ` [gentoo-dev] [PATCH 0/4] Add eapi 7 support to the go eclasses William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox