commit:     0a8765ff39088ad2c1ab7f66d24148375b6fafe5
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 03:03:22 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 03:03:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8765ff

dev-go/go-tools: drop 0.1.10, 0.20.0, 0.24.0

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-go/go-tools/Manifest               |  6 ---
 dev-go/go-tools/go-tools-0.1.10.ebuild | 98 ----------------------------------
 dev-go/go-tools/go-tools-0.20.0.ebuild | 52 ------------------
 dev-go/go-tools/go-tools-0.24.0.ebuild | 48 -----------------
 4 files changed, 204 deletions(-)

diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 1de237bebab7..7221a0429550 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,8 +1,2 @@
-DIST go-tools-0.1.10-deps.tar.xz 16247548 BLAKE2B 
7dc27e377eec3c7fa49d37614d2b7b826735228ae3b22b9481bcba4e344afd51145e98a885c33b5b732d9e6382a5f50a94efcd6f3a820088dd528e561bd5fae0
 SHA512 
a7bcb32b0393640dd603e07958dc70abba750d219b46f2de649d7e3644432364798c5227df5d764ab6e62d01b60f10d74668914ea09f469ce19134bc934d17ba
-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
-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
 DIST go-tools-0.28.0-deps.tar.xz 424928 BLAKE2B 
1c970a5e4c1b278852307a4c980d7f64d3caf288005f1bd25d422745c333d8cb5bf671a11d8c3d28e5a578cca4c4c1bc28179b06df91c3efbb7d33d7701c384e
 SHA512 
a1df8204d19e8e0a6cd0aaa292c6b4258e456abb37f28a11e1580c8709437fa400b886e21a37cb28eca22a8dd8fc1cce467aad8c4998247cd729df052fd08c9b
 DIST go-tools-0.28.0.tar.gz 7452244 BLAKE2B 
a8721c39cb03b93e68c84138df1e580d7033bc8440e7300894d80cbd2e997537e946235d47e183c78e71e3c40c603a35556124755332581c2557a6b433c8d0bf
 SHA512 
325595736259e74b2249ba183d73690d557e64d80183d109a2f443ccd1e64146595a367452639e2d032b194b31615eb2ecdd4b971ae9a8bbb06fa68b5578a713

diff --git a/dev-go/go-tools/go-tools-0.1.10.ebuild 
b/dev-go/go-tools/go-tools-0.1.10.ebuild
deleted file mode 100644
index 87ff0acf7a3c..000000000000
--- a/dev-go/go-tools/go-tools-0.1.10.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# 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/~williamh/dist/${P}-deps.tar.xz";
-S=${WORKDIR}/${P#go-}
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
-
-# Many test failures (bug 904314).
-RESTRICT="test"
-
-src_prepare() {
-       default
-       sed -e 's:TestDryRun(:_\0:' \
-               -e 's:TestFixImports(:_\0:' \
-               -i cmd/fiximports/main_test.go || die
-       sed -e 's:TestWebIndex(:_\0:' \
-               -e 's:TestTypeAnalysis(:_\0:' \
-               -i cmd/godoc/godoc_test.go || die
-       sed -e 's:TestApplyFixes(:_\0:' \
-               -i go/analysis/internal/checker/checker_test.go || die
-       sed -e 's:TestIntegration(:_\0:' \
-               -i go/analysis/unitchecker/unitchecker_test.go || die
-       sed -e 's:TestVeryLongFile(:_\0:' \
-               -i go/internal/gcimporter/bexport_test.go || die
-       sed -e 's:TestImportStdLib(:_\0:' \
-               -i go/internal/gcimporter/gcimporter_test.go || die
-       sed -e 's:TestIExportData_stdlib(:_\0:' \
-               -i go/internal/gcimporter/iexport_test.go || die
-       sed -e 's:TestCgoOption(:_\0:' \
-               -e 's:TestStdlib(:_\0:' \
-               -i go/loader/stdlib_test.go || die
-       sed -e 's:TestCgoBadPkgConfig(:_\0:' \
-               -e 's:TestCgoMissingFile(:_\0:' \
-               -e 's:TestCgoNoCcompiler(:_\0:' \
-               -e 's:TestConfigDefaultEnv(:_\0:' \
-               -e 's:TestLoadSyntaxOK(:_\0:' \
-               -e 's:TestMissingDependency(:_\0:' \
-               -e 's:TestName_Modules(:_\0:' \
-               -e 's:TestName_ModulesDedup(:_\0:' \
-               -e 's:TestPatternPassthrough(:_\0:' \
-               -i go/packages/packages_test.go || die
-       sed -e 's:TestCgoOption(:_\0:' \
-               -i go/packages/stdlib_test.go || die
-       sed -e 's:TestStdlib(:_\0:' \
-               -i go/ssa/stdlib_test.go || die
-       sed -e 's:TestLocalPackagePromotion(:_\0:' \
-               -e 's:TestLocalPrefix(:_\0:' \
-               -e 's:TestSimpleCases(:_\0:' \
-               -e 's:TestStdlibNotPrefixed(:_\0:' \
-               -i internal/imports/fix_test.go || die
-       sed -e 's:TestFindModFileModCache(:_\0:' \
-               -e 's:TestInvalidModCache(:_\0:' \
-               -e 's:TestModeGetmodeVendor(:_\0:' \
-               -e 's:TestModCase(:_\0:' \
-               -e 's:TestModDomainRoot(:_\0:' \
-               -e 's:TestModList(:_\0:' \
-               -e 's:TestModLocalReplace(:_\0:' \
-               -e 's:TestModMultirepo3(:_\0:' \
-               -e 's:TestModMultirepo4(:_\0:' \
-               -e 's:TestModReplace1(:_\0:' \
-               -e 's:TestModReplace2(:_\0:' \
-               -e 's:TestModReplace3(:_\0:' \
-               -e 's:TestModReplaceImport(:_\0:' \
-               -e 's:TestModVendorAuto(:_\0:' \
-               -e 's:TestScanNestedModuleInLocalReplace(:_\0:' \
-               -i internal/imports/mod_test.go || die
-       rm -f copyright/copyright_test.go || die
-       rm -f go/analysis/passes/loopclosure/loopclosure_test.go || die
-}
-
-src_compile() {
-       local packages
-       readarray -t packages < <(ego list ./...)
-       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
-}

diff --git a/dev-go/go-tools/go-tools-0.20.0.ebuild 
b/dev-go/go-tools/go-tools-0.20.0.ebuild
deleted file mode 100644
index 4f8e29b6be14..000000000000
--- a/dev-go/go-tools/go-tools-0.20.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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 ./...)
-       GOBIN="${S}/bin" nonfatal ego install -work "${packages[@]}" || true
-       for bin in "${GO_TOOLS_BINS[@]}"; do
-               [[ -x ${S}/bin/${bin} ]] || \
-                       die "File not found, check build log: ${S}/bin/${bin}"
-       done
-}
-
-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
-}

diff --git a/dev-go/go-tools/go-tools-0.24.0.ebuild 
b/dev-go/go-tools/go-tools-0.24.0.ebuild
deleted file mode 100644
index 442e64290744..000000000000
--- a/dev-go/go-tools/go-tools-0.24.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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
-}

Reply via email to