diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-19 12:25:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-19 12:25:21 +0100 |
commit | 1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 (patch) | |
tree | 2ccd1e9121906f2bccf218e14e3ca943a2b84bf3 /dev-go | |
parent | 16be64511bd21e32a29645b49e37611507709790 (diff) |
gentoo auto-resync : 19:08:2024 - 12:25:21
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/Manifest.gz | bin | 4212 -> 4213 bytes | |||
-rw-r--r-- | dev-go/go-tools/Manifest | 7 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-0.1.10.ebuild | 2 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-0.20.0.ebuild | 2 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-0.24.0.ebuild | 48 |
5 files changed, 55 insertions, 4 deletions
diff --git a/dev-go/Manifest.gz b/dev-go/Manifest.gz Binary files differindex 498a562c6063..c3b136901e0a 100644 --- a/dev-go/Manifest.gz +++ b/dev-go/Manifest.gz diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest index 996c93c4a785..9193e331a075 100644 --- a/dev-go/go-tools/Manifest +++ b/dev-go/go-tools/Manifest @@ -2,6 +2,9 @@ DIST go-tools-0.1.10-deps.tar.xz 16247548 BLAKE2B 7dc27e377eec3c7fa49d37614d2b7b DIST go-tools-0.1.10.tar.gz 3014465 BLAKE2B f3b6129ad00385539eab3426bc542a120bd41d3984174d5d8b91bee6435d7a179c0058f2a50de3235a07e5b67f6d9657288bd578591d61187447441bb6408e76 SHA512 9c817c98739a1788b7fb459728528b5c647226e64df495661c1b3027bfa571e884d6c28d8796558b65e2ba54774976897bddcd052568f33d4e30ce8ee5d883e1 DIST go-tools-0.20.0-deps.tar.xz 383336 BLAKE2B 0bddd81087bae28c2d874a2ea647a5293b32895fded73351813c1542066d7ee1a0d3d8a0aaa5c13cea3e117c692b46690282f992293d83c8fbd2901adc71911f SHA512 eeaa8a85ec81eed757156f99d6bc99f69c89debf52eb862e870c7effb7a0b800736e04f507efa19be122a5246aed2519d4c33bd850bc790947f065ab8a87a323 DIST go-tools-0.20.0.tar.gz 3779878 BLAKE2B 42175d921dfb5acb25c9eee224138675619860aefaca09db8e354481c146faa52b2fcc64d99953d8508a79ce8375ebcc42a1e7d20f4721e55b8c843989565fbc SHA512 c67706593d0a48f941955e40cadc1e39961b07ba51c9342b302ba99f93a1e55b9feec21d6171ee370f96293253be27b480274d48a16eff1055373f81b73f2dd9 -EBUILD go-tools-0.1.10.ebuild 3153 BLAKE2B db3dfab15b37cf37968897de2fe6875474b4548a3bb6fc4a9144f0885597764e2cec4578c4bb15d036dab01bf7ddf8a4cda13bca63ab96e90cfd11c7c2a1af54 SHA512 211322227195eafff7e525f34b8e5ed202bd83ca61ba57ccd22da06d46b824d3a8c1db3752fe3cfc61a11ca2e55f10c45e260af2f77c856fa2a246e818b21da4 -EBUILD go-tools-0.20.0.ebuild 1582 BLAKE2B 48f60668a01a7efd6bc3eaef2a0f3db31455a34cf8566d35242535703e1e167123bd79173d916c2cdc709cba5932f9a3e7b05480616310cd8ac79505dfde08cc SHA512 6c0dc51aa5e935fa66d4b1072a5a05c5de759d1ca80043d468cf042e8617b37cf9043d2df12907335faea91245d9ccefc9b5d407cc3e72292f6ed5d667bddae7 +DIST go-tools-0.24.0-deps.tar.xz 423048 BLAKE2B 0df1a18476c207e26c5397aa81d475e96ac00cbf9460899c3e66804963b5661befcd648f0bc51bf67775b533c370dcf634939bd6c5efad5ee289f73233c09b66 SHA512 f4eb6bfc918b947b6903e260edc99f71ebea4b8c39a118526608b9c86712e97029ab4473fd617dc8377a7021a8b606d267abf686c4a36a37556f828afd53fb4c +DIST go-tools-0.24.0.tar.gz 6977100 BLAKE2B ca0a9c5d3e41ca9accbacfc4074827bb3750c7bab8b20a80c76998dc4078d889eeaaf0f7fc6cd3864b5613c8474175d626165a5e20ada12876afa0279d325887 SHA512 bb41b620d4e3fe2c028a618656b47e28e9ecf2ecc49bb70dcd919948d0c6a4eeeded04ef2fa7604307029686605d5d809ff671dc1b0d3143af7100e4e480a444 +EBUILD go-tools-0.1.10.ebuild 3154 BLAKE2B d7c9fdf00403575337c88fe2785ead8f29ffb710f1f15636ecae98c879d8d132016bd391a1ee2ceb22e4316584f79c363ada411ee7afc9110c84822870498b71 SHA512 77b81f53692a7a8d1d0f29cc27236f6e4ffa7d9775edfc565b3fb17a1314b4e59111ee483f121310e8a4471b6af5de8b6ccaed6483053cc8f7381f7e4c7deeee +EBUILD go-tools-0.20.0.ebuild 1583 BLAKE2B 2e22f679ad7d10cdafef4578964b734fa585fe30b22c99f85e0e4e298dfa7766aba992960746f416c039c8a98ca605eb81d193644a17df6cfbae9e1b2c45a26b SHA512 5249e36e63c9b326d5fa52e41f9818b5cf5e4dd54d5a424b60a1ca53a18362b4ff482d733cba8f5d3cbe8747756e24da68d8f77c2ff73e7a9bc7d71233c55a2d +EBUILD go-tools-0.24.0.ebuild 1491 BLAKE2B 2383d0e4e6e70c31115524ffa596d76b32c0a0799a3aadb96fd6124c24442997d12a6cfee90341aa03eb4db62505e4ca7f28f8e1c766972cad6ef05803f605e0 SHA512 c7c37f31f38b1e6008df05bb3260b0111b1c27c4718a905aa7d2639429301ce41436fbbcb2b42e17a435e6d6413478db570b23f6502aece934a9ecceb0e65d59 MISC metadata.xml 304 BLAKE2B eb25bd6c86489f23152684d6eddeabebeb5bf9b2988b386d43d163286b9f38c8f0fe58a9103c45843280cd089d735e73a30e80e0368c3fe53e7bc2b4717603e4 SHA512 81050d8cfe2a1d8f1212613f4a043f0207c192026390bf7abfb68ea6262c12e0f0cd9f4f8c2ed23e62c47666bdb8498cf8fa58e57be5e10a7cd567dfc59e47ed diff --git a/dev-go/go-tools/go-tools-0.1.10.ebuild b/dev-go/go-tools/go-tools-0.1.10.ebuild index 7c66827e5473..87ff0acf7a3c 100644 --- a/dev-go/go-tools/go-tools-0.1.10.ebuild +++ b/dev-go/go-tools/go-tools-0.1.10.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit go-module DESCRIPTION="Tools that support the Go programming language (godoc, etc.)" -HOMEPAGE="https://godoc.org/golang.org/x/tools" +HOMEPAGE="https://pkg.go.dev/golang.org/x/tools" SRC_URI="https://github.com/golang/tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" S=${WORKDIR}/${P#go-} diff --git a/dev-go/go-tools/go-tools-0.20.0.ebuild b/dev-go/go-tools/go-tools-0.20.0.ebuild index fe369f14fa0a..4f8e29b6be14 100644 --- a/dev-go/go-tools/go-tools-0.20.0.ebuild +++ b/dev-go/go-tools/go-tools-0.20.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit go-module DESCRIPTION="Tools that support the Go programming language (godoc, etc.)" -HOMEPAGE="https://godoc.org/golang.org/x/tools" +HOMEPAGE="https://pkg.go.dev/golang.org/x/tools" SRC_URI="https://github.com/golang/tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" S=${WORKDIR}/${P#go-} diff --git a/dev-go/go-tools/go-tools-0.24.0.ebuild b/dev-go/go-tools/go-tools-0.24.0.ebuild new file mode 100644 index 000000000000..442e64290744 --- /dev/null +++ b/dev-go/go-tools/go-tools-0.24.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Tools that support the Go programming language (godoc, etc.)" +HOMEPAGE="https://pkg.go.dev/golang.org/x/tools" +SRC_URI="https://github.com/golang/tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" +S=${WORKDIR}/${P#go-} + +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +# Many test failures. +RESTRICT="test" + +GO_TOOLS_BINS=( + authtest benchcmp bisect bundle callgraph compilebench cookieauth + deadcode defers digraph eg fieldalignment file2fuzz findcall fiximports + fuzz-driver fuzz-runner gitauth go-contrib-init godex godoc goimports + gomvpkg gonew gopackages gorename gostacks gotype goyacc html2article + httpmux ifaceassert lostcancel netrcauth nilness nodecount play present + present2md shadow splitdwarf ssadump stress stringer stringintconv + toolstash unmarshal unusedresult +) + +src_compile() { + local bin packages + readarray -t packages < <(ego list ./... | grep -E "/($(echo "${GO_TOOLS_BINS[@]}" | tr ' ' '|'))$") + GOBIN="${S}/bin" ego install -work "${packages[@]}" +} + +src_test() { + ego test -work ./... +} + +src_install() { + # bug 558818: install binaries in $GOROOT/bin to avoid file collisions + local goroot=$(go env GOROOT) + goroot=${goroot#${EPREFIX}} + exeinto "${goroot}/bin" + doexe bin/* + dodir /usr/bin + ln "${ED}/${goroot}/bin/godoc" "${ED}/usr/bin/godoc" || die +} |