[gentoo-dev] [PATCH 8/8] dev-lang/go: Use go-env.eclass in 1.22.5 and 9999

2024-07-09 Thread James Le Cuirot
This deduplicates some helper functions. Signed-off-by: James Le Cuirot --- dev-lang/go/go-1.22.5.ebuild | 65 +--- dev-lang/go/go-.ebuild | 65 +--- 2 files changed, 18 insertions(+), 112 deletions(-) diff --git a/dev-lang/g

[gentoo-dev] [PATCH 7/8] go-env.eclass: Add the go-env_goos() helper function

2024-07-09 Thread James Le Cuirot
This code is taken from dev-lang/go. No other packages have code like this, but some erroneously call `go env GOOS`, which is bad for cross-compiling. They should use this function instead. Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 18 ++ 1 file changed, 18 insert

[gentoo-dev] [PATCH 6/8] go-env.eclass: Rewrite the go-env_goarch() logic

2024-07-09 Thread James Le Cuirot
The previous logic was flawed, incomplete, and needlessly made use of USE flags. We can rely on the tuple instead. Tested against all the tuples we have in our profiles. Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 32 +--- 1 file changed, 17 insertions(+

[gentoo-dev] [PATCH 5/8] go-env.eclass: Establish EAPI 7 and 8 as supported

2024-07-09 Thread James Le Cuirot
Signed-off-by: James Le Cuirot --- eclass/go-env.eclass | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/eclass/go-env.eclass b/eclass/go-env.eclass index 1a2c9787a146b..c34c634bb6003 100644 --- a/eclass/go-env.eclass +++ b/eclass/go-env.eclass @@ -6,11 +6,17 @@

[gentoo-dev] [PATCH 4/8] golang-base.eclass: Drop support for EAPI 5 and 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-base.eclass | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index 4bba00200cfc9..a2996e3b06836 100644 --- a/eclass/golang-base.eclass

[gentoo-dev] [PATCH 3/8] golang-build.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-build.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-build.eclass b/eclass/golang-build.eclass index 235313bd70f5d..b5218ce36572f 100644 --- a/eclass/golang-build.eclass +++

[gentoo-dev] [PATCH 2/8] golang-vcs-snapshot.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-vcs-snapshot.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-vcs-snapshot.eclass b/eclass/golang-vcs-snapshot.eclass index d34b8a6e913da..a91ddbbe36150 100644 --- a/eclass/go

[gentoo-dev] [PATCH 1/8] golang-vcs.eclass: Drop support for EAPI 6

2024-07-09 Thread James Le Cuirot
All such usage has gone. Signed-off-by: James Le Cuirot --- eclass/golang-vcs.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/golang-vcs.eclass b/eclass/golang-vcs.eclass index 6f7a837bc15fd..dee040505d237 100644 --- a/eclass/golang-vcs.eclass +++ b/eclass

[gentoo-dev] Last rites: bzr.eclass

2024-07-09 Thread Ulrich Mueller
Unused. Removal on 2024-08-08. signature.asc Description: PGP signature

[gentoo-dev] [PATCH] git-r3.eclass: Drop support for EAPI 6

2024-07-09 Thread Ulrich Müller
Signed-off-by: Ulrich Müller --- eclass/git-r3.eclass | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 565f6ada8382..35ad6afe8e88 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -4,7 +4,7 @@ # @ECL