* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-10 5:36 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2015-08-10 5:36 UTC (permalink / raw
To: gentoo-commits
commit: e73db20ff1b711a8d61b073caa05a932afc78c1f
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 01:06:19 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 05:35:13 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73db20f
dev-go/go-tools: 0_pre20150805 version bump
Package-Manager: portage-2.2.20
dev-go/go-tools/Manifest | 1 +
dev-go/go-tools/go-tools-0_pre20150805.ebuild | 72 +++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 5a0a1c1..d3a0885 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,2 +1,3 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
DIST go-tools-0_pre20150606.tar.gz 1625903 SHA256 d121fc152648283413bc0596a55edc229796a7640d2ba6e1fd31c4fc316bb32c SHA512 68904e9799f80c77b1ccda2483eea4dcb19825aaf94355f967d1b0c3547ebf85772c0e92d9b5ba2e492a8af1b4cd07037d121add3c42760d15ca41c05d1161ab WHIRLPOOL 2e5e51112b4ddf2f391c8131e0b84e4c73ddcfcedc46ee934700b45c9cac5c2ee6a4984c02fa80c2207bd39d6b903a68c72cddec0fabcdd14ec2c6a4c7c7f727
+DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
diff --git a/dev-go/go-tools/go-tools-0_pre20150805.ebuild b/dev-go/go-tools/go-tools-0_pre20150805.ebuild
new file mode 100644
index 0000000..10a1951
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20150805.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="golang.org/x/tools/..."
+EGO_SRC="golang.org/x/tools"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="d02228d1857b9f49cd0252788516ff5584266eb6"
+ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/go-net:="
+RDEPEND=""
+RESTRICT="test"
+
+src_prepare() {
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${EGO_SRC}/godoc/static/makestatic.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${EGO_SRC}/godoc/static/godoc.html || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ export GOROOT="${T}/goroot"
+ rm -rf "${GOROOT}/src/${EGO_SRC}" || die
+ rm -rf "${GOROOT}/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die
+ golang-build_src_compile
+}
+
+src_install() {
+ local x
+ golang-build_src_install
+ export -n GOROOT
+ exeopts -m0755 -p # preserve timestamps for bug 551486
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/*
+
+ # godoc ends up in ${GOROOT}/bin
+ dodir /usr/bin
+ while read -r -d '' x; do
+ doexe "${x}"
+ ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die
+ done < <(find "${GOROOT}/bin" -type f -print0)
+
+ exeinto "$(go env GOTOOLDIR)"
+ doexe "${GOROOT}/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
+ doexe "${GOROOT}/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-10 20:30 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-10 20:30 UTC (permalink / raw
To: gentoo-commits
commit: b3a50d35e9fa908c4b74467abedd99f93c65dbdf
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 10 20:28:26 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 10 20:30:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a50d35
dev-go/go-tools: remove old snapshot
dev-go/go-tools/Manifest | 1 -
dev-go/go-tools/go-tools-0_pre20150606.ebuild | 99 ---------------------------
2 files changed, 100 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index d3a0885..986ab78 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,3 +1,2 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
-DIST go-tools-0_pre20150606.tar.gz 1625903 SHA256 d121fc152648283413bc0596a55edc229796a7640d2ba6e1fd31c4fc316bb32c SHA512 68904e9799f80c77b1ccda2483eea4dcb19825aaf94355f967d1b0c3547ebf85772c0e92d9b5ba2e492a8af1b4cd07037d121add3c42760d15ca41c05d1161ab WHIRLPOOL 2e5e51112b4ddf2f391c8131e0b84e4c73ddcfcedc46ee934700b45c9cac5c2ee6a4984c02fa80c2207bd39d6b903a68c72cddec0fabcdd14ec2c6a4c7c7f727
DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
diff --git a/dev-go/go-tools/go-tools-0_pre20150606.ebuild b/dev-go/go-tools/go-tools-0_pre20150606.ebuild
deleted file mode 100644
index 41cb121..0000000
--- a/dev-go/go-tools/go-tools-0_pre20150606.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64"
-DESCRIPTION="Go Tools"
-MY_PN=${PN##*-}
-GO_PN=golang.org/x/${MY_PN}
-HOMEPAGE="https://godoc.org/${GO_PN}"
-EGIT_COMMIT="ac303766f5f240c1796eeea3dc9bf34f1261aa35"
-SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.4
- dev-go/go-net"
-RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-EGIT_CHECKOUT_DIR="${S}"
-STRIP_MASK="*.a"
-
-src_unpack() {
- default
- mkdir -p src/${GO_PN%/*} || die
- mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
- cp "${DISTDIR}"/go-favicon.ico "${S}"/godoc/static/favicon.ico || die
-}
-
-src_prepare() {
- # disable broken tests
- sed -e 's:TestWeb(:_\0:' -i cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' -i cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' -i go/gcimporter/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' -i go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' -i go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' -i go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' -i go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' -i go/types/check_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' -i go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' -i go/vcs/vcs_test.go || die
- sed -e 's:TestStdlib(:_\0:' -i refactor/lexical/lexical_test.go || die
-
- # Add favicon to the godoc web interface (bug 551030)
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' -i godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' -i \
- godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- GOROOT="${WORKDIR}/goroot"
- cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
- rm -rf "${GOROOT}/src/${GO_PN}" \
- "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die
-
- # Generate static.go with favicon included
- pushd godoc/static >/dev/null
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} go run makestatic.go || die
- popd >/dev/null
-
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
-}
-
-src_test() {
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -x -v ${GO_PN}/... || die $?
-}
-
-src_install() {
- local x
- exeinto /usr/lib/go/bin
- doexe "${WORKDIR}"/bin/*
-
- # godoc ends up in ${GOROOT}/bin
- dodir /usr/bin
- while read -r -d '' x; do
- doexe "${x}"
- ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die
- done < <(find "${GOROOT}/bin" -type f -print0)
-
- # cover and vet end up in ${GOROOT}/pkg/tool/linux_amd64
- exeinto /usr/lib/go/pkg/tool/linux_amd64
- find "${GOROOT}/pkg/tool/linux_amd64" -type f -exec doexe {} \;
-
- insinto /usr/lib/go
- find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
- insopts -m0644 -p # preserve timestamps for bug 551486
- doins -r "${WORKDIR}"/{pkg,src}
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-23 23:35 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-23 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 7cea8530addccd91a30b0eefed171abc44e112f2
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 23 23:33:10 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 23:35:04 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cea8530
dev-go/go-tools: fix live ebuild for go-1.5 and newer
In Go 1.5, cover and vet have moved back to the main Go repository, so
the ones in this package are deprecated.
dev-go/go-tools/go-tools-9999.ebuild | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 3e1bc87..63de13a 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -83,8 +83,13 @@ src_install() {
GOROOT="${T}/goroot" golang-build_src_install
dobin bin/* "${T}/goroot/bin/godoc"
- exeinto "$(go env GOTOOLDIR)"
- exeopts -m0755 -p # preserve timestamps for bug 551486
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
+ if has_version '<dev-lang/go-1.5'; then
+ exeinto "$(go env GOTOOLDIR)"
+ exeopts -m0755 -p # preserve timestamps for bug 551486
+ doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
+ doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
+ else
+ rm "${D}"/usr/bin/{cover,vet} ||
+ die "unable to remove cover and vet"
+ fi
}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-24 15:50 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-24 15:50 UTC (permalink / raw
To: gentoo-commits
commit: 6985f4cfee27724bf629988d323a8eaa18573f1b
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 15:46:32 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 15:49:52 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6985f4cf
dev-go/go-tools: Add new snapshot
dev-go/go-tools/Manifest | 1 +
dev-go/go-tools/go-tools-0_pre20150823.ebuild | 95 +++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 986ab78..12ffecd 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,2 +1,3 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
+DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
diff --git a/dev-go/go-tools/go-tools-0_pre20150823.ebuild b/dev-go/go-tools/go-tools-0_pre20150823.ebuild
new file mode 100644
index 0000000..ac8982e
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20150823.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="golang.org/x/tools/..."
+EGO_SRC="golang.org/x/tools"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="6c9aff3"
+ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/go-net:="
+RDEPEND=""
+
+src_prepare() {
+ # disable broken tests
+ sed -e 's:TestWeb(:_\0:' \
+ -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestVet(:_\0:' \
+ -i src/${EGO_SRC}/cmd/vet/vet_test.go || die
+ sed -e 's:TestImport(:_\0:' \
+ -i src/${EGO_SRC}/go/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${EGO_SRC}/go/importer/import_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${EGO_SRC}/go/loader/stdlib_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die
+ sed -e 's:TestGorootTest(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -e 's:TestTestmainPackage(:_\0:' \
+ -i src/${EGO_SRC}/go/ssa/interp/interp_test.go || die
+ sed -e 's:TestBar(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -i src/${EGO_SRC}/go/ssa/interp/testdata/a_test.go || die
+ sed -e 's:TestCheck(:_\0:' \
+ -i src/${EGO_SRC}/go/types/check_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -e 's:TestStdFixed(:_\0:' \
+ -e 's:TestStdKen(:_\0:' \
+ -i src/${EGO_SRC}/go/types/stdlib_test.go || die
+ sed -e 's:TestRepoRootForImportPath(:_\0:' \
+ -i src/${EGO_SRC}/go/vcs/vcs_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${EGO_SRC}/refactor/lexical/lexical_test.go || die
+
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${EGO_SRC}/godoc/static/makestatic.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${EGO_SRC}/godoc/static/godoc.html || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ golang-build_src_compile
+}
+
+src_install() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+
+ GOROOT="${T}/goroot" golang-build_src_install
+ dobin bin/* "${T}/goroot/bin/godoc"
+
+ if has_version '<dev-lang/go-1.5'; then
+ exeinto "$(go env GOTOOLDIR)"
+ exeopts -m0755 -p # preserve timestamps for bug 551486
+ doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
+ doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
+ else
+ rm "${D}"/usr/bin/{cover,vet} ||
+ die "unable to remove cover and vet"
+ fi
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-24 15:50 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-24 15:50 UTC (permalink / raw
To: gentoo-commits
commit: 6817c0836f6faa459720d9a1c802df84a471264c
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 15:49:09 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 15:50:05 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6817c083
dev-go/go-tools: sync live ebuild
dev-go/go-tools/go-tools-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 63de13a..ac8982e 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -9,7 +9,7 @@ EGO_SRC="golang.org/x/tools"
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
- EGIT_COMMIT="ac303766f5f240c1796eeea3dc9bf34f1261aa35"
+ EGIT_COMMIT="6c9aff3"
ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
inherit golang-vcs-snapshot
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-26 17:46 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2015-08-26 17:46 UTC (permalink / raw
To: gentoo-commits
commit: 836fd3187a478452effc14bd3db092c8cf7d3345
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 26 17:46:15 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Aug 26 17:46:34 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836fd318
dev-go/go-tools: revbump to 0_pre20150823-r1, fixing file collisions for bug 558818
Package-Manager: portage-2.2.20.1
...tools-0_pre20150823.ebuild => go-tools-0_pre20150823-r1.ebuild} | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20150823.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
similarity index 93%
rename from dev-go/go-tools/go-tools-0_pre20150823.ebuild
rename to dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
index ac8982e..887effa 100644
--- a/dev-go/go-tools/go-tools-0_pre20150823.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
@@ -81,7 +81,12 @@ src_install() {
cp -sR "$(go env GOROOT)" "${T}/goroot" || die
GOROOT="${T}/goroot" golang-build_src_install
- dobin bin/* "${T}/goroot/bin/godoc"
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/* "${T}/goroot/bin/godoc"
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
if has_version '<dev-lang/go-1.5'; then
exeinto "$(go env GOTOOLDIR)"
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-27 14:56 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-27 14:56 UTC (permalink / raw
To: gentoo-commits
commit: 6c14be6fab464d3fbb38560a018a42b9c4f13f9c
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 14:53:35 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 14:56:09 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c14be6f
dev-go/go-tools: fix removal of cover and vet
Since binaries are being installed in $GOROOT/bin, we need to remove
cover and vet from there for newer versions of go instead of from
removing them from /usr/bin.
This fixes bug #558882.
dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
index 887effa..030ff9e 100644
--- a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
@@ -94,7 +94,7 @@ src_install() {
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
else
- rm "${D}"/usr/bin/{cover,vet} ||
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} ||
die "unable to remove cover and vet"
fi
}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-08-27 15:03 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-08-27 15:03 UTC (permalink / raw
To: gentoo-commits
commit: 1ce7fbd7e260ad3e46c45cdb124029bd81a76df2
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 15:02:06 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 15:02:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce7fbd7
dev-go/go-tools: sync live ebuild
Package-Manager: portage-2.2.20.1
dev-go/go-tools/go-tools-9999.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index ac8982e..030ff9e 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -81,7 +81,12 @@ src_install() {
cp -sR "$(go env GOROOT)" "${T}/goroot" || die
GOROOT="${T}/goroot" golang-build_src_install
- dobin bin/* "${T}/goroot/bin/godoc"
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/* "${T}/goroot/bin/godoc"
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
if has_version '<dev-lang/go-1.5'; then
exeinto "$(go env GOTOOLDIR)"
@@ -89,7 +94,7 @@ src_install() {
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
else
- rm "${D}"/usr/bin/{cover,vet} ||
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} ||
die "unable to remove cover and vet"
fi
}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-09-08 14:06 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2015-09-08 14:06 UTC (permalink / raw
To: gentoo-commits
commit: bfa900b0460aa0eee7d944acb9c898511a251dea
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 8 14:03:05 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Sep 8 14:03:05 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfa900b0
dev-go/go-tools: new snapshot
dev-go/go-tools/Manifest | 1 +
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 93 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 12ffecd..fdc59ac 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,3 +1,4 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
+DIST go-tools-0_pre20150902.tar.gz 1633723 SHA256 d10d6e33222446bccc8c3541b32412c058db14a834a6b0e8aa0b36d5b10723e0 SHA512 b11d8da7391cc139dc66a1f744cab6e9049680c7ecd6285389d4cee80b3b0bc901a0469e6a5ae7d1d5fda7ea2967aa0415b967beaa3c4ac68ab59cb1a54c95be WHIRLPOOL cc7dabd477ec00628003ba233036cc86849da80ada28a26f8f730e973ed64811b159217a4f0aa49403d77af4e9b2ca77a6ce40137d32a8c38e2d449b9bd1524e
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
new file mode 100644
index 0000000..aa176ff
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="golang.org/x/tools/..."
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="1330b28"
+ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/go-net:=
+ !<dev-lang/go-1.5"
+RDEPEND=""
+
+src_prepare() {
+ local go_src="${EGO_PN%/...}"
+ # disable broken tests
+ sed -e 's:TestWeb(:_\0:' \
+ -i src/${go_src}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestVet(:_\0:' \
+ -i src/${go_src}/cmd/vet/vet_test.go || die
+ sed -e 's:TestImport(:_\0:' \
+ -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${go_src}/go/importer/import_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/loader/stdlib_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/ssa/stdlib_test.go || die
+ sed -e 's:TestGorootTest(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -e 's:TestTestmainPackage(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/interp_test.go || die
+ sed -e 's:TestBar(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
+ sed -e 's:TestCheck(:_\0:' \
+ -i src/${go_src}/go/types/check_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -e 's:TestStdFixed(:_\0:' \
+ -e 's:TestStdKen(:_\0:' \
+ -i src/${go_src}/go/types/stdlib_test.go || die
+ sed -e 's:TestRepoRootForImportPath(:_\0:' \
+ -i src/${go_src}/go/vcs/vcs_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/refactor/lexical/lexical_test.go || die
+
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${go_src}/godoc/static/makestatic.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${go_src}/godoc/static/godoc.html || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ golang-build_src_compile
+}
+
+src_install() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+
+ GOROOT="${T}/goroot" golang-build_src_install
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/* "${T}/goroot/bin/godoc"
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
+
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-09-11 18:39 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2015-09-11 18:39 UTC (permalink / raw
To: gentoo-commits
commit: c599426e15367c037d694d40477c0fa4add92296
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 18:39:28 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 18:39:28 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c599426e
dev-go/go-tools: update digest for go-tools-0_pre20150902.tar.gz
Package-Manager: portage-2.2.20.1
dev-go/go-tools/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index fdc59ac..e05fd1f 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,4 +1,4 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
-DIST go-tools-0_pre20150902.tar.gz 1633723 SHA256 d10d6e33222446bccc8c3541b32412c058db14a834a6b0e8aa0b36d5b10723e0 SHA512 b11d8da7391cc139dc66a1f744cab6e9049680c7ecd6285389d4cee80b3b0bc901a0469e6a5ae7d1d5fda7ea2967aa0415b967beaa3c4ac68ab59cb1a54c95be WHIRLPOOL cc7dabd477ec00628003ba233036cc86849da80ada28a26f8f730e973ed64811b159217a4f0aa49403d77af4e9b2ca77a6ce40137d32a8c38e2d449b9bd1524e
+DIST go-tools-0_pre20150902.tar.gz 1630401 SHA256 c5026af549199f62a374b705981cf0f04661497af0d69ee47d54e9992ee44c8f SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1 WHIRLPOOL bfc7998c3c042059213975dc6864814edf497b5c6ee70c228925bcb7dd283efb4f49d7ac05383b8ae2d85ccc7fbd7663e3c2899bffe47e4e36195bd639bc61c7
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2015-09-11 19:04 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2015-09-11 19:04 UTC (permalink / raw
To: gentoo-commits
commit: adbb2eb4a2521ace1359808a05f8832248bf88d3
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 19:03:06 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 19:04:10 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbb2eb4
dev-go/go-tools: fix tests and src_prepare failure for 0_pre20150902
Package-Manager: portage-2.2.20.1
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
index aa176ff..7d598bd 100644
--- a/dev-go/go-tools/go-tools-0_pre20150902.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
@@ -56,8 +56,6 @@ src_prepare() {
-i src/${go_src}/go/types/stdlib_test.go || die
sed -e 's:TestRepoRootForImportPath(:_\0:' \
-i src/${go_src}/go/vcs/vcs_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/refactor/lexical/lexical_test.go || die
# Add favicon to the godoc web interface (bug 551030)
cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
@@ -77,6 +75,14 @@ src_compile() {
golang-build_src_compile
}
+src_test() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ mkdir -p "${T}/goroot/test" || die
+ GOROOT="${T}/goroot" golang-build_src_test
+ rm -rf "${T}/goroot"
+}
+
src_install() {
# Create a writable GOROOT in order to avoid sandbox violations.
cp -sR "$(go env GOROOT)" "${T}/goroot" || die
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-01-22 11:21 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-01-22 11:21 UTC (permalink / raw
To: gentoo-commits
commit: 6d950e4b53042881d5dd54150f930daf74043092
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 08:26:44 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 11:20:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d950e4b
dev-go/go-tools: version bump to 0_pre20160121
Package-Manager: portage-2.2.27
dev-go/go-tools/Manifest | 1 +
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 106 ++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index e05fd1f..470c500 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -2,3 +2,4 @@ DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316
DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
DIST go-tools-0_pre20150902.tar.gz 1630401 SHA256 c5026af549199f62a374b705981cf0f04661497af0d69ee47d54e9992ee44c8f SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1 WHIRLPOOL bfc7998c3c042059213975dc6864814edf497b5c6ee70c228925bcb7dd283efb4f49d7ac05383b8ae2d85ccc7fbd7663e3c2899bffe47e4e36195bd639bc61c7
+DIST go-tools-0_pre20160121.tar.gz 1768660 SHA256 4f1d444643e06bc9da47655e6532d71cdd4dfe3167352d93fd48a8e31bec5a60 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2 WHIRLPOOL fa4f0006211cb52eca9cba015235a07d7d640681864a62ed065454efceb789694ea3a6d0099adec910bee075153e56e1323cb7e6f4d9a7426d2b8e40474a715e
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
new file mode 100644
index 0000000..a2030fb
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="golang.org/x/tools/..."
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="f3a63969dd29f8cfa913fdaea22f30c1ed537cb3"
+ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/go-net:=
+ !<dev-lang/go-1.5"
+RDEPEND=""
+
+src_prepare() {
+ local go_src="${EGO_PN%/...}"
+ # disable broken tests
+ sed -e 's:TestWeb(:_\0:' \
+ -e 's:TestWebIndex(:_\0:' \
+ -i src/${go_src}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestVet(:_\0:' \
+ -e 's:TestDivergentPackagesExamples(:_\0:' \
+ -e 's:TestIncompleteExamples(:_\0:' \
+ -i src/${go_src}/cmd/vet/vet_test.go || die
+ sed -e 's:TestImport(:_\0:' \
+ -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${go_src}/go/gcimporter15/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${go_src}/go/importer/import_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/loader/stdlib_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/ssa/stdlib_test.go || die
+ sed -e 's:TestGorootTest(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -e 's:TestTestmainPackage(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/interp_test.go || die
+ sed -e 's:TestBar(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
+ sed -e 's:TestCheck(:_\0:' \
+ -i src/${go_src}/go/types/check_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -e 's:TestStdFixed(:_\0:' \
+ -e 's:TestStdKen(:_\0:' \
+ -i src/${go_src}/go/types/stdlib_test.go || die
+ sed -e 's:TestRepoRootForImportPath(:_\0:' \
+ -i src/${go_src}/go/vcs/vcs_test.go || die
+
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${go_src}/godoc/static/makestatic.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${go_src}/godoc/static/godoc.html || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ golang-build_src_compile
+}
+
+src_test() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ mkdir -p "${T}/goroot/test" || die
+ GOROOT="${T}/goroot" golang-build_src_test
+ rm -rf "${T}/goroot"
+}
+
+src_install() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ cp -sR "$(get_golibdir_gopath)" "${T}/gopath" || die
+
+ GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:${T}/gopath" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+ golang_install_pkgs
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/* "${T}/goroot/bin/godoc" "${T}/gopath/bin/tipgodoc"
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
+
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-01-22 23:44 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-01-22 23:44 UTC (permalink / raw
To: gentoo-commits
commit: 2ead2b6100c93033dbd0f634371d04fbf782bace
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 23:44:09 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 23:44:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ead2b61
dev-go/go-tools: fix "tipgodoc does not exist" error (bug 572650)
Package-Manager: portage-2.2.26
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
index a2030fb..381504a 100644
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
@@ -98,7 +98,16 @@ src_install() {
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc" "${T}/gopath/bin/tipgodoc"
+ doexe bin/* "${T}/goroot/bin/godoc"
+ # Since tipgodoc has been known to be installed in either
+ # GOROOT or GOPATH, handle either case (bug 572650). It likely
+ # depends on what is currently installed, as is often the case
+ # for weird issues like this with go.
+ if [[ -e ${T}/gopath/bin/tipgodoc ]]; then
+ doexe "${T}/gopath/bin/tipgodoc"
+ else
+ doexe "${T}/goroot/bin/tipgodoc"
+ fi
dodir /usr/bin
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-01-29 23:16 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-01-29 23:16 UTC (permalink / raw
To: gentoo-commits
commit: 92c2722eb39e1efb28da17e262e892380da93292
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 29 23:14:30 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 23:14:30 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c2722e
dev-go/go-tools: fix tipgodoc
Package-Manager: portage-2.2.27
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
index 381504a..3926e88 100644
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
@@ -99,15 +99,6 @@ src_install() {
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
exeinto "$(go env GOROOT)/bin"
doexe bin/* "${T}/goroot/bin/godoc"
- # Since tipgodoc has been known to be installed in either
- # GOROOT or GOPATH, handle either case (bug 572650). It likely
- # depends on what is currently installed, as is often the case
- # for weird issues like this with go.
- if [[ -e ${T}/gopath/bin/tipgodoc ]]; then
- doexe "${T}/gopath/bin/tipgodoc"
- else
- doexe "${T}/goroot/bin/tipgodoc"
- fi
dodir /usr/bin
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-02-05 18:29 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-02-05 18:29 UTC (permalink / raw
To: gentoo-commits
commit: 0e5bd5e14825e82dc8da13b7f5cb5af99e12ea71
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 5 18:28:26 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 18:28:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5bd5e1
dev-go/go-tools: remove old version
Package-Manager: portage-2.2.27
dev-go/go-tools/Manifest | 1 -
dev-go/go-tools/go-tools-0_pre20150805.ebuild | 72 ---------------------------
2 files changed, 73 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 470c500..5436881 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,5 +1,4 @@
DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316f6f1c9509bd38ba7 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 WHIRLPOOL f55a84a28812bffd1fa38e098e6ba7d757bdefc0e20c3d8ef767fb1bc7d6e2cfbb8d1ae0593e81cce17c27f60e6aacf094e6c67b1f592c0546090feab9d3830f
-DIST go-tools-0_pre20150805.tar.gz 1633388 SHA256 80db6fc563df50eb924dbf4f96cef287fc6b89cc8b98595c1dac3c80a118f290 SHA512 80813c2da74c7b25fa2cfd15b2505757e7f466469ac701cb22d190dc83a607f091c4dea207a2e371e53d7a1f5459e7b53e5eea53c95565e958a6eb7fcb212359 WHIRLPOOL 3b000f830d81c35e6f76a9883d9430eb7fe0f546a36579a150a7bd8f825146a0623726a98a7b7f764825c9fee30af1f89b3bbc98efeaf05fe8f64bbb127a1f68
DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
DIST go-tools-0_pre20150902.tar.gz 1630401 SHA256 c5026af549199f62a374b705981cf0f04661497af0d69ee47d54e9992ee44c8f SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1 WHIRLPOOL bfc7998c3c042059213975dc6864814edf497b5c6ee70c228925bcb7dd283efb4f49d7ac05383b8ae2d85ccc7fbd7663e3c2899bffe47e4e36195bd639bc61c7
DIST go-tools-0_pre20160121.tar.gz 1768660 SHA256 4f1d444643e06bc9da47655e6532d71cdd4dfe3167352d93fd48a8e31bec5a60 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2 WHIRLPOOL fa4f0006211cb52eca9cba015235a07d7d640681864a62ed065454efceb789694ea3a6d0099adec910bee075153e56e1323cb7e6f4d9a7426d2b8e40474a715e
diff --git a/dev-go/go-tools/go-tools-0_pre20150805.ebuild b/dev-go/go-tools/go-tools-0_pre20150805.ebuild
deleted file mode 100644
index 10a1951..0000000
--- a/dev-go/go-tools/go-tools-0_pre20150805.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
-EGO_SRC="golang.org/x/tools"
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- EGIT_COMMIT="d02228d1857b9f49cd0252788516ff5584266eb6"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go Tools"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SRC_URI="${ARCHIVE_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND="dev-go/go-net:="
-RDEPEND=""
-RESTRICT="test"
-
-src_prepare() {
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${EGO_SRC}/godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${EGO_SRC}/godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- export GOROOT="${T}/goroot"
- rm -rf "${GOROOT}/src/${EGO_SRC}" || die
- rm -rf "${GOROOT}/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die
- golang-build_src_compile
-}
-
-src_install() {
- local x
- golang-build_src_install
- export -n GOROOT
- exeopts -m0755 -p # preserve timestamps for bug 551486
- exeinto "$(go env GOROOT)/bin"
- doexe bin/*
-
- # godoc ends up in ${GOROOT}/bin
- dodir /usr/bin
- while read -r -d '' x; do
- doexe "${x}"
- ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die
- done < <(find "${GOROOT}/bin" -type f -print0)
-
- exeinto "$(go env GOTOOLDIR)"
- doexe "${GOROOT}/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
- doexe "${GOROOT}/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-02-05 18:33 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-02-05 18:33 UTC (permalink / raw
To: gentoo-commits
commit: 4c7d8942e36f6bda3ae1064f12f88771478b0886
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 5 18:32:23 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 18:32:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7d8942
dev-go/go-tools: add positive deps for go-1.5
Package-Manager: portage-2.2.27
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 4 ++--
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
index 7d598bd..440b6ed 100644
--- a/dev-go/go-tools/go-tools-0_pre20150902.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
@@ -23,8 +23,8 @@ LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-go/go-net:=
- !<dev-lang/go-1.5"
-RDEPEND=""
+ >=dev-lang/go-1.5"
+RDEPEND="!<dev-lang/go-1.5"
src_prepare() {
local go_src="${EGO_PN%/...}"
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
index 3926e88..7c52684 100644
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
@@ -23,8 +23,8 @@ LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND="dev-go/go-net:=
- !<dev-lang/go-1.5"
-RDEPEND=""
+ >=dev-lang/go-1.5"
+RDEPEND="!<dev-lang/go-1.5"
src_prepare() {
local go_src="${EGO_PN%/...}"
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-02-11 16:54 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-02-11 16:54 UTC (permalink / raw
To: gentoo-commits
commit: 15073ca9069030fccaa116a1372e403a610414db
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 16:52:40 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 16:52:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15073ca9
dev-go/go-tools: add ${PVR} subslot, for tracking static links
Package-Manager: portage-2.2.27
dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild | 2 +-
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 2 +-
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 2 +-
dev-go/go-tools/go-tools-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
index 030ff9e..5acd215 100644
--- a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://godoc.org/golang.org/x/tools"
SRC_URI="${ARCHIVE_URI}
http://golang.org/favicon.ico -> go-favicon.ico"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PVR}"
IUSE=""
DEPEND="dev-go/go-net:="
RDEPEND=""
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
index 440b6ed..635d4d1 100644
--- a/dev-go/go-tools/go-tools-0_pre20150902.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://godoc.org/golang.org/x/tools"
SRC_URI="${ARCHIVE_URI}
http://golang.org/favicon.ico -> go-favicon.ico"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PVR}"
IUSE=""
DEPEND="dev-go/go-net:=
>=dev-lang/go-1.5"
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
index 7c52684..65bc8c2 100644
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://godoc.org/golang.org/x/tools"
SRC_URI="${ARCHIVE_URI}
http://golang.org/favicon.ico -> go-favicon.ico"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PVR}"
IUSE=""
DEPEND="dev-go/go-net:=
>=dev-lang/go-1.5"
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 030ff9e..5acd215 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://godoc.org/golang.org/x/tools"
SRC_URI="${ARCHIVE_URI}
http://golang.org/favicon.ico -> go-favicon.ico"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PVR}"
IUSE=""
DEPEND="dev-go/go-net:="
RDEPEND=""
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-02-21 0:28 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-02-21 0:28 UTC (permalink / raw
To: gentoo-commits
commit: 4090eaad9be53b83bbe1e75c1205471cbd6fcada
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 00:27:58 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 00:28:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4090eaad
dev-go/go-tools: version bump to 0_pre20160220
Package-Manager: portage-2.2.27
dev-go/go-tools/Manifest | 1 +
dev-go/go-tools/go-tools-0_pre20160220.ebuild | 111 ++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 5436881..84354ec 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -2,3 +2,4 @@ DIST go-favicon.ico 1150 SHA256 d76ca702a6d81e20ddd31c8c5a4368130e7c68d990600316
DIST go-tools-0_pre20150823.tar.gz 1633447 SHA256 12ac4c5e49134a7dcc9c2f3123d20562463d83360a6e1d2fc6ace5ec025a31ae SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 WHIRLPOOL acb3ac4e5abcc56a37bec461a7e4170e4a45ebd917ed9ca1dd016c92756a01b0ed0887e525bc17acd7a88a34fd5f9495a5ffa63f58a05d547e2fba17c4ff9a8e
DIST go-tools-0_pre20150902.tar.gz 1630401 SHA256 c5026af549199f62a374b705981cf0f04661497af0d69ee47d54e9992ee44c8f SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1 WHIRLPOOL bfc7998c3c042059213975dc6864814edf497b5c6ee70c228925bcb7dd283efb4f49d7ac05383b8ae2d85ccc7fbd7663e3c2899bffe47e4e36195bd639bc61c7
DIST go-tools-0_pre20160121.tar.gz 1768660 SHA256 4f1d444643e06bc9da47655e6532d71cdd4dfe3167352d93fd48a8e31bec5a60 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2 WHIRLPOOL fa4f0006211cb52eca9cba015235a07d7d640681864a62ed065454efceb789694ea3a6d0099adec910bee075153e56e1323cb7e6f4d9a7426d2b8e40474a715e
+DIST go-tools-0_pre20160220.tar.gz 1827046 SHA256 395190b159e918204f67dee0b8f08f55d14cf59b83aa79cdb69c75de71c8d99a SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1 WHIRLPOOL 48737d871487e693040b448e799d89f8461e6dc60ee12cc21fe874d9897b9721397986aa947af3bcbc2e514422e3c27147a5d2fe21b4fb7593c91e1fb267e424
diff --git a/dev-go/go-tools/go-tools-0_pre20160220.ebuild b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
new file mode 100644
index 0000000..97123fe
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="golang.org/x/tools/..."
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT="ee8cb08bfe4453a27a4bd7c86a917800d339c5ac"
+ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0/${PVR}"
+IUSE=""
+DEPEND="dev-go/go-net:=
+ >=dev-lang/go-1.5"
+RDEPEND="!<dev-lang/go-1.5"
+
+src_prepare() {
+ local go_src="${EGO_PN%/...}"
+ # disable broken tests
+ rm src/${go_src}/cmd/bundle/main_test.go || die
+ sed -e 's:TestWeb(:_\0:' \
+ -e 's:TestWebIndex(:_\0:' \
+ -i src/${go_src}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestGuru(:_\0:' \
+ -i src/${go_src}/cmd/guru/guru_test.go || die
+ sed -e 's:TestVet(:_\0:' \
+ -e 's:TestDivergentPackagesExamples(:_\0:' \
+ -e 's:TestIncompleteExamples(:_\0:' \
+ -i src/${go_src}/cmd/vet/vet_test.go || die
+ sed -e 's:TestImport(:_\0:' \
+ -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${go_src}/go/gcimporter15/gcimporter_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${go_src}/go/importer/import_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/loader/stdlib_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${go_src}/go/ssa/stdlib_test.go || die
+ sed -e 's:TestGorootTest(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -e 's:TestTestmainPackage(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/interp_test.go || die
+ sed -e 's:TestBar(:_\0:' \
+ -e 's:TestFoo(:_\0:' \
+ -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
+ sed -e 's:TestCheck(:_\0:' \
+ -i src/${go_src}/go/types/check_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -e 's:TestStdFixed(:_\0:' \
+ -e 's:TestStdKen(:_\0:' \
+ -i src/${go_src}/go/types/stdlib_test.go || die
+ sed -e 's:TestRepoRootForImportPath(:_\0:' \
+ -i src/${go_src}/go/vcs/vcs_test.go || die
+ sed -e 's:TestFindImportInternal(:_\0:' \
+ -i src/${go_src}/imports/fix_test.go || die
+
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${go_src}/godoc/static/makestatic.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${go_src}/godoc/static/godoc.html || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ golang-build_src_compile
+}
+
+src_test() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ mkdir -p "${T}/goroot/test" || die
+ GOROOT="${T}/goroot" golang-build_src_test
+ rm -rf "${T}/goroot"
+}
+
+src_install() {
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+ cp -sR "$(get_golibdir_gopath)" "${T}/gopath" || die
+
+ GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:${T}/gopath" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+ golang_install_pkgs
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/* "${T}/goroot/bin/godoc"
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
+
+ rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-03-31 6:46 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-03-31 6:46 UTC (permalink / raw
To: gentoo-commits
commit: 14d87a41e8c4c5b8ac9d45507ee4105795df503d
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 06:44:55 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 06:45:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d87a41
dev-go/go-tools: fix tests for bug 577912
Package-Manager: portage-2.2.28
dev-go/go-tools/go-tools-0_pre20160220.ebuild | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20160220.ebuild b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
index 97123fe..8254910 100644
--- a/dev-go/go-tools/go-tools-0_pre20160220.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
@@ -33,14 +33,10 @@ src_prepare() {
sed -e 's:TestWeb(:_\0:' \
-e 's:TestWebIndex(:_\0:' \
-i src/${go_src}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestGuru(:_\0:' \
- -i src/${go_src}/cmd/guru/guru_test.go || die
sed -e 's:TestVet(:_\0:' \
-e 's:TestDivergentPackagesExamples(:_\0:' \
-e 's:TestIncompleteExamples(:_\0:' \
-i src/${go_src}/cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' \
- -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
sed -e 's:TestImportStdLib(:_\0:' \
-i src/${go_src}/go/gcimporter15/gcimporter_test.go || die
sed -e 's:TestImportStdLib(:_\0:' \
@@ -50,21 +46,17 @@ src_prepare() {
sed -e 's:TestStdlib(:_\0:' \
-i src/${go_src}/go/ssa/stdlib_test.go || die
sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
-e 's:TestTestmainPackage(:_\0:' \
-i src/${go_src}/go/ssa/interp/interp_test.go || die
sed -e 's:TestBar(:_\0:' \
-e 's:TestFoo(:_\0:' \
-i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' \
- -i src/${go_src}/go/types/check_test.go || die
sed -e 's:TestStdlib(:_\0:' \
-e 's:TestStdFixed(:_\0:' \
-e 's:TestStdKen(:_\0:' \
-i src/${go_src}/go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' \
- -i src/${go_src}/go/vcs/vcs_test.go || die
- sed -e 's:TestFindImportInternal(:_\0:' \
+ sed -e 's:TestFindImportVendor(:_\0:' \
+ -e 's:TestProcessVendor(:_\0:' \
-i src/${go_src}/imports/fix_test.go || die
# Add favicon to the godoc web interface (bug 551030)
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2016-08-19 16:12 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2016-08-19 16:12 UTC (permalink / raw
To: gentoo-commits
commit: ea9127983a43baf746f5bb72fe2ed4fd84bbc429
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 16:12:13 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 16:12:54 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea912798
dev-go/go-tools: fix godoc doexe failure, bug 591656
Package-Manager: portage-2.3.0
dev-go/go-tools/go-tools-0_pre20160220.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20160220.ebuild b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
index 8254910..599c669 100644
--- a/dev-go/go-tools/go-tools-0_pre20160220.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
@@ -95,7 +95,10 @@ src_install() {
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc"
+ doexe bin/*
+ # godoc location varies depending on whether or not it's
+ # installed on the system (bug 591656)
+ [[ -e bin/godoc ]] || doexe "${T}/goroot/bin/godoc"
dodir /usr/bin
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-08-19 6:38 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-08-19 6:38 UTC (permalink / raw
To: gentoo-commits
commit: 996d1958338701c58df2eefaf9f25e49258b5d5b
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 00:55:47 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 19 06:37:54 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=996d1958
dev-go/go-tools: version bump to 0_pre20180817
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-tools/Manifest | 2 +
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 72 +++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index e3a4b4fb3ef..f9fbac28648 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,5 +1,7 @@
+DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
DIST go-favicon.ico 1150 BLAKE2B 7cef9e0c7031531ceaddc56b9e7cb8c09cf3ebf08bbdd53876edcf48d412c55968268190b1fe1814e21efc5669618a5e07d30d7bdbb73b4cbeca9a31b3185fc5 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6
DIST go-tools-0_pre20150823.tar.gz 1633447 BLAKE2B 00866c14139099821fc883ab3908b47481a3ea5af323977fdd84622f43e8998a6fcf6c0a4cbf0c6bb98494d1f4b1fdd0d281447b67a0766af1e5b4f68cf24e27 SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63
DIST go-tools-0_pre20150902.tar.gz 1630401 BLAKE2B 5f23e4d05c614584bfd2ac77d15ad4b464f083b489b1a687a823d014d848ce38ac5006a379eb46f37e7aba0419b7f1b4d48c053aae89c6ac912366e5ddc487c3 SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1
DIST go-tools-0_pre20160121.tar.gz 1768660 BLAKE2B ebc7622967dbb82c6578591c108bba8c96cb7df56360d445b02de1da905ac64b4901057acd36e3d2ab5ec51e5e2ff206efae6a9f9523180e53434adcdad278e3 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2
DIST go-tools-0_pre20160220.tar.gz 1827046 BLAKE2B 26b4080540958764c42fffc1cb6a1597705c0a7ea85357b5169f9a0bf6939d7c5475681f6fede8b46a88ef58c72afa9eaa9da3fb66a3bbbb19942d0a1887bbeb SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1
+DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
new file mode 100644
index 00000000000..f4effc4ab2d
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="golang.org/x/tools"
+
+# vendor the net package due to a circular dependency
+EGO_VENDOR=( "golang.org/x/net aaf60122140d3fcf75376d319f0554393160eb50 github.com/golang/net" )
+
+EGIT_COMMIT="7d1dc997617fb662918b6ea95efc19faa87e1cf8"
+ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="Go Tools"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}
+ http://golang.org/favicon.ico -> go-favicon.ico"
+LICENSE="BSD"
+SLOT="0/${PVR}"
+
+src_prepare() {
+ default
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/go-favicon.ico "src/${EGO_PN}/godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i src/${EGO_PN}/godoc/static/gen.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i src/${EGO_PN}/godoc/static/godoc.html || die
+ sed -e 's:TestVeryLongFile(:_\0:' \
+ -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die
+ sed -e 's:TestLoadSyntaxOK(:_\0:' \
+ -i src/${EGO_PN}/go/packages/packages_test.go || die
+ sed -e 's:TestCgoOption(:_\0:' \
+ -i src/${EGO_PN}/go/loader/stdlib_test.go || die
+ sed -e 's:TestWebIndex(:_\0:' \
+ -e 's:TestTypeAnalysis(:_\0:' \
+ -i src/${EGO_PN}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${EGO_PN}/go/internal/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestVeryLongFile(:_\0:' \
+ -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die
+}
+
+src_compile() {
+ # Generate static.go with favicon included
+ pushd src/golang.org/x/tools/godoc/static >/dev/null || die
+ GOPATH="${S}:$(get_golibdir_gopath)" \
+ go run makestatic.go || die
+ popd >/dev/null
+
+ GOPATH="${S}:$(get_golibdir_gopath)" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} $(cd "${S}/src/${EGO_PN}" && GOPATH="${S}" go list ./...) || die
+}
+
+src_test() {
+ GOPATH="${S}:$(get_golibdir_gopath)" \
+ go test -v -work -x "${EGO_PN}/..." || die
+}
+
+src_install() {
+ rm -rf "${S}/src/${EGO_PN}/vendor" || die
+ golang_install_pkgs
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/*
+ dodir /usr/bin
+ ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-08-20 0:20 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-08-20 0:20 UTC (permalink / raw
To: gentoo-commits
commit: efa31289506929bc71bb03dc9610d43086895fc6
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 19 22:25:25 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 00:20:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa31289
dev-go/go-tools: update 9999 ebuild
Vendor golang.org/x/net in order to solve a circular dependency.
Closes: https://bugs.gentoo.org/663850
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-tools/go-tools-9999.ebuild | 105 ++++++++++++++++-------------------
1 file changed, 48 insertions(+), 57 deletions(-)
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 3fcfd947ef6..10b4b86e323 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -1,16 +1,21 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
+EAPI=6
EGO_SRC="golang.org/x/tools"
+EGO_PN="${EGO_SRC}/..."
+
+# vendor the net package due to a circular dependency
+GO_NET_COMMIT="aaf60122140d3fcf75376d319f0554393160eb50"
+EGO_VENDOR=( "golang.org/x/net ${GO_NET_COMMIT} github.com/golang/net" )
if [[ ${PV} = *9999* ]]; then
+ ARCHIVE_URI=""
inherit golang-vcs
else
- EGIT_COMMIT="6c9aff3"
+ EGIT_COMMIT="7d1dc997617fb662918b6ea95efc19faa87e1cf8"
ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm ~x86"
inherit golang-vcs-snapshot
fi
inherit golang-build
@@ -18,82 +23,68 @@ inherit golang-build
DESCRIPTION="Go Tools"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
SRC_URI="${ARCHIVE_URI}
+ https://github.com/golang/net/archive/${GO_NET_COMMIT}.tar.gz -> github.com-golang-net-${GO_NET_COMMIT}.tar.gz
http://golang.org/favicon.ico -> go-favicon.ico"
LICENSE="BSD"
SLOT="0/${PVR}"
-IUSE=""
-DEPEND="dev-go/go-net:="
-RDEPEND=""
-src_prepare() {
- # disable broken tests
- sed -e 's:TestWeb(:_\0:' \
- -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' \
- -i src/${EGO_SRC}/cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' \
- -i src/${EGO_SRC}/go/gcimporter/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${EGO_SRC}/go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' \
- -i src/${EGO_SRC}/go/types/check_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' \
- -i src/${EGO_SRC}/go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' \
- -i src/${EGO_SRC}/go/vcs/vcs_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/refactor/lexical/lexical_test.go || die
+src_unpack() {
+ golang-vcs_src_unpack
+ mkdir -p "${WORKDIR}/${P}/src/${EGO_SRC}/vendor/golang.org/x/net" || die
+ tar -C "${WORKDIR}/${P}/src/${EGO_SRC}/vendor/golang.org/x/net" -x --strip-components 1 \
+ -f "${DISTDIR}/github.com-golang-net-${GO_NET_COMMIT}.tar.gz" || die
+}
+src_prepare() {
+ default
# Add favicon to the godoc web interface (bug 551030)
cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
die
sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${EGO_SRC}/godoc/static/makestatic.go || die
+ -i src/${EGO_SRC}/godoc/static/gen.go || die
sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
-i src/${EGO_SRC}/godoc/static/godoc.html || die
+ sed -e 's:TestVeryLongFile(:_\0:' \
+ -i src/${EGO_SRC}/go/internal/gcimporter/bexport_test.go || die
+ sed -e 's:TestLoadSyntaxOK(:_\0:' \
+ -i src/${EGO_SRC}/go/packages/packages_test.go || die
+ sed -e 's:TestCgoOption(:_\0:' \
+ -e 's:TestStdlib(:_\0:' \
+ -i src/${EGO_SRC}/go/loader/stdlib_test.go || die
+ sed -e 's:TestStdlib(:_\0:' \
+ -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die
+ sed -e 's:TestWebIndex(:_\0:' \
+ -e 's:TestTypeAnalysis(:_\0:' \
+ -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die
+ sed -e 's:TestImportStdLib(:_\0:' \
+ -i src/${EGO_SRC}/go/internal/gcimporter/gcimporter_test.go || die
+ sed -e 's:TestVeryLongFile(:_\0:' \
+ -i src/${EGO_SRC}/go/internal/gcimporter/bexport_test.go || die
}
src_compile() {
# Generate static.go with favicon included
pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
+ GOPATH="${S}" GOBIN="${S}/bin" \
+ go run makestatic.go || die
popd >/dev/null
- golang-build_src_compile
+ GOPATH="${S}" GOBIN="${S}/bin" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
}
-src_install() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
+src_test() {
+ GOPATH="${S}" GOBIN="${S}/bin" \
+ go test -v -work -x "${EGO_PN}" || die
+}
- GOROOT="${T}/goroot" golang-build_src_install
+src_install() {
+ rm -rf "${S}/src/${EGO_SRC}/"{.git,vendor} || die
+ golang_install_pkgs
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc"
+ doexe bin/*
dodir /usr/bin
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-
- if has_version '<dev-lang/go-1.5'; then
- exeinto "$(go env GOTOOLDIR)"
- exeopts -m0755 -p # preserve timestamps for bug 551486
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
- else
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} ||
- die "unable to remove cover and vet"
- fi
}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-08-20 0:29 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-08-20 0:29 UTC (permalink / raw
To: gentoo-commits
commit: e74ce802c8086d9aac8af5fd620caec511189cd2
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 00:28:36 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 00:29:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74ce802
dev-go/go-tools: remove old versions
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-tools/Manifest | 3 -
dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild | 99 ---------------------
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 98 ---------------------
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 105 -----------------------
4 files changed, 305 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index f9fbac28648..3c8b3725c64 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,7 +1,4 @@
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
DIST go-favicon.ico 1150 BLAKE2B 7cef9e0c7031531ceaddc56b9e7cb8c09cf3ebf08bbdd53876edcf48d412c55968268190b1fe1814e21efc5669618a5e07d30d7bdbb73b4cbeca9a31b3185fc5 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6
-DIST go-tools-0_pre20150823.tar.gz 1633447 BLAKE2B 00866c14139099821fc883ab3908b47481a3ea5af323977fdd84622f43e8998a6fcf6c0a4cbf0c6bb98494d1f4b1fdd0d281447b67a0766af1e5b4f68cf24e27 SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63
-DIST go-tools-0_pre20150902.tar.gz 1630401 BLAKE2B 5f23e4d05c614584bfd2ac77d15ad4b464f083b489b1a687a823d014d848ce38ac5006a379eb46f37e7aba0419b7f1b4d48c053aae89c6ac912366e5ddc487c3 SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1
-DIST go-tools-0_pre20160121.tar.gz 1768660 BLAKE2B ebc7622967dbb82c6578591c108bba8c96cb7df56360d445b02de1da905ac64b4901057acd36e3d2ab5ec51e5e2ff206efae6a9f9523180e53434adcdad278e3 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2
DIST go-tools-0_pre20160220.tar.gz 1827046 BLAKE2B 26b4080540958764c42fffc1cb6a1597705c0a7ea85357b5169f9a0bf6939d7c5475681f6fede8b46a88ef58c72afa9eaa9da3fb66a3bbbb19942d0a1887bbeb SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
diff --git a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
deleted file mode 100644
index 3fcfd947ef6..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
-EGO_SRC="golang.org/x/tools"
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- EGIT_COMMIT="6c9aff3"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go Tools"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SRC_URI="${ARCHIVE_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND="dev-go/go-net:="
-RDEPEND=""
-
-src_prepare() {
- # disable broken tests
- sed -e 's:TestWeb(:_\0:' \
- -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' \
- -i src/${EGO_SRC}/cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' \
- -i src/${EGO_SRC}/go/gcimporter/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${EGO_SRC}/go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' \
- -i src/${EGO_SRC}/go/types/check_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' \
- -i src/${EGO_SRC}/go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' \
- -i src/${EGO_SRC}/go/vcs/vcs_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/refactor/lexical/lexical_test.go || die
-
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${EGO_SRC}/godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${EGO_SRC}/godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- golang-build_src_compile
-}
-
-src_install() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
-
- GOROOT="${T}/goroot" golang-build_src_install
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc"
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-
- if has_version '<dev-lang/go-1.5'; then
- exeinto "$(go env GOTOOLDIR)"
- exeopts -m0755 -p # preserve timestamps for bug 551486
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover"
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet"
- else
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} ||
- die "unable to remove cover and vet"
- fi
-}
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild
deleted file mode 100644
index 552b4705291..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20150902.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- EGIT_COMMIT="1330b28"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go Tools"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SRC_URI="${ARCHIVE_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND="dev-go/go-net:=
- >=dev-lang/go-1.5"
-RDEPEND="!<dev-lang/go-1.5"
-
-src_prepare() {
- local go_src="${EGO_PN%/...}"
- # disable broken tests
- sed -e 's:TestWeb(:_\0:' \
- -i src/${go_src}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' \
- -i src/${go_src}/cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' \
- -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${go_src}/go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i src/${go_src}/go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' \
- -i src/${go_src}/go/types/check_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' \
- -i src/${go_src}/go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' \
- -i src/${go_src}/go/vcs/vcs_test.go || die
-
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${go_src}/godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${go_src}/godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- golang-build_src_compile
-}
-
-src_test() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- mkdir -p "${T}/goroot/test" || die
- GOROOT="${T}/goroot" golang-build_src_test
- rm -rf "${T}/goroot"
-}
-
-src_install() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
-
- GOROOT="${T}/goroot" golang-build_src_install
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc"
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
-}
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild
deleted file mode 100644
index 2ab6225e7db..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- EGIT_COMMIT="f3a63969dd29f8cfa913fdaea22f30c1ed537cb3"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go Tools"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SRC_URI="${ARCHIVE_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND="dev-go/go-net:=
- >=dev-lang/go-1.5"
-RDEPEND="!<dev-lang/go-1.5"
-
-src_prepare() {
- local go_src="${EGO_PN%/...}"
- # disable broken tests
- sed -e 's:TestWeb(:_\0:' \
- -e 's:TestWebIndex(:_\0:' \
- -i src/${go_src}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' \
- -e 's:TestDivergentPackagesExamples(:_\0:' \
- -e 's:TestIncompleteExamples(:_\0:' \
- -i src/${go_src}/cmd/vet/vet_test.go || die
- sed -e 's:TestImport(:_\0:' \
- -i src/${go_src}/go/gcimporter/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${go_src}/go/gcimporter15/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${go_src}/go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i src/${go_src}/go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestCheck(:_\0:' \
- -i src/${go_src}/go/types/check_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' \
- -i src/${go_src}/go/types/stdlib_test.go || die
- sed -e 's:TestRepoRootForImportPath(:_\0:' \
- -i src/${go_src}/go/vcs/vcs_test.go || die
-
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${go_src}/godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${go_src}/godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- golang-build_src_compile
-}
-
-src_test() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- mkdir -p "${T}/goroot/test" || die
- GOROOT="${T}/goroot" golang-build_src_test
- rm -rf "${T}/goroot"
-}
-
-src_install() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- cp -sR "$(get_golibdir_gopath)" "${T}/gopath" || die
-
- GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:${T}/gopath" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
- golang_install_pkgs
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/* "${T}/goroot/bin/godoc"
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-11-03 23:30 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-11-03 23:30 UTC (permalink / raw
To: gentoo-commits
commit: 78d098968b0e789a7a29583c1217b6dbaeddd34e
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 3 23:29:03 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Nov 3 23:30:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d09896
dev-go/go-tools: update favicon (bug 670178)
Reported-by: Anton Bolshakov <blshkv <AT> pentoo.ch>
Closes: https://bugs.gentoo.org/670178
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-go/go-tools/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 3c8b3725c64..974d3f9e21b 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,4 +1,4 @@
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
-DIST go-favicon.ico 1150 BLAKE2B 7cef9e0c7031531ceaddc56b9e7cb8c09cf3ebf08bbdd53876edcf48d412c55968268190b1fe1814e21efc5669618a5e07d30d7bdbb73b4cbeca9a31b3185fc5 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6
+DIST go-favicon.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
DIST go-tools-0_pre20160220.tar.gz 1827046 BLAKE2B 26b4080540958764c42fffc1cb6a1597705c0a7ea85357b5169f9a0bf6939d7c5475681f6fede8b46a88ef58c72afa9eaa9da3fb66a3bbbb19942d0a1887bbeb SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-11-03 23:45 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-11-03 23:45 UTC (permalink / raw
To: gentoo-commits
commit: 1b9945aa38bd1ee0cca93bebe2bbb9cc4757e773
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 3 23:41:24 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Nov 3 23:44:09 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b9945aa
dev-go/go-tools: remove old version 0_pre20160220
Closes: https://bugs.gentoo.org/648434
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-go/go-tools/Manifest | 1 -
dev-go/go-tools/go-tools-0_pre20160220.ebuild | 105 --------------------------
2 files changed, 106 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 974d3f9e21b..60ad5f1d04d 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,4 +1,3 @@
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
DIST go-favicon.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
-DIST go-tools-0_pre20160220.tar.gz 1827046 BLAKE2B 26b4080540958764c42fffc1cb6a1597705c0a7ea85357b5169f9a0bf6939d7c5475681f6fede8b46a88ef58c72afa9eaa9da3fb66a3bbbb19942d0a1887bbeb SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
diff --git a/dev-go/go-tools/go-tools-0_pre20160220.ebuild b/dev-go/go-tools/go-tools-0_pre20160220.ebuild
deleted file mode 100644
index da04f9371b0..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20160220.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-EGO_PN="golang.org/x/tools/..."
-
-if [[ ${PV} = *9999* ]]; then
- inherit golang-vcs
-else
- EGIT_COMMIT="ee8cb08bfe4453a27a4bd7c86a917800d339c5ac"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Go Tools"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SRC_URI="${ARCHIVE_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-IUSE=""
-DEPEND="dev-go/go-net:=
- >=dev-lang/go-1.5"
-RDEPEND="!<dev-lang/go-1.5"
-
-src_prepare() {
- local go_src="${EGO_PN%/...}"
- # disable broken tests
- rm src/${go_src}/cmd/bundle/main_test.go || die
- sed -e 's:TestWeb(:_\0:' \
- -e 's:TestWebIndex(:_\0:' \
- -i src/${go_src}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestVet(:_\0:' \
- -e 's:TestDivergentPackagesExamples(:_\0:' \
- -e 's:TestIncompleteExamples(:_\0:' \
- -i src/${go_src}/cmd/vet/vet_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${go_src}/go/gcimporter15/gcimporter_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${go_src}/go/importer/import_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${go_src}/go/ssa/stdlib_test.go || die
- sed -e 's:TestGorootTest(:_\0:' \
- -e 's:TestTestmainPackage(:_\0:' \
- -i src/${go_src}/go/ssa/interp/interp_test.go || die
- sed -e 's:TestBar(:_\0:' \
- -e 's:TestFoo(:_\0:' \
- -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -e 's:TestStdFixed(:_\0:' \
- -e 's:TestStdKen(:_\0:' \
- -i src/${go_src}/go/types/stdlib_test.go || die
- sed -e 's:TestFindImportVendor(:_\0:' \
- -e 's:TestProcessVendor(:_\0:' \
- -i src/${go_src}/imports/fix_test.go || die
-
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${go_src}/godoc/static/makestatic.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${go_src}/godoc/static/godoc.html || die
-}
-
-src_compile() {
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- golang-build_src_compile
-}
-
-src_test() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- mkdir -p "${T}/goroot/test" || die
- GOROOT="${T}/goroot" golang-build_src_test
- rm -rf "${T}/goroot"
-}
-
-src_install() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die
- cp -sR "$(get_golibdir_gopath)" "${T}/gopath" || die
-
- GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:${T}/gopath" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
- golang_install_pkgs
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/*
- # godoc location varies depending on whether or not it's
- # installed on the system (bug 591656)
- [[ -e bin/godoc ]] || doexe "${T}/goroot/bin/godoc"
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2018-11-04 2:52 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2018-11-04 2:52 UTC (permalink / raw
To: gentoo-commits
commit: 29fb9709d5c0bdb9faca681660ff3d6ecaa6cf65
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 3 23:29:03 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Nov 4 02:52:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29fb9709
dev-go/go-tools: use static favicon SRC_URI (bug 670178)
Suggested-by: Anton Bolshakov <blshkv <AT> pentoo.ch>
Closes: https://bugs.gentoo.org/670178
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-go/go-tools/Manifest | 2 +-
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 6 ++++--
dev-go/go-tools/go-tools-9999.ebuild | 6 ++++--
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 60ad5f1d04d..120e017ab65 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,3 +1,3 @@
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
-DIST go-favicon.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
+DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
index f4effc4ab2d..5191bd7e69c 100644
--- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
@@ -14,16 +14,18 @@ inherit golang-build golang-vcs-snapshot
DESCRIPTION="Go Tools"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
+GO_FAVICON="go-favicon-20181103162401.ico"
SRC_URI="${ARCHIVE_URI}
${EGO_VENDOR_URI}
- http://golang.org/favicon.ico -> go-favicon.ico"
+ mirror://gentoo/${GO_FAVICON}
+ https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
LICENSE="BSD"
SLOT="0/${PVR}"
src_prepare() {
default
# Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${EGO_PN}/godoc/static/favicon.ico" ||
+ cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_PN}/godoc/static/favicon.ico" ||
die
sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
-i src/${EGO_PN}/godoc/static/gen.go || die
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 10b4b86e323..fb8bd018f99 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -22,9 +22,11 @@ inherit golang-build
DESCRIPTION="Go Tools"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
+GO_FAVICON="go-favicon-20181103162401.ico"
SRC_URI="${ARCHIVE_URI}
https://github.com/golang/net/archive/${GO_NET_COMMIT}.tar.gz -> github.com-golang-net-${GO_NET_COMMIT}.tar.gz
- http://golang.org/favicon.ico -> go-favicon.ico"
+ mirror://gentoo/${GO_FAVICON}
+ https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
LICENSE="BSD"
SLOT="0/${PVR}"
@@ -38,7 +40,7 @@ src_unpack() {
src_prepare() {
default
# Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" ||
+ cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_SRC}/godoc/static/favicon.ico" ||
die
sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
-i src/${EGO_SRC}/godoc/static/gen.go || die
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2019-03-16 21:43 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2019-03-16 21:43 UTC (permalink / raw
To: gentoo-commits
commit: deb103eb7ba2cfe4f2f55c5809ee89c4b8653aad
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 20:44:48 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 21:42:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb103eb
dev-go/go-tools: filter GOCACHE vars (bug 678964)
Reported-by: Toralf Förster <toralf <AT> gentoo.org>
Closes: https://bugs.gentoo.org/678964
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 3 ++-
dev-go/go-tools/go-tools-9999.ebuild | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
index 5191bd7e69c..a7bd294e620 100644
--- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -47,6 +47,7 @@ src_prepare() {
}
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #678964
# Generate static.go with favicon included
pushd src/golang.org/x/tools/godoc/static >/dev/null || die
GOPATH="${S}:$(get_golibdir_gopath)" \
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index fb8bd018f99..ffc68729ed0 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -65,6 +65,7 @@ src_prepare() {
}
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #678964
# Generate static.go with favicon included
pushd src/golang.org/x/tools/godoc/static >/dev/null || die
GOPATH="${S}" GOBIN="${S}/bin" \
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2019-07-08 18:02 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2019-07-08 18:02 UTC (permalink / raw
To: gentoo-commits
commit: 138bfe09a65c91a01d1d3c25d92ebe5f227fe7f4
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 8 18:01:59 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jul 8 18:02:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=138bfe09
dev-go/go-tools: improve DESCRIPTION
Closes: https://bugs.gentoo.org/689444
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 2 +-
dev-go/go-tools/go-tools-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
index a7bd294e620..35fe93954d4 100644
--- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
@@ -12,7 +12,7 @@ ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${
KEYWORDS="~amd64 ~arm ~x86"
inherit golang-build golang-vcs-snapshot
-DESCRIPTION="Go Tools"
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
GO_FAVICON="go-favicon-20181103162401.ico"
SRC_URI="${ARCHIVE_URI}
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index ffc68729ed0..7b130f58c15 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -20,7 +20,7 @@ else
fi
inherit golang-build
-DESCRIPTION="Go Tools"
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
GO_FAVICON="go-favicon-20181103162401.ico"
SRC_URI="${ARCHIVE_URI}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2019-09-15 1:26 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2019-09-15 1:26 UTC (permalink / raw
To: gentoo-commits
commit: ab42dfe9f738cd8e29a510ee77a14057dd1e0147
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 01:21:39 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 01:26:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab42dfe9
dev-go/go-tools: LICENSE: Add Apache-2.0 and MIT
Reported-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://bugs.gentoo.org/694394
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
index 35fe93954d4..787b6a95386 100644
--- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild
+++ b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
@@ -19,7 +19,7 @@ SRC_URI="${ARCHIVE_URI}
${EGO_VENDOR_URI}
mirror://gentoo/${GO_FAVICON}
https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
-LICENSE="BSD"
+LICENSE="BSD Apache-2.0 MIT"
SLOT="0/${PVR}"
src_prepare() {
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2019-09-15 5:23 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2019-09-15 5:23 UTC (permalink / raw
To: gentoo-commits
commit: 8cc6d401139526e2f9a6dbadbd31f0ff2387705f
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 04:46:47 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 05:23:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cc6d401
dev-go/go-tools: Bump to version 0_pre20190911
Unlike the previous version which bundled Apache-2.0 and MIT licensed
software, this version only contains BSD licensed software.
Bug: https://bugs.gentoo.org/694394
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 4 +
dev-go/go-tools/go-tools-0_pre20190911.ebuild | 117 ++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 120e017ab65..e4c226226f0 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,3 +1,7 @@
+DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
+DIST github.com-golang-sync-112230192c580c3556b8cee6403af37a4fc5f28c.tar.gz 16835 BLAKE2B 51efe53ea7ab1f11f8ff078fbfa91526b97a1d918101bdbc755aa500424dda860d3a11195c1e44d033eaf7e0d09e7f327e404ad9af84f4b9747d8805b53dcf10 SHA512 bd90bb14e688fa7613d83dc8718bbb688a2f05cc8eb8c3dfbbf71daa7dc08e35044803c4bf8e5d5aab625a612e986e6f76c822c437f52132581ac37e0e2e92f9
+DIST github.com-golang-xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz 12271 BLAKE2B cdcaf0bbf67399c9176786118a622fc0912036b9b0611922dd3d32ace2cac65ac288136ef228ff526e626d36c16e6f8442ffbb5df0c84fd713a669c326fa350c SHA512 719b3a3e432a928f641e15b8553d3e2c2015b1c68c633e9f13f1d57cee634544bb857518fcd75124e41a448b4c219b80dd0c1823329eb4edfc715994d40331d5
DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
+DIST go-tools-0_pre20190911.tar.gz 2264380 BLAKE2B 049d961191eec5b3bd75d9ab1dea576a9b3700cdcd06fce39ae34844af7dc045d61cbe604c16c1fd355f38c0a3e5523c0162ca37c49bd7a7d28642fa2a5b4e5e SHA512 d72f71a8d3f1b14b165d60279dd4dc110ee59ae0e716cdfa9d23610d65972c03fea7191848e5a1b38dc6a2ce96050fdd919f3251e39c0dced11be9d47087a50c
diff --git a/dev-go/go-tools/go-tools-0_pre20190911.ebuild b/dev-go/go-tools/go-tools-0_pre20190911.ebuild
new file mode 100644
index 00000000000..5a326334fe1
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0_pre20190911.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN="golang.org/x/tools"
+
+EGO_VENDOR=(
+ "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net"
+ "golang.org/x/sync 112230192c580c3556b8cee6403af37a4fc5f28c github.com/golang/sync"
+ "golang.org/x/xerrors a985d3407aa71f30cf86696ee0a2f409709f22e1 github.com/golang/xerrors"
+)
+
+EGIT_COMMIT="6bfd74cf029c99138aa1bb5b7e0d6b57c9d4eb49"
+ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+GO_FAVICON="go-favicon-20181103162401.ico"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}
+ mirror://gentoo/${GO_FAVICON}
+ https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
+LICENSE="BSD"
+SLOT="0/${PVR}"
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+src_prepare() {
+ default
+ # Add favicon to the godoc web interface (bug 551030)
+ cp "${DISTDIR}"/${GO_FAVICON} "godoc/static/favicon.ico" ||
+ die
+ sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
+ -i godoc/static/gen.go || die
+ sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
+ -i godoc/static/godoc.html || die
+ 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:TestCgoOption(:_\0:' \
+ -e 's:TestStdlib(:_\0:' \
+ -i go/loader/stdlib_test.go || die
+ sed -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:' \
+ -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:TestScanNestedModuleInLocalReplace(:_\0:' \
+ -i internal/imports/mod_test.go || die
+}
+
+src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #678964
+ export GOPATH="${WORKDIR}/${P}" GO111MODULE=on GOFLAGS="-mod=vendor -v -x"
+
+ # Generate static.go with favicon included
+ pushd godoc/static >/dev/null || die
+ go run makestatic.go || die
+ popd >/dev/null
+
+ go install -work ${EGO_BUILD_FLAGS} \
+ $(GOPATH="${WORKDIR}/${P}" go list ./...) || die
+}
+
+src_test() {
+ go test -work "${EGO_PN}/..." || die
+}
+
+src_install() {
+ rm -rf vendor || die
+ pushd "${WORKDIR}/${P}"
+ golang_install_pkgs
+ popd >/dev/null
+
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe "${WORKDIR}/${P}"/bin/*
+ dodir /usr/bin
+ ln "${ED}/$(go env GOROOT)/bin/godoc" "${ED}/usr/bin/godoc" || die
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2019-11-29 17:15 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2019-11-29 17:15 UTC (permalink / raw
To: gentoo-commits
commit: 0dbccec3e939bc88c482dbfa6b197b47fe4d1f20
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 17:00:50 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 17:14:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbccec3
dev-go/go-tools: Remove old version 0_pre20180817
Closes: https://bugs.gentoo.org/699584
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 1 -
dev-go/go-tools/go-tools-0_pre20180817.ebuild | 75 ---------------------------
2 files changed, 76 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index e4c226226f0..c19d83fa6fc 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -3,5 +3,4 @@ DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 96520
DIST github.com-golang-sync-112230192c580c3556b8cee6403af37a4fc5f28c.tar.gz 16835 BLAKE2B 51efe53ea7ab1f11f8ff078fbfa91526b97a1d918101bdbc755aa500424dda860d3a11195c1e44d033eaf7e0d09e7f327e404ad9af84f4b9747d8805b53dcf10 SHA512 bd90bb14e688fa7613d83dc8718bbb688a2f05cc8eb8c3dfbbf71daa7dc08e35044803c4bf8e5d5aab625a612e986e6f76c822c437f52132581ac37e0e2e92f9
DIST github.com-golang-xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz 12271 BLAKE2B cdcaf0bbf67399c9176786118a622fc0912036b9b0611922dd3d32ace2cac65ac288136ef228ff526e626d36c16e6f8442ffbb5df0c84fd713a669c326fa350c SHA512 719b3a3e432a928f641e15b8553d3e2c2015b1c68c633e9f13f1d57cee634544bb857518fcd75124e41a448b4c219b80dd0c1823329eb4edfc715994d40331d5
DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
-DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1
DIST go-tools-0_pre20190911.tar.gz 2264380 BLAKE2B 049d961191eec5b3bd75d9ab1dea576a9b3700cdcd06fce39ae34844af7dc045d61cbe604c16c1fd355f38c0a3e5523c0162ca37c49bd7a7d28642fa2a5b4e5e SHA512 d72f71a8d3f1b14b165d60279dd4dc110ee59ae0e716cdfa9d23610d65972c03fea7191848e5a1b38dc6a2ce96050fdd919f3251e39c0dced11be9d47087a50c
diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild
deleted file mode 100644
index 787b6a95386..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="golang.org/x/tools"
-
-# vendor the net package due to a circular dependency
-EGO_VENDOR=( "golang.org/x/net aaf60122140d3fcf75376d319f0554393160eb50 github.com/golang/net" )
-
-EGIT_COMMIT="7d1dc997617fb662918b6ea95efc19faa87e1cf8"
-ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
-inherit golang-build golang-vcs-snapshot
-
-DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-GO_FAVICON="go-favicon-20181103162401.ico"
-SRC_URI="${ARCHIVE_URI}
- ${EGO_VENDOR_URI}
- mirror://gentoo/${GO_FAVICON}
- https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
-LICENSE="BSD Apache-2.0 MIT"
-SLOT="0/${PVR}"
-
-src_prepare() {
- default
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_PN}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${EGO_PN}/godoc/static/gen.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${EGO_PN}/godoc/static/godoc.html || die
- sed -e 's:TestVeryLongFile(:_\0:' \
- -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die
- sed -e 's:TestLoadSyntaxOK(:_\0:' \
- -i src/${EGO_PN}/go/packages/packages_test.go || die
- sed -e 's:TestCgoOption(:_\0:' \
- -i src/${EGO_PN}/go/loader/stdlib_test.go || die
- sed -e 's:TestWebIndex(:_\0:' \
- -e 's:TestTypeAnalysis(:_\0:' \
- -i src/${EGO_PN}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${EGO_PN}/go/internal/gcimporter/gcimporter_test.go || die
- sed -e 's:TestVeryLongFile(:_\0:' \
- -i src/${EGO_PN}/go/internal/gcimporter/bexport_test.go || die
-}
-
-src_compile() {
- export -n GOCACHE XDG_CACHE_HOME #678964
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- GOPATH="${S}:$(get_golibdir_gopath)" \
- go run makestatic.go || die
- popd >/dev/null
-
- GOPATH="${S}:$(get_golibdir_gopath)" \
- go install -v -work -x ${EGO_BUILD_FLAGS} $(cd "${S}/src/${EGO_PN}" && GOPATH="${S}" go list ./...) || die
-}
-
-src_test() {
- GOPATH="${S}:$(get_golibdir_gopath)" \
- go test -v -work -x "${EGO_PN}/..." || die
-}
-
-src_install() {
- rm -rf "${S}/src/${EGO_PN}/vendor" || die
- golang_install_pkgs
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/*
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2021-06-29 7:17 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2021-06-29 7:17 UTC (permalink / raw
To: gentoo-commits
commit: 3425c19a18083394db44024923affcfb027aa6f5
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 06:06:57 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 07:16:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3425c19a
dev-go/go-tools: Bump to version 0.1.4
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 29 ++++
dev-go/go-tools/go-tools-0.1.4.ebuild | 187 ++++++++++++++++++++++++++
dev-go/go-tools/go-tools-0_pre20190911.ebuild | 117 ----------------
dev-go/go-tools/go-tools-9999.ebuild | 93 -------------
4 files changed, 216 insertions(+), 210 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index c19d83fa6fc..34eb65fe0f9 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,6 +1,35 @@
+DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
+DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
DIST github.com-golang-sync-112230192c580c3556b8cee6403af37a4fc5f28c.tar.gz 16835 BLAKE2B 51efe53ea7ab1f11f8ff078fbfa91526b97a1d918101bdbc755aa500424dda860d3a11195c1e44d033eaf7e0d09e7f327e404ad9af84f4b9747d8805b53dcf10 SHA512 bd90bb14e688fa7613d83dc8718bbb688a2f05cc8eb8c3dfbbf71daa7dc08e35044803c4bf8e5d5aab625a612e986e6f76c822c437f52132581ac37e0e2e92f9
DIST github.com-golang-xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz 12271 BLAKE2B cdcaf0bbf67399c9176786118a622fc0912036b9b0611922dd3d32ace2cac65ac288136ef228ff526e626d36c16e6f8442ffbb5df0c84fd713a669c326fa350c SHA512 719b3a3e432a928f641e15b8553d3e2c2015b1c68c633e9f13f1d57cee634544bb857518fcd75124e41a448b4c219b80dd0c1823329eb4edfc715994d40331d5
DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
+DIST go-tools-0.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
DIST go-tools-0_pre20190911.tar.gz 2264380 BLAKE2B 049d961191eec5b3bd75d9ab1dea576a9b3700cdcd06fce39ae34844af7dc045d61cbe604c16c1fd355f38c0a3e5523c0162ca37c49bd7a7d28642fa2a5b4e5e SHA512 d72f71a8d3f1b14b165d60279dd4dc110ee59ae0e716cdfa9d23610d65972c03fea7191848e5a1b38dc6a2ce96050fdd919f3251e39c0dced11be9d47087a50c
+DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
+DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.zip 141789 BLAKE2B dc517e61f7a9c895d827ff139a36b319c7dd335e85755dc394d01ceaf8b3ce07ef13201bf6d704c31895bf7d91c15acbc4ac75bc8cde065ab4f81839453e0c5c SHA512 6376ecdccd2eeaf828a2c1f560e116c003caf5e09fe68e94a37d193697c93b18bee14abbc06edca93ca57a924f9b270bbe1792df84a7bd66e3641ce6aecbc9b1
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.mod 179 BLAKE2B d4f0ad22973a6e0a06b186e217dedbea3abb1800b259c56a29da9075c36808160620b42b0a485127f713760b24b4d9d6d9a61119c5739927340436bac307f5c4 SHA512 f48731641ffad3b90daf0a8bb79fdfc607c076961dbda1c51e71eab787dca0681e5984ffce048bd655ceb56052fa64426b30b32e6ee32957c92418a16d1c9f06
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.zip 1565731 BLAKE2B 25099f5d276bba9b2d3c5e75c603dac06f3364fd09d2a2c53aaf5030d4698fc3638758d23c0a82fc118a05661b40377b74ea55c2e8f5d9add2d03527104ae80b SHA512 23da0e9ed2c647eb043e4b57e384ae335119b3766411f84cb009496a1fae85c7cefed14a92154b3e8d7e93d92187dbfde9b9cc07236ea3a7ca4052b93c6dc0dd
+DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
+DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
+DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.zip 28693 BLAKE2B 3d6a34fa6da642f5ca71c930bd69a41439013f20ee60dde5d4dfab4bf688f1edb150a0477cb006670424c6c59e90d4bac9e5eb34f9fb4c518d903dfd26fb6cb7 SHA512 48b983589bd682ff9275c47733ec73637ebb5e58e1bca0c7744101229237d5cb34170efab63db0061aec857052cce9ef03c3497702b90a86287e6be88e1b33aa
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20201119102817-f84b799fce68.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210330210617-4fbd30eecc44.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.zip 1634371 BLAKE2B b13afd43d8734f143af16046780b9225a874157e0562068c8c3198dd23f7ff4b3e14f6654b578bc7520dd3c299411ca2d77999a8ab8459a765d05e74d03e81db SHA512 b7c4ff1752cb582263b837048e28b52fa219db5f7316739692d4c2d20bb2a9b8ad3645e92b3b1a72cba0817e4587ae04465dd351bb17a719bc92e193cb29cc76
+DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.3.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
+DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191119224855-298f0cb1881e.mod 212 BLAKE2B ab1d99a25eed3af5426d8a58d249b827e4d30a046302df72c7e0b59955e65b636f4645c5c436bb21ec54ec3745b9996bce92d29826ad93cbc9120a06dc19b49a SHA512 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20190717185122-a985d3407aa7.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
+DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.zip 22295 BLAKE2B 310f892b8ce32810a1afef53335428d73bc23e749e52d00d7624afea2d10422b1b73507026daf23efd2384b81262c4c7862c22da23f6fb43c1b5f79a51170d5e SHA512 34044424d303f5032d4fd302bbf1aca390d45e876583cc223fddf0d685a6eec2bde0a4c1b82c4e471eb5be97fc8aea9b14695b07940d1ecde806636a85d12051
diff --git a/dev-go/go-tools/go-tools-0.1.4.ebuild b/dev-go/go-tools/go-tools-0.1.4.ebuild
new file mode 100644
index 00000000000..2807b22e10a
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0.1.4.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+EGIT_COMMIT="v${PV}"
+ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SLOT="0"
+LICENSE="BSD MIT"
+
+EGO_SUM=(
+"github.com/yuin/goldmark v1.3.5"
+"github.com/yuin/goldmark v1.3.5/go.mod"
+"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
+"golang.org/x/mod v0.4.2"
+"golang.org/x/mod v0.4.2/go.mod"
+"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
+"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
+"golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4"
+"golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod"
+"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
+"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
+"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
+"golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod"
+"golang.org/x/sys v0.0.0-20210510120138-977fb7262007"
+"golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod"
+"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+"golang.org/x/text v0.3.0/go.mod"
+"golang.org/x/text v0.3.3/go.mod"
+"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
+"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
+"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
+)
+
+go-module_set_globals
+SRC_URI="
+ ${ARCHIVE_URI}
+ ${EGO_SUM_SRC_URI}
+"
+
+GO_TOOLS_PROGS=(
+ authtest
+ benchcmp
+ bundle
+ callgraph
+ compilebench
+ cookieauth
+ cover
+ digraph
+ eg
+ fieldalignment
+ findcall
+ fiximports
+ getgo
+ gitauth
+ go-contrib-init
+ godex
+ godoc
+ goimports
+ gomvpkg
+ gopackages
+ gorename
+ gostacks
+ gotype
+ goyacc
+ guru
+ helper
+ html2article
+ ifaceassert
+ lostcancel
+ netrcauth
+ nilness
+ present
+ present2md
+ server
+ shadow
+ splitdwarf
+ ssadump
+ stress
+ stringer
+ stringintconv
+ toolstash
+ unmarshal
+)
+
+S=${WORKDIR}/${P#go-}
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ go-module_setup_proxy
+}
+
+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
+}
+
+src_compile() {
+ local packages
+ readarray -t packages < <(go list ./...)
+ (( ${#packages[@]} > 0 )) || die "go list failed"
+ GOBIN="${S}/bin" go install -work "${packages[@]}"
+
+ local expected_progs=("${GO_TOOLS_PROGS[@]}")
+ local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
+ if [[ -n ${progs_diff} ]]; then
+ printf -- '%s\n' "${progs_diff}"
+ die "difference in expected vs build programs"
+ fi
+}
+
+src_test() {
+ go test -work "./..." || die
+}
+
+src_install() {
+ # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
+ exeinto "$(go env GOROOT)/bin"
+ doexe bin/*
+ dodir /usr/bin
+ ln "${ED}/$(go env GOROOT)/bin/godoc" "${ED}/usr/bin/godoc" || die
+}
diff --git a/dev-go/go-tools/go-tools-0_pre20190911.ebuild b/dev-go/go-tools/go-tools-0_pre20190911.ebuild
deleted file mode 100644
index 5a326334fe1..00000000000
--- a/dev-go/go-tools/go-tools-0_pre20190911.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-EGO_PN="golang.org/x/tools"
-
-EGO_VENDOR=(
- "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net"
- "golang.org/x/sync 112230192c580c3556b8cee6403af37a4fc5f28c github.com/golang/sync"
- "golang.org/x/xerrors a985d3407aa71f30cf86696ee0a2f409709f22e1 github.com/golang/xerrors"
-)
-
-EGIT_COMMIT="6bfd74cf029c99138aa1bb5b7e0d6b57c9d4eb49"
-ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
-inherit golang-build golang-vcs-snapshot
-
-DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-GO_FAVICON="go-favicon-20181103162401.ico"
-SRC_URI="${ARCHIVE_URI}
- ${EGO_VENDOR_URI}
- mirror://gentoo/${GO_FAVICON}
- https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-src_prepare() {
- default
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/${GO_FAVICON} "godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i godoc/static/gen.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i godoc/static/godoc.html || die
- 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:TestCgoOption(:_\0:' \
- -e 's:TestStdlib(:_\0:' \
- -i go/loader/stdlib_test.go || die
- sed -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:' \
- -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:TestScanNestedModuleInLocalReplace(:_\0:' \
- -i internal/imports/mod_test.go || die
-}
-
-src_compile() {
- export -n GOCACHE XDG_CACHE_HOME #678964
- export GOPATH="${WORKDIR}/${P}" GO111MODULE=on GOFLAGS="-mod=vendor -v -x"
-
- # Generate static.go with favicon included
- pushd godoc/static >/dev/null || die
- go run makestatic.go || die
- popd >/dev/null
-
- go install -work ${EGO_BUILD_FLAGS} \
- $(GOPATH="${WORKDIR}/${P}" go list ./...) || die
-}
-
-src_test() {
- go test -work "${EGO_PN}/..." || die
-}
-
-src_install() {
- rm -rf vendor || die
- pushd "${WORKDIR}/${P}"
- golang_install_pkgs
- popd >/dev/null
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe "${WORKDIR}/${P}"/bin/*
- dodir /usr/bin
- ln "${ED}/$(go env GOROOT)/bin/godoc" "${ED}/usr/bin/godoc" || die
-}
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
deleted file mode 100644
index 7b130f58c15..00000000000
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_SRC="golang.org/x/tools"
-EGO_PN="${EGO_SRC}/..."
-
-# vendor the net package due to a circular dependency
-GO_NET_COMMIT="aaf60122140d3fcf75376d319f0554393160eb50"
-EGO_VENDOR=( "golang.org/x/net ${GO_NET_COMMIT} github.com/golang/net" )
-
-if [[ ${PV} = *9999* ]]; then
- ARCHIVE_URI=""
- inherit golang-vcs
-else
- EGIT_COMMIT="7d1dc997617fb662918b6ea95efc19faa87e1cf8"
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
- inherit golang-vcs-snapshot
-fi
-inherit golang-build
-
-DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-GO_FAVICON="go-favicon-20181103162401.ico"
-SRC_URI="${ARCHIVE_URI}
- https://github.com/golang/net/archive/${GO_NET_COMMIT}.tar.gz -> github.com-golang-net-${GO_NET_COMMIT}.tar.gz
- mirror://gentoo/${GO_FAVICON}
- https://dev.gentoo.org/~zmedico/distfiles/${GO_FAVICON}"
-LICENSE="BSD"
-SLOT="0/${PVR}"
-
-src_unpack() {
- golang-vcs_src_unpack
- mkdir -p "${WORKDIR}/${P}/src/${EGO_SRC}/vendor/golang.org/x/net" || die
- tar -C "${WORKDIR}/${P}/src/${EGO_SRC}/vendor/golang.org/x/net" -x --strip-components 1 \
- -f "${DISTDIR}/github.com-golang-net-${GO_NET_COMMIT}.tar.gz" || die
-}
-
-src_prepare() {
- default
- # Add favicon to the godoc web interface (bug 551030)
- cp "${DISTDIR}"/${GO_FAVICON} "src/${EGO_SRC}/godoc/static/favicon.ico" ||
- die
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \
- -i src/${EGO_SRC}/godoc/static/gen.go || die
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \
- -i src/${EGO_SRC}/godoc/static/godoc.html || die
- sed -e 's:TestVeryLongFile(:_\0:' \
- -i src/${EGO_SRC}/go/internal/gcimporter/bexport_test.go || die
- sed -e 's:TestLoadSyntaxOK(:_\0:' \
- -i src/${EGO_SRC}/go/packages/packages_test.go || die
- sed -e 's:TestCgoOption(:_\0:' \
- -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/loader/stdlib_test.go || die
- sed -e 's:TestStdlib(:_\0:' \
- -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die
- sed -e 's:TestWebIndex(:_\0:' \
- -e 's:TestTypeAnalysis(:_\0:' \
- -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die
- sed -e 's:TestImportStdLib(:_\0:' \
- -i src/${EGO_SRC}/go/internal/gcimporter/gcimporter_test.go || die
- sed -e 's:TestVeryLongFile(:_\0:' \
- -i src/${EGO_SRC}/go/internal/gcimporter/bexport_test.go || die
-}
-
-src_compile() {
- export -n GOCACHE XDG_CACHE_HOME #678964
- # Generate static.go with favicon included
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die
- GOPATH="${S}" GOBIN="${S}/bin" \
- go run makestatic.go || die
- popd >/dev/null
-
- GOPATH="${S}" GOBIN="${S}/bin" \
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
-}
-
-src_test() {
- GOPATH="${S}" GOBIN="${S}/bin" \
- go test -v -work -x "${EGO_PN}" || die
-}
-
-src_install() {
- rm -rf "${S}/src/${EGO_SRC}/"{.git,vendor} || die
- golang_install_pkgs
-
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
- doexe bin/*
- dodir /usr/bin
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2021-06-29 7:25 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2021-06-29 7:25 UTC (permalink / raw
To: gentoo-commits
commit: b248d13cd883bea37033ec055d9c4a42e1f4ba9e
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 07:25:17 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 07:25:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b248d13c
dev-go/go-tools: Clean unused DIST from Manifest
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 6 ------
1 file changed, 6 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 34eb65fe0f9..b32d5b1f35b 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,12 +1,6 @@
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
-DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b
-DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9
-DIST github.com-golang-sync-112230192c580c3556b8cee6403af37a4fc5f28c.tar.gz 16835 BLAKE2B 51efe53ea7ab1f11f8ff078fbfa91526b97a1d918101bdbc755aa500424dda860d3a11195c1e44d033eaf7e0d09e7f327e404ad9af84f4b9747d8805b53dcf10 SHA512 bd90bb14e688fa7613d83dc8718bbb688a2f05cc8eb8c3dfbbf71daa7dc08e35044803c4bf8e5d5aab625a612e986e6f76c822c437f52132581ac37e0e2e92f9
-DIST github.com-golang-xerrors-a985d3407aa71f30cf86696ee0a2f409709f22e1.tar.gz 12271 BLAKE2B cdcaf0bbf67399c9176786118a622fc0912036b9b0611922dd3d32ace2cac65ac288136ef228ff526e626d36c16e6f8442ffbb5df0c84fd713a669c326fa350c SHA512 719b3a3e432a928f641e15b8553d3e2c2015b1c68c633e9f13f1d57cee634544bb857518fcd75124e41a448b4c219b80dd0c1823329eb4edfc715994d40331d5
-DIST go-favicon-20181103162401.ico 5686 BLAKE2B 331d7684a569fc40fcd147eb812661f42b0ee3ca4c017515c33523b588b012763ce29f24bfce5bc7274e7560ff7dd8e872af43d2b51dc0722ac416b43c11f841 SHA512 0a6fe8bddbce99ed7fd035a3dc998dc9e893060854eee9d1c70bcc8de77b71fd3bd203b2de0f1c9a146f7d47555ab856389e16a372ee41f4ab57be611877fc16
DIST go-tools-0.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
-DIST go-tools-0_pre20190911.tar.gz 2264380 BLAKE2B 049d961191eec5b3bd75d9ab1dea576a9b3700cdcd06fce39ae34844af7dc045d61cbe604c16c1fd355f38c0a3e5523c0162ca37c49bd7a7d28642fa2a5b4e5e SHA512 d72f71a8d3f1b14b165d60279dd4dc110ee59ae0e716cdfa9d23610d65972c03fea7191848e5a1b38dc6a2ce96050fdd919f3251e39c0dced11be9d47087a50c
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2021-07-15 7:13 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2021-07-15 7:13 UTC (permalink / raw
To: gentoo-commits
commit: cf829d50a6868b44de782d1e56b22a70ea8a4243
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 15 07:12:12 2021 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Jul 15 07:12:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf829d50
dev-go/go-tools: Fix double EPREFIX
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0.1.4.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0.1.4.ebuild b/dev-go/go-tools/go-tools-0.1.4.ebuild
index 2807b22e10a..36df26227c4 100644
--- a/dev-go/go-tools/go-tools-0.1.4.ebuild
+++ b/dev-go/go-tools/go-tools-0.1.4.ebuild
@@ -180,8 +180,10 @@ src_test() {
src_install() {
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
- exeinto "$(go env GOROOT)/bin"
+ local goroot=$(go env GOROOT)
+ goroot=${goroot#${EPREFIX}}
+ exeinto "${goroot}/bin"
doexe bin/*
dodir /usr/bin
- ln "${ED}/$(go env GOROOT)/bin/godoc" "${ED}/usr/bin/godoc" || die
+ ln "${ED}/${goroot}/bin/godoc" "${ED}/usr/bin/godoc" || die
}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2022-02-13 19:10 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2022-02-13 19:10 UTC (permalink / raw
To: gentoo-commits
commit: e6d072b47438053a1b6d0e2c55fc51b773af6c9b
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 19:10:24 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 19:10:44 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6d072b4
dev-go/go-tools: Bump to version 0.1.9
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 13 +++
dev-go/go-tools/go-tools-0.1.9.ebuild | 195 ++++++++++++++++++++++++++++++++++
2 files changed, 208 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index b32d5b1f35b9..6274b78cc4ee 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,14 +1,21 @@
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
+DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
+DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.zip 271753 BLAKE2B cccc7008adba51c52fac08e94dd38ecb44b47917af709808056219efba166ff1f7b1e5be29a132e800a67cc5b5f5238ec0a5d3e2cf5f6f516fcdd20da016b433 SHA512 bf46c66ed50afa151505f5bb0785439fc9b9ac90e056385a15aef9c62b0f95aaec26efb364f69533ff94c152b874ec47615d87e48d4660ff98f9b7d5ffba8362
DIST go-tools-0.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
+DIST go-tools-0.1.9.tar.gz 2939407 BLAKE2B 3f610322c6f2d088039a66eaa2ae1ff01ff5bd24adb8ae8a028b11b10cd66ee7aea274d24b4e97128eeb24d9ee65db5491b21415c1c76f198532d0d54c7541f4 SHA512 dda788aa91db9c3e7ec2b09b8742055259ffaa74d1da971060458b3545f12336116fc65f30b3237209aa024d721c54a9a9d92007ae6d0254e9c14ecfc8749012
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.zip 141789 BLAKE2B dc517e61f7a9c895d827ff139a36b319c7dd335e85755dc394d01ceaf8b3ce07ef13201bf6d704c31895bf7d91c15acbc4ac75bc8cde065ab4f81839453e0c5c SHA512 6376ecdccd2eeaf828a2c1f560e116c003caf5e09fe68e94a37d193697c93b18bee14abbc06edca93ca57a924f9b270bbe1792df84a7bd66e3641ce6aecbc9b1
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.mod 214 BLAKE2B 06631482606d93f3622eb79087adb11f0fedc16eeee47c327d9542003c05828faca6ec89fb5a7b6479dbbb951126f85d3b11afff772bdddba37db3d99c0174ec SHA512 8ad3d2d81f0192ba3215650546e1cc1eb2d58f2c9898929e565233388d95bb2d1a334d038e9807a44733fe6a218ac0b32de24d16fe9d208addcd67cdc2ae8f79
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.zip 150900 BLAKE2B a376dc6f6413f699d69f6ee1c25f85e457fc602cc8cb23841aad223daac91598a98535ad9398bba2e8346c4450a5523129628546a6db69dbed84894c3bffdff2 SHA512 71dd98468c11a0b56877ec92ac220d0b34136e8c85075dc9aeb413cdab0fdb7937fa3000c370feff3e43b9466ee8541fc3aaadfa46d900616378b7fe7dc3fecf
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.mod 179 BLAKE2B d4f0ad22973a6e0a06b186e217dedbea3abb1800b259c56a29da9075c36808160620b42b0a485127f713760b24b4d9d6d9a61119c5739927340436bac307f5c4 SHA512 f48731641ffad3b90daf0a8bb79fdfc607c076961dbda1c51e71eab787dca0681e5984ffce048bd655ceb56052fa64426b30b32e6ee32957c92418a16d1c9f06
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.zip 1565731 BLAKE2B 25099f5d276bba9b2d3c5e75c603dac06f3364fd09d2a2c53aaf5030d4698fc3638758d23c0a82fc118a05661b40377b74ea55c2e8f5d9add2d03527104ae80b SHA512 23da0e9ed2c647eb043e4b57e384ae335119b3766411f84cb009496a1fae85c7cefed14a92154b3e8d7e93d92187dbfde9b9cc07236ea3a7ca4052b93c6dc0dd
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.zip 1576711 BLAKE2B fe83dd9a02465f4c5c6c8e4cb971b7c726b3ae5212d1862670a0b4e70e7ccec3622e390eb1968598f70b0bbb1c91f2464ab5ae3fea4873c4557fca8a6379a9d6 SHA512 eece131bb601a895a59c93f63bf96982f3b271a9f3bb66f819a6bfa04c54206b78a14a564d0b8f58ad7f8ae3b3e4475cee2eb22ff04db266187de47e000aed89
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.zip 28693 BLAKE2B 3d6a34fa6da642f5ca71c930bd69a41439013f20ee60dde5d4dfab4bf688f1edb150a0477cb006670424c6c59e90d4bac9e5eb34f9fb4c518d903dfd26fb6cb7 SHA512 48b983589bd682ff9275c47733ec73637ebb5e58e1bca0c7744101229237d5cb34170efab63db0061aec857052cce9ef03c3497702b90a86287e6be88e1b33aa
@@ -16,11 +23,17 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20201119102817-f84b799fce68.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210330210617-4fbd30eecc44.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210423082822-04245dca01da.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.zip 1634371 BLAKE2B b13afd43d8734f143af16046780b9225a874157e0562068c8c3198dd23f7ff4b3e14f6654b578bc7520dd3c299411ca2d77999a8ab8459a765d05e74d03e81db SHA512 b7c4ff1752cb582263b837048e28b52fa219db5f7316739692d4c2d20bb2a9b8ad3645e92b3b1a72cba0817e4587ae04465dd351bb17a719bc92e193cb29cc76
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.zip 1667445 BLAKE2B a9a8930675519b134e8b1227b18fc8af991ebd531ea1e4cc66b51d5f9989e295e156c46b4662b37b44ce750987ca7b5385cb7db2e511bdaeebaaedd31e51e833 SHA512 654a5674688eb771be446b9e163796fd709b2b742cdc2179a981a03127bee29f2e47b50da73c73021c6e1ec0a00dcca4cde53312f7ce5a30ec7d8a3c7cb5a466
DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.3.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.mod 97 BLAKE2B cba29395bf9693152732776bde498cfd90a27c053feb5d1ca655e5e792ff68b9cd0a519bdff559450491e918a171c8a4fdbd4c0b4bcc9b578182f63ca37754db SHA512 e77211a503c35d8b6c392fc1b44daed580659b997673cd312ae8e579d1d715d7a53f8f0f0dd2d4dedbc6c5ca5ab7e3d52269a6536a42824cce267c89eb29cbbd
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.zip 8610883 BLAKE2B 768763b6da537c25448ff274da90261ad33a527e58a5749108d9d889b326051f7bb86a64ffea0a8dc2850260223a8b60ada4615290a9ba1b9a0725bb03c3323c SHA512 fb5d646d5f23fbb33acfe486714d647d7da091fc47cc7ec805afa4f78b070ed3ccc0022428f4672280ff85a7b4d8af3543647647f00ce62f2f3a18a6d425f863
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191119224855-298f0cb1881e.mod 212 BLAKE2B ab1d99a25eed3af5426d8a58d249b827e4d30a046302df72c7e0b59955e65b636f4645c5c436bb21ec54ec3745b9996bce92d29826ad93cbc9120a06dc19b49a SHA512 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20190717185122-a985d3407aa7.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
diff --git a/dev-go/go-tools/go-tools-0.1.9.ebuild b/dev-go/go-tools/go-tools-0.1.9.ebuild
new file mode 100644
index 000000000000..641be8556f84
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0.1.9.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+EGIT_COMMIT="v${PV}"
+ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SLOT="0"
+LICENSE="BSD MIT"
+
+EGO_SUM=(
+"github.com/yuin/goldmark v1.4.1"
+"github.com/yuin/goldmark v1.4.1/go.mod"
+"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
+"golang.org/x/mod v0.5.1"
+"golang.org/x/mod v0.5.1/go.mod"
+"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
+"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
+"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f"
+"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod"
+"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
+"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
+"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
+"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
+"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654"
+"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod"
+"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+"golang.org/x/text v0.3.0/go.mod"
+"golang.org/x/text v0.3.0/go.mod"
+"golang.org/x/text v0.3.6/go.mod"
+"golang.org/x/text v0.3.7"
+"golang.org/x/text v0.3.7/go.mod"
+"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
+"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
+"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
+)
+
+go-module_set_globals
+SRC_URI="
+ ${ARCHIVE_URI}
+ ${EGO_SUM_SRC_URI}
+"
+
+GO_TOOLS_PROGS=(
+ authtest
+ benchcmp
+ bundle
+ callgraph
+ compilebench
+ cookieauth
+ cover
+ digraph
+ eg
+ fieldalignment
+ file2fuzz
+ findcall
+ fiximports
+ getgo
+ gitauth
+ go-contrib-init
+ godex
+ godoc
+ goimports
+ gomvpkg
+ gopackages
+ gorename
+ gostacks
+ gotype
+ goyacc
+ guru
+ helper
+ html2article
+ ifaceassert
+ lostcancel
+ netrcauth
+ nilness
+ present
+ present2md
+ server
+ shadow
+ splitdwarf
+ ssadump
+ stress
+ stringer
+ stringintconv
+ toolstash
+ unmarshal
+)
+
+S=${WORKDIR}/${P#go-}
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ go-module_setup_proxy
+}
+
+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 < <(go list ./...)
+ (( ${#packages[@]} > 0 )) || die "go list failed"
+ GOBIN="${S}/bin" go install -work "${packages[@]}"
+
+ local expected_progs=("${GO_TOOLS_PROGS[@]}")
+ local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
+ if [[ -n ${progs_diff} ]]; then
+ printf -- '%s\n' "${progs_diff}"
+ die "difference in expected vs build programs"
+ fi
+}
+
+src_test() {
+ go test -work "./..." || die
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2022-03-16 3:41 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2022-03-16 3:41 UTC (permalink / raw
To: gentoo-commits
commit: be9cfed33e0c773c0522c6cbb669acb57ba4f941
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 16 03:40:17 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar 16 03:41:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9cfed3
dev-go/go-tools: add 0.1.10
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 | 199 +++++++++++++++++++++++++++++++++
2 files changed, 205 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 6274b78cc4ee..4a71fc542280 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -2,16 +2,21 @@ DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.zip 271753 BLAKE2B cccc7008adba51c52fac08e94dd38ecb44b47917af709808056219efba166ff1f7b1e5be29a132e800a67cc5b5f5238ec0a5d3e2cf5f6f516fcdd20da016b433 SHA512 bf46c66ed50afa151505f5bb0785439fc9b9ac90e056385a15aef9c62b0f95aaec26efb364f69533ff94c152b874ec47615d87e48d4660ff98f9b7d5ffba8362
+DIST go-tools-0.1.10.tar.gz 3014465 BLAKE2B f3b6129ad00385539eab3426bc542a120bd41d3984174d5d8b91bee6435d7a179c0058f2a50de3235a07e5b67f6d9657288bd578591d61187447441bb6408e76 SHA512 9c817c98739a1788b7fb459728528b5c647226e64df495661c1b3027bfa571e884d6c28d8796558b65e2ba54774976897bddcd052568f33d4e30ce8ee5d883e1
DIST go-tools-0.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
DIST go-tools-0.1.9.tar.gz 2939407 BLAKE2B 3f610322c6f2d088039a66eaa2ae1ff01ff5bd24adb8ae8a028b11b10cd66ee7aea274d24b4e97128eeb24d9ee65db5491b21415c1c76f198532d0d54c7541f4 SHA512 dda788aa91db9c3e7ec2b09b8742055259ffaa74d1da971060458b3545f12336116fc65f30b3237209aa024d721c54a9a9d92007ae6d0254e9c14ecfc8749012
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
+DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20210921155107-089bfa567519.mod 247 BLAKE2B 20aabe045c2a6dd88b13c66106c962e31d3da87b33accf5085106d9e9c43fed4d5867909580ad37ea560d791e1a3243ddc2dff81ac6205f7fb949a46b0c3634d SHA512 32f94123c2845965432016800e6f051341f6d5d0af3678e367ac6c55022c68e86e929cc545a576d466f2533c235c29fb72542de75eae7419dfb5640cd80df3ef
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.zip 141789 BLAKE2B dc517e61f7a9c895d827ff139a36b319c7dd335e85755dc394d01ceaf8b3ce07ef13201bf6d704c31895bf7d91c15acbc4ac75bc8cde065ab4f81839453e0c5c SHA512 6376ecdccd2eeaf828a2c1f560e116c003caf5e09fe68e94a37d193697c93b18bee14abbc06edca93ca57a924f9b270bbe1792df84a7bd66e3641ce6aecbc9b1
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.mod 214 BLAKE2B 06631482606d93f3622eb79087adb11f0fedc16eeee47c327d9542003c05828faca6ec89fb5a7b6479dbbb951126f85d3b11afff772bdddba37db3d99c0174ec SHA512 8ad3d2d81f0192ba3215650546e1cc1eb2d58f2c9898929e565233388d95bb2d1a334d038e9807a44733fe6a218ac0b32de24d16fe9d208addcd67cdc2ae8f79
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.zip 150900 BLAKE2B a376dc6f6413f699d69f6ee1c25f85e457fc602cc8cb23841aad223daac91598a98535ad9398bba2e8346c4450a5523129628546a6db69dbed84894c3bffdff2 SHA512 71dd98468c11a0b56877ec92ac220d0b34136e8c85075dc9aeb413cdab0fdb7937fa3000c370feff3e43b9466ee8541fc3aaadfa46d900616378b7fe7dc3fecf
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.6.0-dev.0.20220106191415-9b9b3d81d5e3.mod 214 BLAKE2B 16182f3f568cd09aaab4ea54290e9c0242ff47003d7160932ced3b2bddf2f333c331d600aae49aad6ec7901f2c7c71d08f8fc93e2c5e04e0d37c115b0c814800 SHA512 8ad9ed616127b7e63049d470e02d2ab91345b3feaea4848702a67d1d39069e2a50743d7684cf35341bc0acf5594409025f6dd67d1a61edfbaf68b5e51ff4e8db
+DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.6.0-dev.0.20220106191415-9b9b3d81d5e3.zip 169189 BLAKE2B cc2885cf1633e00ed387b67f7139d8f95d768b7d1b17a5fe90b88fb39d513766db08fbe75f0cf06e4b3bbbad4375716cfc67789a5634af51c75ebed3db60870c SHA512 3aca63d656dc70e1ad3e4a74917cc43f97ca42ca0491cd526632f70a3ca65a5aedd279d4efc6e276b6678070d4d31bc47df371fa256e7167fae484418a611c12
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210226172049-e18ecbb05110.mod 179 BLAKE2B 509f289757a1f923d7b423a77cc3f1ddb08a2ee3eedb8f5f3869c2011a86121e79f02a34fb73076255e6973c8d66ca47b4690c34d7d3a5d33e1dbd04c4ea092c SHA512 f8ad754f922057fe78b5497cc77089a5eedc774800b2728a3ccd74cc82d83ba1ff00cc2d28110d5535623b733af7e34616f2fe127e68a936b9551395487ec146
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.mod 179 BLAKE2B d4f0ad22973a6e0a06b186e217dedbea3abb1800b259c56a29da9075c36808160620b42b0a485127f713760b24b4d9d6d9a61119c5739927340436bac307f5c4 SHA512 f48731641ffad3b90daf0a8bb79fdfc607c076961dbda1c51e71eab787dca0681e5984ffce048bd655ceb56052fa64426b30b32e6ee32957c92418a16d1c9f06
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.zip 1565731 BLAKE2B 25099f5d276bba9b2d3c5e75c603dac06f3364fd09d2a2c53aaf5030d4698fc3638758d23c0a82fc118a05661b40377b74ea55c2e8f5d9add2d03527104ae80b SHA512 23da0e9ed2c647eb043e4b57e384ae335119b3766411f84cb009496a1fae85c7cefed14a92154b3e8d7e93d92187dbfde9b9cc07236ea3a7ca4052b93c6dc0dd
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5
@@ -26,6 +31,7 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210330210617-4fbd30eecc44.mod 33 BLAKE
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210423082822-04245dca01da.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.zip 1634371 BLAKE2B b13afd43d8734f143af16046780b9225a874157e0562068c8c3198dd23f7ff4b3e14f6654b578bc7520dd3c299411ca2d77999a8ab8459a765d05e74d03e81db SHA512 b7c4ff1752cb582263b837048e28b52fa219db5f7316739692d4c2d20bb2a9b8ad3645e92b3b1a72cba0817e4587ae04465dd351bb17a719bc92e193cb29cc76
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210615035016-665e8c7367d1.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.zip 1667445 BLAKE2B a9a8930675519b134e8b1227b18fc8af991ebd531ea1e4cc66b51d5f9989e295e156c46b4662b37b44ce750987ca7b5385cb7db2e511bdaeebaaedd31e51e833 SHA512 654a5674688eb771be446b9e163796fd709b2b742cdc2179a981a03127bee29f2e47b50da73c73021c6e1ec0a00dcca4cde53312f7ce5a30ec7d8a3c7cb5a466
DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
diff --git a/dev-go/go-tools/go-tools-0.1.10.ebuild b/dev-go/go-tools/go-tools-0.1.10.ebuild
new file mode 100644
index 000000000000..c90a9d3fd6df
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0.1.10.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+
+EGIT_COMMIT="v${PV}"
+ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~x86"
+DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
+HOMEPAGE="https://godoc.org/golang.org/x/tools"
+SLOT="0"
+LICENSE="BSD MIT"
+
+EGO_SUM=(
+"github.com/yuin/goldmark v1.4.1"
+"github.com/yuin/goldmark v1.4.1/go.mod"
+"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+"golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod"
+"golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3"
+"golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod"
+"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
+"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
+"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f"
+"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod"
+"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
+"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
+"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
+"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
+"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
+"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654"
+"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod"
+"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
+"golang.org/x/text v0.3.0/go.mod"
+"golang.org/x/text v0.3.0/go.mod"
+"golang.org/x/text v0.3.3/go.mod"
+"golang.org/x/text v0.3.6/go.mod"
+"golang.org/x/text v0.3.7"
+"golang.org/x/text v0.3.7/go.mod"
+"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
+"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
+"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
+"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
+"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
+)
+
+go-module_set_globals
+SRC_URI="
+ ${ARCHIVE_URI}
+ ${EGO_SUM_SRC_URI}
+"
+
+GO_TOOLS_PROGS=(
+ authtest
+ benchcmp
+ bundle
+ callgraph
+ compilebench
+ cookieauth
+ cover
+ digraph
+ eg
+ fieldalignment
+ file2fuzz
+ findcall
+ findtypeparams
+ fiximports
+ fuzz-driver
+ fuzz-runner
+ getgo
+ gitauth
+ go-contrib-init
+ godex
+ godoc
+ goimports
+ gomvpkg
+ gopackages
+ gorename
+ gostacks
+ gotype
+ goyacc
+ guru
+ helper
+ html2article
+ ifaceassert
+ lostcancel
+ netrcauth
+ nilness
+ present
+ present2md
+ server
+ shadow
+ splitdwarf
+ ssadump
+ stress
+ stringer
+ stringintconv
+ toolstash
+ unmarshal
+)
+
+S=${WORKDIR}/${P#go-}
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ go-module_setup_proxy
+}
+
+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 < <(go list ./...)
+ (( ${#packages[@]} > 0 )) || die "go list failed"
+ GOBIN="${S}/bin" go install -work "${packages[@]}"
+
+ local expected_progs=("${GO_TOOLS_PROGS[@]}")
+ local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
+ if [[ -n ${progs_diff} ]]; then
+ printf -- '%s\n' "${progs_diff}"
+ die "difference in expected vs build programs"
+ fi
+}
+
+src_test() {
+ go test -work "./..." || die
+}
+
+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
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2022-04-05 18:08 William Hubbs
0 siblings, 0 replies; 44+ messages in thread
From: William Hubbs @ 2022-04-05 18:08 UTC (permalink / raw
To: gentoo-commits
commit: 8adb51c3349163c42b92eed6b91e8c59a901270c
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 5 18:07:07 2022 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Apr 5 18:07:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8adb51c3
dev-go/go-tools: update EAPI 7 -> 8
Also convert to a dependency tarball.
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
dev-go/go-tools/Manifest | 6 +-
dev-go/go-tools/go-tools-0.1.10.ebuild | 121 +++------------------------------
2 files changed, 10 insertions(+), 117 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 4a71fc542280..931e067c01d9 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -2,21 +2,18 @@ DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.zip 271753 BLAKE2B cccc7008adba51c52fac08e94dd38ecb44b47917af709808056219efba166ff1f7b1e5be29a132e800a67cc5b5f5238ec0a5d3e2cf5f6f516fcdd20da016b433 SHA512 bf46c66ed50afa151505f5bb0785439fc9b9ac90e056385a15aef9c62b0f95aaec26efb364f69533ff94c152b874ec47615d87e48d4660ff98f9b7d5ffba8362
+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.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
DIST go-tools-0.1.9.tar.gz 2939407 BLAKE2B 3f610322c6f2d088039a66eaa2ae1ff01ff5bd24adb8ae8a028b11b10cd66ee7aea274d24b4e97128eeb24d9ee65db5491b21415c1c76f198532d0d54c7541f4 SHA512 dda788aa91db9c3e7ec2b09b8742055259ffaa74d1da971060458b3545f12336116fc65f30b3237209aa024d721c54a9a9d92007ae6d0254e9c14ecfc8749012
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
-DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20210921155107-089bfa567519.mod 247 BLAKE2B 20aabe045c2a6dd88b13c66106c962e31d3da87b33accf5085106d9e9c43fed4d5867909580ad37ea560d791e1a3243ddc2dff81ac6205f7fb949a46b0c3634d SHA512 32f94123c2845965432016800e6f051341f6d5d0af3678e367ac6c55022c68e86e929cc545a576d466f2533c235c29fb72542de75eae7419dfb5640cd80df3ef
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.zip 141789 BLAKE2B dc517e61f7a9c895d827ff139a36b319c7dd335e85755dc394d01ceaf8b3ce07ef13201bf6d704c31895bf7d91c15acbc4ac75bc8cde065ab4f81839453e0c5c SHA512 6376ecdccd2eeaf828a2c1f560e116c003caf5e09fe68e94a37d193697c93b18bee14abbc06edca93ca57a924f9b270bbe1792df84a7bd66e3641ce6aecbc9b1
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.mod 214 BLAKE2B 06631482606d93f3622eb79087adb11f0fedc16eeee47c327d9542003c05828faca6ec89fb5a7b6479dbbb951126f85d3b11afff772bdddba37db3d99c0174ec SHA512 8ad3d2d81f0192ba3215650546e1cc1eb2d58f2c9898929e565233388d95bb2d1a334d038e9807a44733fe6a218ac0b32de24d16fe9d208addcd67cdc2ae8f79
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.zip 150900 BLAKE2B a376dc6f6413f699d69f6ee1c25f85e457fc602cc8cb23841aad223daac91598a98535ad9398bba2e8346c4450a5523129628546a6db69dbed84894c3bffdff2 SHA512 71dd98468c11a0b56877ec92ac220d0b34136e8c85075dc9aeb413cdab0fdb7937fa3000c370feff3e43b9466ee8541fc3aaadfa46d900616378b7fe7dc3fecf
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.6.0-dev.0.20220106191415-9b9b3d81d5e3.mod 214 BLAKE2B 16182f3f568cd09aaab4ea54290e9c0242ff47003d7160932ced3b2bddf2f333c331d600aae49aad6ec7901f2c7c71d08f8fc93e2c5e04e0d37c115b0c814800 SHA512 8ad9ed616127b7e63049d470e02d2ab91345b3feaea4848702a67d1d39069e2a50743d7684cf35341bc0acf5594409025f6dd67d1a61edfbaf68b5e51ff4e8db
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.6.0-dev.0.20220106191415-9b9b3d81d5e3.zip 169189 BLAKE2B cc2885cf1633e00ed387b67f7139d8f95d768b7d1b17a5fe90b88fb39d513766db08fbe75f0cf06e4b3bbbad4375716cfc67789a5634af51c75ebed3db60870c SHA512 3aca63d656dc70e1ad3e4a74917cc43f97ca42ca0491cd526632f70a3ca65a5aedd279d4efc6e276b6678070d4d31bc47df371fa256e7167fae484418a611c12
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210226172049-e18ecbb05110.mod 179 BLAKE2B 509f289757a1f923d7b423a77cc3f1ddb08a2ee3eedb8f5f3869c2011a86121e79f02a34fb73076255e6973c8d66ca47b4690c34d7d3a5d33e1dbd04c4ea092c SHA512 f8ad754f922057fe78b5497cc77089a5eedc774800b2728a3ccd74cc82d83ba1ff00cc2d28110d5535623b733af7e34616f2fe127e68a936b9551395487ec146
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.mod 179 BLAKE2B d4f0ad22973a6e0a06b186e217dedbea3abb1800b259c56a29da9075c36808160620b42b0a485127f713760b24b4d9d6d9a61119c5739927340436bac307f5c4 SHA512 f48731641ffad3b90daf0a8bb79fdfc607c076961dbda1c51e71eab787dca0681e5984ffce048bd655ceb56052fa64426b30b32e6ee32957c92418a16d1c9f06
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.zip 1565731 BLAKE2B 25099f5d276bba9b2d3c5e75c603dac06f3364fd09d2a2c53aaf5030d4698fc3638758d23c0a82fc118a05661b40377b74ea55c2e8f5d9add2d03527104ae80b SHA512 23da0e9ed2c647eb043e4b57e384ae335119b3766411f84cb009496a1fae85c7cefed14a92154b3e8d7e93d92187dbfde9b9cc07236ea3a7ca4052b93c6dc0dd
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5
@@ -31,7 +28,6 @@ DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210330210617-4fbd30eecc44.mod 33 BLAKE
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210423082822-04245dca01da.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.zip 1634371 BLAKE2B b13afd43d8734f143af16046780b9225a874157e0562068c8c3198dd23f7ff4b3e14f6654b578bc7520dd3c299411ca2d77999a8ab8459a765d05e74d03e81db SHA512 b7c4ff1752cb582263b837048e28b52fa219db5f7316739692d4c2d20bb2a9b8ad3645e92b3b1a72cba0817e4587ae04465dd351bb17a719bc92e193cb29cc76
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210615035016-665e8c7367d1.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.zip 1667445 BLAKE2B a9a8930675519b134e8b1227b18fc8af991ebd531ea1e4cc66b51d5f9989e295e156c46b4662b37b44ce750987ca7b5385cb7db2e511bdaeebaaedd31e51e833 SHA512 654a5674688eb771be446b9e163796fd709b2b742cdc2179a981a03127bee29f2e47b50da73c73021c6e1ec0a00dcca4cde53312f7ce5a30ec7d8a3c7cb5a466
DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
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 c90a9d3fd6df..f0cc27e54838 100644
--- a/dev-go/go-tools/go-tools-0.1.10.ebuild
+++ b/dev-go/go-tools/go-tools-0.1.10.ebuild
@@ -1,115 +1,20 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit go-module
-EGIT_COMMIT="v${PV}"
-ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SLOT="0"
-LICENSE="BSD MIT"
+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"
-EGO_SUM=(
-"github.com/yuin/goldmark v1.4.1"
-"github.com/yuin/goldmark v1.4.1/go.mod"
-"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
-"golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod"
-"golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3"
-"golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod"
-"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
-"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
-"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f"
-"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod"
-"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
-"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
-"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
-"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
-"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
-"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654"
-"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod"
-"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
-"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
-"golang.org/x/text v0.3.0/go.mod"
-"golang.org/x/text v0.3.0/go.mod"
-"golang.org/x/text v0.3.3/go.mod"
-"golang.org/x/text v0.3.6/go.mod"
-"golang.org/x/text v0.3.7"
-"golang.org/x/text v0.3.7/go.mod"
-"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
-"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
-"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
-"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
-)
-
-go-module_set_globals
-SRC_URI="
- ${ARCHIVE_URI}
- ${EGO_SUM_SRC_URI}
-"
-
-GO_TOOLS_PROGS=(
- authtest
- benchcmp
- bundle
- callgraph
- compilebench
- cookieauth
- cover
- digraph
- eg
- fieldalignment
- file2fuzz
- findcall
- findtypeparams
- fiximports
- fuzz-driver
- fuzz-runner
- getgo
- gitauth
- go-contrib-init
- godex
- godoc
- goimports
- gomvpkg
- gopackages
- gorename
- gostacks
- gotype
- goyacc
- guru
- helper
- html2article
- ifaceassert
- lostcancel
- netrcauth
- nilness
- present
- present2md
- server
- shadow
- splitdwarf
- ssadump
- stress
- stringer
- stringintconv
- toolstash
- unmarshal
-)
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
S=${WORKDIR}/${P#go-}
-src_unpack() {
- unpack "${P}.tar.gz"
- go-module_setup_proxy
-}
-
src_prepare() {
default
sed -e 's:TestDryRun(:_\0:' \
@@ -172,20 +77,12 @@ src_prepare() {
src_compile() {
local packages
- readarray -t packages < <(go list ./...)
- (( ${#packages[@]} > 0 )) || die "go list failed"
- GOBIN="${S}/bin" go install -work "${packages[@]}"
-
- local expected_progs=("${GO_TOOLS_PROGS[@]}")
- local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
- if [[ -n ${progs_diff} ]]; then
- printf -- '%s\n' "${progs_diff}"
- die "difference in expected vs build programs"
- fi
+ readarray -t packages < <(ego list ./...)
+ GOBIN="${S}/bin" ego install -work "${packages[@]}"
}
src_test() {
- go test -work "./..." || die
+ ego test -work ./...
}
src_install() {
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2022-05-15 17:20 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2022-05-15 17:20 UTC (permalink / raw
To: gentoo-commits
commit: a03447116048a61fbace889637167b8ec472ce91
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 17:19:24 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun May 15 17:20:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0344711
dev-go/go-tools: drop 0.1.4, 0.1.9
Closes: https://bugs.gentoo.org/844418
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 42 --------
dev-go/go-tools/go-tools-0.1.4.ebuild | 189 --------------------------------
dev-go/go-tools/go-tools-0.1.9.ebuild | 195 ----------------------------------
3 files changed, 426 deletions(-)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 931e067c01d9..af0b9654c8c0 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,44 +1,2 @@
-DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
-DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.3.5.zip 268257 BLAKE2B fd5ded7eb3aac03b098895d8efbd8bbba306b411dc58033bfb9355441e6f94268c4ea44ab6b52894929493ae19f4b605433d6a0aa2a1eed7c9ec15d1ef0d3de6 SHA512 bae490d3f532680ce28d3230fd76b3dd6100725056fdcda4588d88d6be212ac59ff449bc9a08a378f0743e45dd45ad5aa0d2cc18b762e3e715ea9e30f8be8dd5
-DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.mod 41 BLAKE2B d7c63b68781b147d3baf10d81bce0539aaf0a046a70cd91958b59541dfb35107e01a73937b19de74504f42fe49983b46985a9635c45239e4d7a3e2cca2b85f72 SHA512 a6233a0864081261d4b9cda2d73cf37b236acada8f5fbc85b7b7978ccfbc3bd2949632f2fb67a7ba9db6eb43b41796df54460728379e0172082922820d6143a7
-DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.4.1.zip 271753 BLAKE2B cccc7008adba51c52fac08e94dd38ecb44b47917af709808056219efba166ff1f7b1e5be29a132e800a67cc5b5f5238ec0a5d3e2cf5f6f516fcdd20da016b433 SHA512 bf46c66ed50afa151505f5bb0785439fc9b9ac90e056385a15aef9c62b0f95aaec26efb364f69533ff94c152b874ec47615d87e48d4660ff98f9b7d5ffba8362
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.1.4.tar.gz 2822942 BLAKE2B c935233c9664dde773be4fe08580b5040a842548caa57bf43846bc5e9c96568fafda8399f3e118cc6e2bd613025b90f0cb35e1cc000b113febf5d09cfdaf91d7 SHA512 2bf15fcfc2543ef68b723a71363edff80d549eb6ff4cb2353b51dc4a83e8fdb6afbb88d93af1feb516f10e1b847388bf8867d3f294f6f8f31bca7a93f48f91c1
-DIST go-tools-0.1.9.tar.gz 2939407 BLAKE2B 3f610322c6f2d088039a66eaa2ae1ff01ff5bd24adb8ae8a028b11b10cd66ee7aea274d24b4e97128eeb24d9ee65db5491b21415c1c76f198532d0d54c7541f4 SHA512 dda788aa91db9c3e7ec2b09b8742055259ffaa74d1da971060458b3545f12336116fc65f30b3237209aa024d721c54a9a9d92007ae6d0254e9c14ecfc8749012
-DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
-DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.4.2.zip 141789 BLAKE2B dc517e61f7a9c895d827ff139a36b319c7dd335e85755dc394d01ceaf8b3ce07ef13201bf6d704c31895bf7d91c15acbc4ac75bc8cde065ab4f81839453e0c5c SHA512 6376ecdccd2eeaf828a2c1f560e116c003caf5e09fe68e94a37d193697c93b18bee14abbc06edca93ca57a924f9b270bbe1792df84a7bd66e3641ce6aecbc9b1
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.mod 214 BLAKE2B 06631482606d93f3622eb79087adb11f0fedc16eeee47c327d9542003c05828faca6ec89fb5a7b6479dbbb951126f85d3b11afff772bdddba37db3d99c0174ec SHA512 8ad3d2d81f0192ba3215650546e1cc1eb2d58f2c9898929e565233388d95bb2d1a334d038e9807a44733fe6a218ac0b32de24d16fe9d208addcd67cdc2ae8f79
-DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.5.1.zip 150900 BLAKE2B a376dc6f6413f699d69f6ee1c25f85e457fc602cc8cb23841aad223daac91598a98535ad9398bba2e8346c4450a5523129628546a6db69dbed84894c3bffdff2 SHA512 71dd98468c11a0b56877ec92ac220d0b34136e8c85075dc9aeb413cdab0fdb7937fa3000c370feff3e43b9466ee8541fc3aaadfa46d900616378b7fe7dc3fecf
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.mod 179 BLAKE2B d4f0ad22973a6e0a06b186e217dedbea3abb1800b259c56a29da9075c36808160620b42b0a485127f713760b24b4d9d6d9a61119c5739927340436bac307f5c4 SHA512 f48731641ffad3b90daf0a8bb79fdfc607c076961dbda1c51e71eab787dca0681e5984ffce048bd655ceb56052fa64426b30b32e6ee32957c92418a16d1c9f06
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20210405180319-a5a99cb37ef4.zip 1565731 BLAKE2B 25099f5d276bba9b2d3c5e75c603dac06f3364fd09d2a2c53aaf5030d4698fc3638758d23c0a82fc118a05661b40377b74ea55c2e8f5d9add2d03527104ae80b SHA512 23da0e9ed2c647eb043e4b57e384ae335119b3766411f84cb009496a1fae85c7cefed14a92154b3e8d7e93d92187dbfde9b9cc07236ea3a7ca4052b93c6dc0dd
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.mod 179 BLAKE2B a505fef7e073e6305a5a8b8c3494942da61a944af095abe6caa2774152b7427437d74405967eeb6b38b114a14f0e09e72d00de2a6eba1f4694293a08daaa826b SHA512 a1c24164598eb8a5e5005b0df0cf9b3efd285c90efe6472a0474907f368166c243942765f182d8cc65f23159cd0a8b52c547ab14ee67c4261f768e31d05ed5e5
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20211015210444-4f30a5c0130f.zip 1576711 BLAKE2B fe83dd9a02465f4c5c6c8e4cb971b7c726b3ae5212d1862670a0b4e70e7ccec3622e390eb1968598f70b0bbb1c91f2464ab5ae3fea4873c4557fca8a6379a9d6 SHA512 eece131bb601a895a59c93f63bf96982f3b271a9f3bb66f819a6bfa04c54206b78a14a564d0b8f58ad7f8ae3b3e4475cee2eb22ff04db266187de47e000aed89
-DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
-DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
-DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20210220032951-036812b2e83c.zip 28693 BLAKE2B 3d6a34fa6da642f5ca71c930bd69a41439013f20ee60dde5d4dfab4bf688f1edb150a0477cb006670424c6c59e90d4bac9e5eb34f9fb4c518d903dfd26fb6cb7 SHA512 48b983589bd682ff9275c47733ec73637ebb5e58e1bca0c7744101229237d5cb34170efab63db0061aec857052cce9ef03c3497702b90a86287e6be88e1b33aa
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20201119102817-f84b799fce68.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210330210617-4fbd30eecc44.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210423082822-04245dca01da.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210510120138-977fb7262007.zip 1634371 BLAKE2B b13afd43d8734f143af16046780b9225a874157e0562068c8c3198dd23f7ff4b3e14f6654b578bc7520dd3c299411ca2d77999a8ab8459a765d05e74d03e81db SHA512 b7c4ff1752cb582263b837048e28b52fa219db5f7316739692d4c2d20bb2a9b8ad3645e92b3b1a72cba0817e4587ae04465dd351bb17a719bc92e193cb29cc76
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.mod 33 BLAKE2B b74677ab15ab6b31640d71b052db667b0fb585ed6d1044e26bc5e4cf8da90e1ede81f8876babea843dd322b8b707189138e70c24d13d931f1f6dd04978ac222c SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20211019181941-9d821ace8654.zip 1667445 BLAKE2B a9a8930675519b134e8b1227b18fc8af991ebd531ea1e4cc66b51d5f9989e295e156c46b4662b37b44ce750987ca7b5385cb7db2e511bdaeebaaedd31e51e833 SHA512 654a5674688eb771be446b9e163796fd709b2b742cdc2179a981a03127bee29f2e47b50da73c73021c6e1ec0a00dcca4cde53312f7ce5a30ec7d8a3c7cb5a466
-DIST golang.org%2Fx%2Fterm%2F@v%2Fv0.0.0-20201126162022-7de9c90e9dd1.mod 95 BLAKE2B 8385688f2081360fc2694f05d128ff0c587ef131e1b5757a942d9335870200e06545318afb1a7d1f059d060f51fe94fc16a48a1d7ec31a9a83e07b3c93f34ce3 SHA512 a3401e3d20dc1aaaebbf3c296a783668003f2182ed77ec830431f97339e07eda1859fe8c3c7fdfb0125b3ed331d23208519df520f86e20c1a05c822b3d766b08
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.3.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.6.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.mod 97 BLAKE2B cba29395bf9693152732776bde498cfd90a27c053feb5d1ca655e5e792ff68b9cd0a519bdff559450491e918a171c8a4fdbd4c0b4bcc9b578182f63ca37754db SHA512 e77211a503c35d8b6c392fc1b44daed580659b997673cd312ae8e579d1d715d7a53f8f0f0dd2d4dedbc6c5ca5ab7e3d52269a6536a42824cce267c89eb29cbbd
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.7.zip 8610883 BLAKE2B 768763b6da537c25448ff274da90261ad33a527e58a5749108d9d889b326051f7bb86a64ffea0a8dc2850260223a8b60ada4615290a9ba1b9a0725bb03c3323c SHA512 fb5d646d5f23fbb33acfe486714d647d7da091fc47cc7ec805afa4f78b070ed3ccc0022428f4672280ff85a7b4d8af3543647647f00ce62f2f3a18a6d425f863
-DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0
-DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191119224855-298f0cb1881e.mod 212 BLAKE2B ab1d99a25eed3af5426d8a58d249b827e4d30a046302df72c7e0b59955e65b636f4645c5c436bb21ec54ec3745b9996bce92d29826ad93cbc9120a06dc19b49a SHA512 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109
-DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20190717185122-a985d3407aa7.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
-DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
-DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
-DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.zip 22295 BLAKE2B 310f892b8ce32810a1afef53335428d73bc23e749e52d00d7624afea2d10422b1b73507026daf23efd2384b81262c4c7862c22da23f6fb43c1b5f79a51170d5e SHA512 34044424d303f5032d4fd302bbf1aca390d45e876583cc223fddf0d685a6eec2bde0a4c1b82c4e471eb5be97fc8aea9b14695b07940d1ecde806636a85d12051
diff --git a/dev-go/go-tools/go-tools-0.1.4.ebuild b/dev-go/go-tools/go-tools-0.1.4.ebuild
deleted file mode 100644
index 36df26227c47..000000000000
--- a/dev-go/go-tools/go-tools-0.1.4.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-EGIT_COMMIT="v${PV}"
-ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
-DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SLOT="0"
-LICENSE="BSD MIT"
-
-EGO_SUM=(
-"github.com/yuin/goldmark v1.3.5"
-"github.com/yuin/goldmark v1.3.5/go.mod"
-"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
-"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
-"golang.org/x/mod v0.4.2"
-"golang.org/x/mod v0.4.2/go.mod"
-"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
-"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
-"golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4"
-"golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod"
-"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
-"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
-"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
-"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
-"golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod"
-"golang.org/x/sys v0.0.0-20210510120138-977fb7262007"
-"golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod"
-"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
-"golang.org/x/text v0.3.0/go.mod"
-"golang.org/x/text v0.3.3/go.mod"
-"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
-"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
-"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
-"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
-)
-
-go-module_set_globals
-SRC_URI="
- ${ARCHIVE_URI}
- ${EGO_SUM_SRC_URI}
-"
-
-GO_TOOLS_PROGS=(
- authtest
- benchcmp
- bundle
- callgraph
- compilebench
- cookieauth
- cover
- digraph
- eg
- fieldalignment
- findcall
- fiximports
- getgo
- gitauth
- go-contrib-init
- godex
- godoc
- goimports
- gomvpkg
- gopackages
- gorename
- gostacks
- gotype
- goyacc
- guru
- helper
- html2article
- ifaceassert
- lostcancel
- netrcauth
- nilness
- present
- present2md
- server
- shadow
- splitdwarf
- ssadump
- stress
- stringer
- stringintconv
- toolstash
- unmarshal
-)
-
-S=${WORKDIR}/${P#go-}
-
-src_unpack() {
- unpack "${P}.tar.gz"
- go-module_setup_proxy
-}
-
-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
-}
-
-src_compile() {
- local packages
- readarray -t packages < <(go list ./...)
- (( ${#packages[@]} > 0 )) || die "go list failed"
- GOBIN="${S}/bin" go install -work "${packages[@]}"
-
- local expected_progs=("${GO_TOOLS_PROGS[@]}")
- local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
- if [[ -n ${progs_diff} ]]; then
- printf -- '%s\n' "${progs_diff}"
- die "difference in expected vs build programs"
- fi
-}
-
-src_test() {
- go test -work "./..." || die
-}
-
-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.1.9.ebuild b/dev-go/go-tools/go-tools-0.1.9.ebuild
deleted file mode 100644
index 641be8556f84..000000000000
--- a/dev-go/go-tools/go-tools-0.1.9.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-EGIT_COMMIT="v${PV}"
-ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~arm ~x86"
-DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
-HOMEPAGE="https://godoc.org/golang.org/x/tools"
-SLOT="0"
-LICENSE="BSD MIT"
-
-EGO_SUM=(
-"github.com/yuin/goldmark v1.4.1"
-"github.com/yuin/goldmark v1.4.1/go.mod"
-"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
-"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
-"golang.org/x/mod v0.5.1"
-"golang.org/x/mod v0.5.1/go.mod"
-"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
-"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
-"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f"
-"golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod"
-"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
-"golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
-"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
-"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
-"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
-"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
-"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654"
-"golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod"
-"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
-"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
-"golang.org/x/text v0.3.0/go.mod"
-"golang.org/x/text v0.3.0/go.mod"
-"golang.org/x/text v0.3.6/go.mod"
-"golang.org/x/text v0.3.7"
-"golang.org/x/text v0.3.7/go.mod"
-"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
-"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
-"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
-"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
-"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
-)
-
-go-module_set_globals
-SRC_URI="
- ${ARCHIVE_URI}
- ${EGO_SUM_SRC_URI}
-"
-
-GO_TOOLS_PROGS=(
- authtest
- benchcmp
- bundle
- callgraph
- compilebench
- cookieauth
- cover
- digraph
- eg
- fieldalignment
- file2fuzz
- findcall
- fiximports
- getgo
- gitauth
- go-contrib-init
- godex
- godoc
- goimports
- gomvpkg
- gopackages
- gorename
- gostacks
- gotype
- goyacc
- guru
- helper
- html2article
- ifaceassert
- lostcancel
- netrcauth
- nilness
- present
- present2md
- server
- shadow
- splitdwarf
- ssadump
- stress
- stringer
- stringintconv
- toolstash
- unmarshal
-)
-
-S=${WORKDIR}/${P#go-}
-
-src_unpack() {
- unpack "${P}.tar.gz"
- go-module_setup_proxy
-}
-
-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 < <(go list ./...)
- (( ${#packages[@]} > 0 )) || die "go list failed"
- GOBIN="${S}/bin" go install -work "${packages[@]}"
-
- local expected_progs=("${GO_TOOLS_PROGS[@]}")
- local progs_diff=$(diff -u <(printf -- '%s\n' "${expected_progs[@]}"| LC_ALL=C sort) <(find bin -type f -printf '%f\n' | LC_ALL=C sort))
- if [[ -n ${progs_diff} ]]; then
- printf -- '%s\n' "${progs_diff}"
- die "difference in expected vs build programs"
- fi
-}
-
-src_test() {
- go test -work "./..." || die
-}
-
-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
-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-05-02 4:20 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2024-05-02 4:20 UTC (permalink / raw
To: gentoo-commits
commit: 334b68c9fbed092c3622e4d65a8ff2526ec5d3a4
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May 2 04:11:02 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 2 04:19:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334b68c9
dev-go/go-tools: add 0.20.0
Also set RESTRICT="test" because there are many failures.
Bug: https://bugs.gentoo.org/904314
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 2 ++
dev-go/go-tools/go-tools-0.20.0.ebuild | 52 ++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index af0b9654c8c0..69c562a90597 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -1,2 +1,4 @@
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
diff --git a/dev-go/go-tools/go-tools-0.20.0.ebuild b/dev-go/go-tools/go-tools-0.20.0.ebuild
new file mode 100644
index 000000000000..fe369f14fa0a
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0.20.0.ebuild
@@ -0,0 +1,52 @@
+# 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://godoc.org/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
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-05-02 4:30 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2024-05-02 4:30 UTC (permalink / raw
To: gentoo-commits
commit: 611dc25065c7609af05675b9dec6deb79188a7b6
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May 2 04:25:51 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May 2 04:30:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611dc250
dev-go/go-tools: RESTRICT test for 0.1.10
Since we now have RESTRICT="test" in the newer 0.20.0 ebuild
we should also do the same for the old version which we
hopefully can drop soon anyway.
Closes: https://bugs.gentoo.org/904314
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0.1.10.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
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 f0cc27e54838..6b26c11d0b19 100644
--- a/dev-go/go-tools/go-tools-0.1.10.ebuild
+++ b/dev-go/go-tools/go-tools-0.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,12 +8,14 @@ DESCRIPTION="Tools that support the Go programming language (godoc, etc.)"
HOMEPAGE="https://godoc.org/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"
-S=${WORKDIR}/${P#go-}
+# Many test failures (bug 904314).
+RESTRICT="test"
src_prepare() {
default
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-05-24 2:46 Ionen Wolkens
0 siblings, 0 replies; 44+ messages in thread
From: Ionen Wolkens @ 2024-05-24 2:46 UTC (permalink / raw
To: gentoo-commits
commit: d08f82a4c7551bca8d27100c869d7b0ee6c1ffdb
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri May 24 01:51:50 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 24 02:45:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08f82a4
dev-go/go-tools: Stabilize 0.1.10 amd64, #930160
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-go/go-tools/go-tools-0.1.10.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 6b26c11d0b19..7c66827e5473 100644
--- a/dev-go/go-tools/go-tools-0.1.10.ebuild
+++ b/dev-go/go-tools/go-tools-0.1.10.ebuild
@@ -12,7 +12,7 @@ S=${WORKDIR}/${P#go-}
LICENSE="BSD MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
# Many test failures (bug 904314).
RESTRICT="test"
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-08-18 19:33 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2024-08-18 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 6b1059633c5956e575d7468a65ad57564190f91e
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 19:28:01 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 19:33:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b105963
dev-go/go-tools: add 0.24.0
Tested with go-1.23.0 and it successfully built all of the
expected binaries.
Closes: https://bugs.gentoo.org/937934
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/Manifest | 2 ++
dev-go/go-tools/go-tools-0.24.0.ebuild | 52 ++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest
index 69c562a90597..e98c5f7e0f5b 100644
--- a/dev-go/go-tools/Manifest
+++ b/dev-go/go-tools/Manifest
@@ -2,3 +2,5 @@ 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
+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
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..fedb0f72416a
--- /dev/null
+++ b/dev-go/go-tools/go-tools-0.24.0.ebuild
@@ -0,0 +1,52 @@
+# 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://godoc.org/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
+}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-08-18 23:46 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2024-08-18 23:46 UTC (permalink / raw
To: gentoo-commits
commit: 613cdf31149d1fbf54750b5fe3b8d11ddc8d0d95
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 23:45:19 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 23:46:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613cdf31
dev-go/go-tools: update HOMEPAGE
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0.1.10.ebuild | 2 +-
dev-go/go-tools/go-tools-0.20.0.ebuild | 2 +-
dev-go/go-tools/go-tools-0.24.0.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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
index fedb0f72416a..312e41f08ccd 100644
--- a/dev-go/go-tools/go-tools-0.24.0.ebuild
+++ b/dev-go/go-tools/go-tools-0.24.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-}
^ permalink raw reply related [flat|nested] 44+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/
@ 2024-08-19 0:07 Zac Medico
0 siblings, 0 replies; 44+ messages in thread
From: Zac Medico @ 2024-08-19 0:07 UTC (permalink / raw
To: gentoo-commits
commit: f52b5bc93c2fe7f5ce1f20dea1c57410aad17a27
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 00:05:13 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 00:06:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52b5bc9
dev-go/go-tools: Compile go packages selectively
This eliminates the need to use nonfatal and check for
expected binaries afterwards.
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tools/go-tools-0.24.0.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev-go/go-tools/go-tools-0.24.0.ebuild b/dev-go/go-tools/go-tools-0.24.0.ebuild
index 312e41f08ccd..442e64290744 100644
--- a/dev-go/go-tools/go-tools-0.24.0.ebuild
+++ b/dev-go/go-tools/go-tools-0.24.0.ebuild
@@ -29,12 +29,8 @@ GO_TOOLS_BINS=(
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
+ readarray -t packages < <(ego list ./... | grep -E "/($(echo "${GO_TOOLS_BINS[@]}" | tr ' ' '|'))$")
+ GOBIN="${S}/bin" ego install -work "${packages[@]}"
}
src_test() {
^ permalink raw reply related [flat|nested] 44+ messages in thread
end of thread, other threads:[~2024-08-19 0:07 UTC | newest]
Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-03 23:30 [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tools/ Zac Medico
-- strict thread matches above, loose matches on Subject: below --
2024-08-19 0:07 Zac Medico
2024-08-18 23:46 Zac Medico
2024-08-18 19:33 Zac Medico
2024-05-24 2:46 Ionen Wolkens
2024-05-02 4:30 Zac Medico
2024-05-02 4:20 Zac Medico
2022-05-15 17:20 Zac Medico
2022-04-05 18:08 William Hubbs
2022-03-16 3:41 Zac Medico
2022-02-13 19:10 Zac Medico
2021-07-15 7:13 Zac Medico
2021-06-29 7:25 Zac Medico
2021-06-29 7:17 Zac Medico
2019-11-29 17:15 Zac Medico
2019-09-15 5:23 Zac Medico
2019-09-15 1:26 Zac Medico
2019-07-08 18:02 Zac Medico
2019-03-16 21:43 Zac Medico
2018-11-04 2:52 Zac Medico
2018-11-03 23:45 Zac Medico
2018-08-20 0:29 Zac Medico
2018-08-20 0:20 Zac Medico
2018-08-19 6:38 Zac Medico
2016-08-19 16:12 Zac Medico
2016-03-31 6:46 Zac Medico
2016-02-21 0:28 Zac Medico
2016-02-11 16:54 Zac Medico
2016-02-05 18:33 Zac Medico
2016-02-05 18:29 Zac Medico
2016-01-29 23:16 Zac Medico
2016-01-22 23:44 Zac Medico
2016-01-22 11:21 Zac Medico
2015-09-11 19:04 Zac Medico
2015-09-11 18:39 Zac Medico
2015-09-08 14:06 William Hubbs
2015-08-27 15:03 William Hubbs
2015-08-27 14:56 William Hubbs
2015-08-26 17:46 Zac Medico
2015-08-24 15:50 William Hubbs
2015-08-24 15:50 William Hubbs
2015-08-23 23:35 William Hubbs
2015-08-10 20:30 William Hubbs
2015-08-10 5:36 Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox