summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-07 09:21:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-07 09:21:27 +0000
commit85ba3f2cfe9ff2b952efb1f3c3c08840f8093246 (patch)
treec8adb7f2695744136c00d176bd0ebd80677049aa /dev-go
parentf9c971dedd369d9f45a38f3fae51467e864f5324 (diff)
gentoo auto-resync : 07:11:2022 - 09:21:27
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/Manifest.gzbin4717 -> 4715 bytes
-rw-r--r--dev-go/act/Manifest2
-rw-r--r--dev-go/act/act-1.6.0.ebuild39
3 files changed, 7 insertions, 34 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz
index c1cd6171ade8..af631c8de551 100644
--- a/dev-go/Manifest.gz
+++ b/dev-go/Manifest.gz
Binary files differ
diff --git a/dev-go/act/Manifest b/dev-go/act/Manifest
index 4a9e689b09d7..a73303a7f285 100644
--- a/dev-go/act/Manifest
+++ b/dev-go/act/Manifest
@@ -1,3 +1,3 @@
DIST act-1.6.0.tar.gz 781572 BLAKE2B 04ac295b09d9ae5fd9f062637f07671009140988e42d00668174bdc07b09d3dea8df6064d597f03a64157f34d3a4f60df2a9d528eaaa60e2540cb51a421136ef SHA512 1a99b628eea87151e6efdafecc80aa590e679925d8e3c03251888b72bce3026de8149ad6111605bcae52ea5006a4ecfe97b4eb4e860d545c2b536475a67282e6
-EBUILD act-1.6.0.ebuild 1222 BLAKE2B c7acd0b265a4e0624fa06280d139cb33c399ffa8805ba61be2a9a74666bbf7e8febbe90f342e0e339135d5018f18ad688fc7437f443c7ad0200fc17983f4b71e SHA512 8562fbb650bd040df4eab66dbd57f1faa3981d4d502bff18d6db695960909e4a5c2f400ab3eec41765156baf50caa7b18f7c764d7bb99750d7f6a3c6affe1e63
+EBUILD act-1.6.0.ebuild 661 BLAKE2B ec495679abb4074659bd095cdccb28e87f8393cc84dec910cad9b39a22519fcb5badc1bb005665274247305fc04d17432dff84d18a8178ce3a707341e04b953b SHA512 06d2b5f77e0c37f5ec5eda28ff130bb36493875c4a1564b1ffb41ea6faf7a4ddfcd89b42fa3a05a9728360c0cc4fef0ef9ed326edb5d66c2474ed759ae679838
MISC metadata.xml 801 BLAKE2B 487f06997e723aa3951f9bf94bd8650c2649052f0c37ce65a78721fb6edacc07adcbe3b6285abc4245929dd40b4ab7535d95baf0c8a0f023ee2e938497b0248b SHA512 cf0c356b69a010d76734178a4b80c20e56e7b32280a7c50d151d0028fd22145211f566127c3069f1e7e0d20b5dd6100943e5ee19ce78c12ad447473b1f0f458a
diff --git a/dev-go/act/act-1.6.0.ebuild b/dev-go/act/act-1.6.0.ebuild
index 3a2dd997297d..4baa06a089d0 100644
--- a/dev-go/act/act-1.6.0.ebuild
+++ b/dev-go/act/act-1.6.0.ebuild
@@ -3,8 +3,6 @@
EAPI=8
-inherit go-module toolchain-funcs
-
DESCRIPTION="Automated Component Toolkit code generator"
HOMEPAGE="https://github.com/Autodesk/AutomaticComponentToolkit"
SRC_URI="https://github.com/Autodesk/AutomaticComponentToolkit/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -14,44 +12,19 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
-RESTRICT="test"
-
-# Package does not follow the usual go directory structure
-# Functions borrowed from dev-lang/go ebuild.
-go_arch() {
- # By chance most portage arch names match Go
- local portage_arch=$(tc-arch $@)
- case "${portage_arch}" in
- x86) echo 386;;
- x64-*) echo amd64;;
- *) echo "${portage_arch}";;
- esac
-}
+RESTRICT="strip test"
-go_arm() {
- case "${1:-${CHOST}}" in
- armv5*) echo 5;;
- armv6*) echo 6;;
- armv7*) echo 7;;
- *)
- die "unknown GOARM for ${1:-${CHOST}}"
- ;;
- esac
-}
+BDEPEND="dev-lang/go"
-src_compile() {
- export GOARCH=$(go_arch)
- export GOOS=linux
- if [[ ${ARCH} == arm ]]; then
- export GOARM=$(go_arm)
- fi
+QA_FLAGS_IGNORED="usr/bin/act"
- cd "${S}"/Source || die
+src_compile() {
+ cd Source || die
go build -x -o ../${PN} *.go || die
}
src_install() {
- newbin "${S}"/${PN} ${PN}
+ dobin ${PN}
einstalldocs
dodoc -r Documentation/.
}