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
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
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(+
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 @@
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
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
+++
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
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
Unused. Removal on 2024-08-08.
signature.asc
Description: PGP signature
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
10 matches
Mail list logo