pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/go-tools go-tools: update to 0.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/43b9ba383ccf
branches: trunk
changeset: 452318:43b9ba383ccf
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat May 08 16:52:26 2021 +0000
description:
go-tools: update to 0.1.0
This is the first properly tagged version of go-tools. It now builds as a
module. The buildlink3 file is gone. Several binaries that landed in bin
by accident are no longer included :)
diffstat:
devel/go-tools/Makefile | 43 +-
devel/go-tools/PLIST | 1714 +-----------------------------------------
devel/go-tools/distinfo | 126 ++-
devel/go-tools/go-modules.mk | 31 +
4 files changed, 163 insertions(+), 1751 deletions(-)
diffs (truncated from 2001 to 300 lines):
diff -r 65a825553b95 -r 43b9ba383ccf devel/go-tools/Makefile
--- a/devel/go-tools/Makefile Sat May 08 16:36:34 2021 +0000
+++ b/devel/go-tools/Makefile Sat May 08 16:52:26 2021 +0000
@@ -1,26 +1,18 @@
-# $NetBSD: Makefile,v 1.50 2021/05/08 15:02:44 bsiegert Exp $
+# $NetBSD: Makefile,v 1.51 2021/05/08 16:52:26 bsiegert Exp $
-DISTNAME= tools
-PKGNAME= go-tools-1.15.20201026
-PKGREVISION= 7
+DISTNAME= tools-0.1.0
+PKGNAME= go-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
-GITHUB_PROJECT= ${DISTNAME}
-GITHUB_TAG= e84cfc6
+GITHUB_PROJECT= tools
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bsiegert%NetBSD.org@localhost
HOMEPAGE= https://golang.org/
COMMENT= Tools for use with Go, including godoc
LICENSE= modified-bsd
-GO_SRCPATH= golang.org/x/tools
-GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
-
-USE_TOOLS+= bash
-REPLACE_BASH+= cmd/getgo/*.bash
-REPLACE_BASH+= cmd/godoc/*.bash
-REPLACE_BASH+= cmd/toolstash/buildall
-REPLACE_BASH+= internal/lsp/reset_golden.sh
+GO_BUILD_PATTERN= ./cmd/...
CHECK_RELRO_SKIP+= bin/benchcmp
CHECK_RELRO_SKIP+= bin/bundle
@@ -54,9 +46,7 @@
CHECK_RELRO_SKIP+= bin/cover
CHECK_RELRO_SKIP+= bin/digraph
CHECK_RELRO_SKIP+= bin/eg
-CHECK_RELRO_SKIP+= bin/findcall
CHECK_RELRO_SKIP+= bin/fiximports
-CHECK_RELRO_SKIP+= bin/genapijson
CHECK_RELRO_SKIP+= bin/getgo
CHECK_RELRO_SKIP+= bin/gitauth
CHECK_RELRO_SKIP+= bin/go-contrib-init
@@ -64,38 +54,25 @@
CHECK_RELRO_SKIP+= bin/godoc
CHECK_RELRO_SKIP+= bin/goimports
CHECK_RELRO_SKIP+= bin/gomvpkg
-CHECK_RELRO_SKIP+= bin/gopackages
CHECK_RELRO_SKIP+= bin/gorename
-CHECK_RELRO_SKIP+= bin/gostacks
CHECK_RELRO_SKIP+= bin/gotype
CHECK_RELRO_SKIP+= bin/goyacc
CHECK_RELRO_SKIP+= bin/guru
-CHECK_RELRO_SKIP+= bin/helper
CHECK_RELRO_SKIP+= bin/html2article
-CHECK_RELRO_SKIP+= bin/ifaceassert
-CHECK_RELRO_SKIP+= bin/lostcancel
CHECK_RELRO_SKIP+= bin/netrcauth
-CHECK_RELRO_SKIP+= bin/nilness
CHECK_RELRO_SKIP+= bin/present
CHECK_RELRO_SKIP+= bin/present2md
CHECK_RELRO_SKIP+= bin/server
-CHECK_RELRO_SKIP+= bin/shadow
CHECK_RELRO_SKIP+= bin/splitdwarf
CHECK_RELRO_SKIP+= bin/ssadump
CHECK_RELRO_SKIP+= bin/stress
CHECK_RELRO_SKIP+= bin/stringer
-CHECK_RELRO_SKIP+= bin/stringintconv
CHECK_RELRO_SKIP+= bin/toolstash
-CHECK_RELRO_SKIP+= bin/unmarshal
pre-patch:
- ${RM} -rf ${WRKSRC}/gopls ${WRKSRC}/cmd/getgo/server
+ ${RM} -rf ${WRKSRC}/cmd/getgo/server
-.include "../../lang/go/go-package.mk"
-.include "../../devel/go-mod/buildlink3.mk"
-.include "../../devel/go-sync/buildlink3.mk"
-.include "../../devel/go-xerrors/buildlink3.mk"
-.include "../../devel/google-api-go-client/buildlink3.mk"
-.include "../../security/go-crypto/buildlink3.mk"
-.include "../../textproc/go-goldmark/buildlink3.mk"
+.include "go-modules.mk"
+
+.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 65a825553b95 -r 43b9ba383ccf devel/go-tools/PLIST
--- a/devel/go-tools/PLIST Sat May 08 16:36:34 2021 +0000
+++ b/devel/go-tools/PLIST Sat May 08 16:52:26 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/12/04 11:31:16 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/05/08 16:52:26 bsiegert Exp $
bin/authtest
bin/benchcmp
bin/bundle
@@ -8,9 +8,7 @@
bin/cover
bin/digraph
bin/eg
-bin/findcall
bin/fiximports
-bin/genapijson
bin/getgo
bin/gitauth
bin/go-contrib-init
@@ -18,1726 +16,16 @@
bin/godoc
bin/goimports
bin/gomvpkg
-bin/gopackages
bin/gorename
-bin/gostacks
bin/gotype
bin/goyacc
bin/guru
-bin/helper
bin/html2article
-bin/ifaceassert
-bin/lostcancel
bin/netrcauth
-bin/nilness
bin/present
bin/present2md
-bin/shadow
bin/splitdwarf
bin/ssadump
bin/stress
bin/stringer
-bin/stringintconv
bin/toolstash
-bin/unmarshal
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/benchmark/parse.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/blog.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/blog/atom.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/cmd/guru/serial.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/cmd/splitdwarf/internal/macho.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/container/intsets.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/cover.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/analysistest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/internal/analysisflags.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/internal/checker.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/internal/facts.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/multichecker.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/asmdecl.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/assign.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/atomic.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/atomicalign.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/bools.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/buildssa.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/buildtag.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/cgocall.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/composite.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/copylock.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/ctrlflow.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/deepequalerrors.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/errorsas.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/findcall.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/httpresponse.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/ifaceassert.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/inspect.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/internal/analysisutil.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/loopclosure.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/lostcancel.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/nilfunc.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/nilness.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/pkgfact.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/printf.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/shadow.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/shift.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/sortslice.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/stdmethods.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/stringintconv.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/structtag.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/testinggoroutine.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/tests.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/unmarshal.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/unreachable.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/unsafeptr.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/passes/unusedresult.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/singlechecker.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/analysis/unitchecker.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/ast/astutil.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/ast/inspector.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/buildutil.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/callgraph.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/callgraph/cha.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/callgraph/rta.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/callgraph/static.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/cfg.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/expect.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/gccgoexportdata.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/gcexportdata.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/internal/cgo.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/internal/gccgoimporter.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/internal/gcimporter.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/internal/packagesdriver.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/loader.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/packages.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/packages/packagestest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/pointer.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/ssa.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/ssa/interp.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/ssa/ssautil.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/types/objectpath.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/types/typeutil.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/go/vcs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/analysis.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/golangorgenv.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/redirect.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/static.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/util.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/vfs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/vfs/gatefs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/vfs/httpfs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/vfs/mapfs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/godoc/vfs/zipfs.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/imports.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/analysisinternal.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/apidiff.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/core.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export/eventtest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export/metric.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export/ocagent.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export/ocagent/wire.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/export/prometheus.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/keys.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/event/label.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/fakenet.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/fastwalk.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/gocommand.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/gopathwalk.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/imports.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/jsonrpc2.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/jsonrpc2/servertest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/fillreturns.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/fillstruct.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/nonewvars.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/noresultvalues.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/simplifycompositelit.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/simplifyrange.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/simplifyslice.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/undeclaredname.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/analysis/unusedparams.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/browser.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/cache.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/cmd.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/cmd/test.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/debug.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/debug/tag.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/diff.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/diff/difftest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/diff/myers.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/fake.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/fuzzy.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/lsprpc.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/mod.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/protocol.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/snippet.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/source.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/source/completion.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/lsp/tests.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/memoize.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/packagesinternal.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/proxydir.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/span.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/stack.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/stack/stacktest.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/testenv.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/tool.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/typesinternal.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/internal/xcontext.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/playground.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/playground/socket.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/present.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/refactor/eg.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/refactor/importgraph.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/refactor/rename.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/refactor/satisfy.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/tools/txtar.a
-gopkg/src/golang.org/x/tools/AUTHORS
-gopkg/src/golang.org/x/tools/CONTRIBUTING.md
-gopkg/src/golang.org/x/tools/CONTRIBUTORS
-gopkg/src/golang.org/x/tools/LICENSE
-gopkg/src/golang.org/x/tools/PATENTS
-gopkg/src/golang.org/x/tools/README.md
-gopkg/src/golang.org/x/tools/benchmark/parse/parse.go
-gopkg/src/golang.org/x/tools/benchmark/parse/parse_test.go
-gopkg/src/golang.org/x/tools/blog/atom/atom.go
-gopkg/src/golang.org/x/tools/blog/blog.go
-gopkg/src/golang.org/x/tools/blog/blog_test.go
-gopkg/src/golang.org/x/tools/cmd/auth/authtest/authtest.go
-gopkg/src/golang.org/x/tools/cmd/auth/cookieauth/cookieauth.go
Home |
Main Index |
Thread Index |
Old Index