<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b8790a30c4461545bb3ae2a6886c46105f3b611c">https://github.com/macports/macports-ports/commit/b8790a30c4461545bb3ae2a6886c46105f3b611c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b8790a30c44 go-tools: update to 0.1.4
</span>b8790a30c44 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b8790a30c4461545bb3ae2a6886c46105f3b611c
</span>Author: Sean Enck <enckse@voidedtech.com>
AuthorDate: Thu Jun 24 20:20:02 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> go-tools: update to 0.1.4
</span>---
devel/go-tools/Portfile | 71 +++++++++++--------------------------------------
1 file changed, 16 insertions(+), 55 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/go-tools/Portfile b/devel/go-tools/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 724d81b3fe3..1304087f655 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/go-tools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/go-tools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,71 +1,32 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup golang 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/golang/tools 0.1.4 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+epoch 7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup golang tools 89232532d2d57ce53cc88eccb5d060e92f86729b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20200630-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-epoch 6
</span> name go-tools
categories devel
platforms darwin freebsd linux
license BSD
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {ciserlohn @ci42}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ciserlohn @ci42} {@enckse voidedtech.com:enckse} openmaintainer
</span> description Various packages and tools that support the Go programming language.
long_description $description
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 97410382ccbe3efce08e96756c63db33eb8b1703 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c451b5af8a10b06624d5ae92c33aa1b30beaf380e195d1373b333fde1553c15a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2484284
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:go
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4a07aa2d9d20513627c80639a13bc11dca3c17f6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3d1e5e6f1908bd437c7b070fffea124216f1063eb5d7573c31ba8c665ddc77a1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2823097
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set gopath ${workpath}/go-tools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set package_dir golang.org/x/tools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set package_src_dir ${gopath}/src/${package_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${package_src_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -directory ${worksrcpath} *] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${f}/ ${package_src_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# FIXME: This port currently can't be built without allowing go mod to fetch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies during the build phase. See
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/61192
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env-delete GOPROXY=off GO111MODULE=off
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set cmds { benchcmp bundle callgraph compilebench cover digraph
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eg fiximports getgo go-contrib-init godex godoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- goimports gomvpkg gorename gotype goyacc guru html2article
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- present present2md splitdwarf ssadump stress stringer toolstash }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set auth_cmds { authtest cookieauth gitauth netrcauth }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set deps {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- golang.org/x/net/websocket
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- golang.org/x/crypto/acme/autocert
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- golang.org/x/mod/semver
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- golang.org/x/xerrors
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- golang.org/x/xerrors
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- github.com/yuin/goldmark
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach dep $deps {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "GOPATH=${gopath} go get -d ${dep}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach auth $auth_cmds {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "GOPATH=${gopath} go build ${package_dir}/cmd/auth/${auth}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach cmd $cmds {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath} "GOPATH=${gopath} go build ${package_dir}/cmd/${cmd}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args -o bin/ ./cmd/... ./cmd/auth/...
</span>
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -W ${workpath} {*}${auth_cmds} {*}${cmds} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span></pre><pre style='margin:0'>
</pre>