<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/e7f30981c93c33b0b95d2f3961219bdf7142f744">https://github.com/macports/macports-ports/commit/e7f30981c93c33b0b95d2f3961219bdf7142f744</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 e7f30981c93 delve: update to 1.8.0
</span>e7f30981c93 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e7f30981c93c33b0b95d2f3961219bdf7142f744
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Thu Dec 23 14:43:50 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> delve: update to 1.8.0
</span>---
devel/delve/Portfile | 39 ++++++++++++++---------------
devel/delve/files/patch-no-git-make.go.diff | 14 -----------
2 files changed, 19 insertions(+), 34 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/delve/Portfile b/devel/delve/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 05f3045ee1c..4f961df5d0c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/delve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/delve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,18 +3,19 @@
</span> PortSystem 1.0
PortGroup golang 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup github.com/go-delve/delve 1.7.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/go-delve/delve 1.8.0 v
</span> github.tarball_from archive
revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Delve is a debugger for the Go programming language.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Delve is a debugger for the Go programming language.
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description {*}${description} The goal of the project is to provide a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- simple, full featured debugging tool for Go. Delve should \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- be easy to invoke and easy to use. Chances are if you're \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- using a debugger, things aren't going your way. With that \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in mind, Delve should stay out of your way as much as \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- possible.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}${description} The goal of the project is to provide a simple, full \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ featured debugging tool for Go. Delve should be easy to invoke and easy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to use. Chances are if you\'re using a debugger, things aren\'t going \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ your way. With that in mind, Delve should stay out of your way as much as \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ possible.
</span>
categories devel
installs_libs no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,25 +26,23 @@ maintainers {gmail.com:herby.gillot @herbygillot} \
</span> # The build process requires Go modules. So remove the environment setting
# GO111MODULE=off:
build.env-delete GO111MODULE=off
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ${go.bin} run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args _scripts/make.go build --no-git
</span>
set delve_doc_dir ${prefix}/share/doc/${name}
notes "delve is installed as dlv"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-no-git-make.go.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/dlv ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/dlv ${destroot}${prefix}/bin/
</span> xinstall -d ${destroot}${delve_doc_dir}
copy {*}[glob ${worksrcpath}/Documentation/*] ${destroot}${delve_doc_dir}/
}
checksums ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 75a4758dcc9578d11396912751cccc5e153bc8d0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 961642eb4cd97e11093dda81273971a45e64abb2fe7db39165072c7145f4fcec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 9002476
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 05b765d88f32a0cd4ed6f8b5f417bd8d126c8fc5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 086106a4776fa155bf20c37d27b9caed55255be6359c7f0bda1893d3adbb614e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9007735
</span>
go.vendors gopkg.in/yaml.v3 \
lock 9f266ea9e77c \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,10 +65,10 @@ go.vendors gopkg.in/yaml.v3 \
</span> sha256 9a500a49d83a09e7de6c71b215d1c14b81e315d26884530ef327c95ddf1f2d28 \
size 13667 \
golang.org/x/tools \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock 8de2a7fd1736 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 2f0bd1657a99ca9f602d0a3d1ff4b87e25e7e241 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2efffccb3060099d33684b616e4fa7afef387a30953edbf34ff0a608609d7d79 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2914822 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.1.8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 2947a4e5e3065db5da3f32b4c22ab657388149d8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7a3932647b4c4fae69ac561ebe3bc89df30dda12503f748fd52705848ad54df5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2929610 \
</span> golang.org/x/sys \
lock 9d821ace8654 \
rmd160 0083c14ef6fbe926f16a26bf12042191ffad1f41 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/delve/files/patch-no-git-make.go.diff b/devel/delve/files/patch-no-git-make.go.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index c62b6ba3f4d..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/delve/files/patch-no-git-make.go.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- _scripts/make.go 2021-11-17 15:52:32.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ _scripts/make.go 2021-11-17 15:57:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -291,10 +291,7 @@
</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;'>- func buildFlags() []string {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- buildSHA, err := exec.Command("git", "rev-parse", "HEAD").CombinedOutput()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if err != nil {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- log.Fatal(err)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ buildSHA := ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ldFlags := "-X main.Build=" + strings.TrimSpace(string(buildSHA))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if runtime.GOOS == "darwin" {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ldFlags = "-s " + ldFlags
</span></pre><pre style='margin:0'>
</pre>