<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/8243d5c2831959dd573e55ece17942b472cadaac">https://github.com/macports/macports-ports/commit/8243d5c2831959dd573e55ece17942b472cadaac</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 8243d5c2831 dyff: update to 1.7.0
</span>8243d5c2831 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8243d5c2831959dd573e55ece17942b472cadaac
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Feb 6 15:27:06 2024 -0500

<span style='display:block; white-space:pre;color:#404040;'>    dyff: update to 1.7.0
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    - install shell completions
</span>---
 textproc/dyff/Portfile | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/dyff/Portfile b/textproc/dyff/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 44e28a8be9f..13371d3bce0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/dyff/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/dyff/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem          1.0
 PortGroup           golang 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup            github.com/homeport/dyff 1.6.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup            github.com/homeport/dyff 1.7.0 v
</span> go.offline_build    no
 github.tarball_from archive
 revision            0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,14 +17,36 @@ license             MIT
</span> maintainers         {gmail.com:herby.gillot @herbygillot} \
                     openmaintainer
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  f699ff5697f45fcfe4b37336628a0519bc951464 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  5676021d9d42508b5b3612d63d13f1089b9be019d8d148a281b04c34da0922d0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    1206925
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  90b5254dcb7362d7f62a85dd0611ea8d0feb06f0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  72be2b7d82c9e2f6a063d60e335f3a255654bed8e94e601c3e542af1571d1516 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    1209022
</span> 
 build.pre_args-append \
     -ldflags \"-X ${go.package}/internal/cmd.version=${version}\"
 build.args          ./cmd/${name}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Generate completion files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    file mkdir ${worksrcpath}/completion
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach _shell {bash fish zsh} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            "./${name} completion ${_shell} > ./completion/${name}.${_shell}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
     xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    copy ${worksrcpath}/completion/${name}.bash \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${prefix}/share/bash-completion/completions/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    copy ${worksrcpath}/completion/${name}.fish \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${prefix}/share/fish/vendor_completions.d/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -d ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    copy ${worksrcpath}/completion/${name}.zsh \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ${destroot}${prefix}/share/zsh/site-functions/_${name}
</span> }
</pre><pre style='margin:0'>

</pre>