git: 9622f647b85c - main - devel/go-tools: Update to 0.2.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 24 Oct 2022 20:24:49 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9622f647b85cf0cf1dd19eb68a50c18f34137411

commit 9622f647b85cf0cf1dd19eb68a50c18f34137411
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-10-24 20:22:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-10-24 20:22:42 +0000

    devel/go-tools: Update to 0.2.0
    
    Selected upstream changes:
    
     - go/tools: add check for time formats with 2006-02-01
     - go/callgraph/vta: do not assume that recovers cannot be deferred
     - internal/imports: update stdlib index for 1.19
     - godoc/redirect: delete golang.org-specific code
     - x/tools: update go.mod following moving LSP code to x/tools/gopls
     - go/ssa/ssautil: initialize info when there is syntax
     - all: replace deprecated egrep with grep -E
     - godoc: fix some comments
     - cmd/ssadump: disable run mode with runtime package
     - cmd/compilebench: use -a instead of -i to ensure dependencies are built
     - go.mod: update golang.org/x dependencies
    
    PR:             267314
---
 devel/go-tools/Makefile  |  3 +--
 devel/go-tools/distinfo  | 10 +++++-----
 devel/go-tools/pkg-descr | 22 ++++++++++++++++++++--
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/devel/go-tools/Makefile b/devel/go-tools/Makefile
index e60e7b1424dd..a1c13cb46cad 100644
--- a/devel/go-tools/Makefile
+++ b/devel/go-tools/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	tools
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.12
-PORTREVISION=	3
+DISTVERSION=	0.2.0
 PORTEPOCH=	1
 CATEGORIES=	devel
 PKGNAMEPREFIX=	go-
diff --git a/devel/go-tools/distinfo b/devel/go-tools/distinfo
index b70bbf92b455..a6e1879e293a 100644
--- a/devel/go-tools/distinfo
+++ b/devel/go-tools/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1659036915
-SHA256 (go/devel_go-tools/tools-v0.1.12/v0.1.12.mod) = 2a8b9365898f0822face65ba089a1353e68a65d342f300ca317cceccde6421f3
-SIZE (go/devel_go-tools/tools-v0.1.12/v0.1.12.mod) = 327
-SHA256 (go/devel_go-tools/tools-v0.1.12/v0.1.12.zip) = 4b122e0e4703bc4014cb1cf8c014fcf93ea7d72f01da79499365346f54cbb851
-SIZE (go/devel_go-tools/tools-v0.1.12/v0.1.12.zip) = 3946738
+TIMESTAMP = 1666640091
+SHA256 (go/devel_go-tools/tools-v0.2.0/v0.2.0.mod) = 9c9b5e62af69f2b10029ce12944dc8834f1226a83bb243e9a0dbf37e0bb186ba
+SIZE (go/devel_go-tools/tools-v0.2.0/v0.2.0.mod) = 177
+SHA256 (go/devel_go-tools/tools-v0.2.0/v0.2.0.zip) = 05da23611d775b2d3771438fa2e5e522cc948a35372cb7ad019fe484f1e91ae0
+SIZE (go/devel_go-tools/tools-v0.2.0/v0.2.0.zip) = 2935954
diff --git a/devel/go-tools/pkg-descr b/devel/go-tools/pkg-descr
index 65ebf473304f..28f75c9ea80a 100644
--- a/devel/go-tools/pkg-descr
+++ b/devel/go-tools/pkg-descr
@@ -1,2 +1,20 @@
-This port holds the source for various packages and tools that support the Go
-programming language.
+go-tools holds the golang.org/x/tools module, comprising various tools
+mostly for static analysis of Go programs, some of which are listed
+below.  Selected commands:
+
+goimports  formats a Go program like go fmt and additionally inserts
+	import statements for any packages required by the file after it
+	is edited.
+
+callgraph  prints the call graph of a Go program.
+
+
+digraph  is a utility for manipulating directed graphs in textual
+	notation.
+
+
+stringer  generates declarations (including a String method) for "enum"
+	types.
+
+toolstash is a utility to simplify working with multiple versions of the
+	Go toolchain.