<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/eb1f277b787f8e1023850619b40c7d909e61f917">https://github.com/macports/macports-ports/commit/eb1f277b787f8e1023850619b40c7d909e61f917</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 eb1f277b787 doctl: Update to 1.59.0 and add fish completion
</span>eb1f277b787 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit eb1f277b787f8e1023850619b40c7d909e61f917
</span>Author: Vadim-Valdis Yudaev <judaew@outlook.de>
AuthorDate: Wed Apr 14 17:08:16 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> doctl: Update to 1.59.0 and add fish completion
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Changes:
</span><span style='display:block; white-space:pre;color:#404040;'> * Update to 1.59.0
</span><span style='display:block; white-space:pre;color:#404040;'> * Move completion variants to destroot
</span><span style='display:block; white-space:pre;color:#404040;'> * Add completion for fish
</span>---
www/doctl/Portfile | 43 ++++++++++++++++++-------------------------
1 file changed, 18 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/doctl/Portfile b/www/doctl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 117697a133d..5b6a5a1c35d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/doctl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/doctl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,12 +3,12 @@
</span> PortSystem 1.0
PortGroup golang 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup github.com/digitalocean/doctl 1.56.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/digitalocean/doctl 1.59.0 v
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4fa8f2ac39f2899972520109525ec4d412fdc060 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fc5b3b148962f098d4f5bd90b67c06fd9ad3c184d7305b14181aeea1d2bac7c0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5164863
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7f84c681571b357cce17a8c26515865644e1bdea \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c90b1ae69e43ecb795596519b8feb5cc1d55523c91b0337916fdb563337ae753 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5199147
</span>
categories www devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,26 +39,19 @@ build.target ${worksrcpath}/cmd/${name}
</span>
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
<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;'>-variant bash_completion {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append path:etc/bash_completion:bash-completion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set completions_path ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${completions_path}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set completion-file [open ${completions_path}/${name} "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${completion-file} [exec ${destroot}${prefix}/bin/${name} completion bash]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${completion-file}
</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;'>-variant zsh_completion description {Install zsh completion} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_run-append path:${prefix}/bin/zsh:zsh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set site-functions ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${site-functions}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set completion-file [open ${site-functions}/_${name} "w"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts ${completion-file} [exec ${destroot}${prefix}/bin/${name} completion zsh]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- close ${completion-file}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bash_completion ${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${bash_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exec ${destroot}${prefix}/bin/${name} completion bash >> \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${bash_completion}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set zsh_completion ${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${zsh_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exec ${destroot}${prefix}/bin/${name} completion zsh >> \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${zsh_completion}/_${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fish_completion ${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${fish_completion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exec ${destroot}${prefix}/bin/${name} completion fish >> \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${fish_completion}/${name}.fish
</span> }
</pre><pre style='margin:0'>
</pre>