<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/108b51bc4d9e49dfae7839f7579e0746690e897e">https://github.com/macports/macports-ports/commit/108b51bc4d9e49dfae7839f7579e0746690e897e</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 108b51bc4d9 dust: Add shell completions and manpage
</span>108b51bc4d9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 108b51bc4d9e49dfae7839f7579e0746690e897e
</span>Author: Keto <therealketo@gmail.com>
AuthorDate: Wed Sep 6 19:25:00 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> dust: Add shell completions and manpage
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add patch fixing bash & zsh completions
</span>---
sysutils/dust/Portfile | 25 ++++++++++++++-
.../files/patch-fix-bash-and-zsh-completions.diff | 37 ++++++++++++++++++++++
2 files changed, 61 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/dust/Portfile b/sysutils/dust/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a5c714bd833..e310e2c5aa6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/dust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/dust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup github 1.0
</span>
github.setup bootandy dust 0.8.6 v
github.tarball_from archive
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
description A more intuitive version of du in rust
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +23,13 @@ checksums ${distname}${extract.suffix} \
</span> sha256 feede818e814011207c5bfeaf06dd9fc95825c59ab70942aa9b9314791c5d6b6 \
size 102584
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Completion files are re-generated as part of build, so we
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # patch afterwards.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "patch -p1 < ${filespath}/patch-fix-bash-and-zsh-completions.diff"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.livecheck.regex \
{([0-9.]+)}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +37,22 @@ destroot {
</span> xinstall -m 0755 \
${worksrcpath}/target/[cargo.rust_platform]/release/${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/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/man-page/${name}.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set bash_comp_path ${destroot}${prefix}/share/bash-completion/completions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${bash_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/completions/${name}.bash ${bash_comp_path}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set zsh_comp_path ${destroot}${prefix}/share/zsh/site-functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${zsh_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/completions/_${name} ${zsh_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set fish_comp_path ${destroot}${prefix}/share/fish/vendor_completions.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${fish_comp_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/completions/${name}.fish ${fish_comp_path}
</span> }
cargo.crates \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/dust/files/patch-fix-bash-and-zsh-completions.diff b/sysutils/dust/files/patch-fix-bash-and-zsh-completions.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..aa9f0cc75bf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/dust/files/patch-fix-bash-and-zsh-completions.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+commit 0038cb24b4adbb85321e3c36fb7079fc898de44e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Author: wickles <4229542+wickles@users.noreply.github.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri Jul 14 10:32:21 2023 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Fix filename completions for zsh and bash (#331)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/completions/_dust b/completions/_dust
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 9e8be82..5443a41 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/completions/_dust
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/completions/_dust
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -64,7 +64,7 @@ _dust() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '(-F --only-file -t --file_types)--only-dir[Only directories will be displayed.]' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '(-D --only-dir)-F[Only files will be displayed. (Finds your largest files)]' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '(-D --only-dir)--only-file[Only files will be displayed. (Finds your largest files)]' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-'*::inputs:' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++'*:inputs:_files' \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && ret=0
</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;'>+diff --git a/completions/dust.bash b/completions/dust.bash
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 83d7b65..e34777a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/completions/dust.bash
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/completions/dust.bash
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,9 +20,12 @@ _dust() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "${cmd}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dust)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ opts="-h -V -d -n -p -X -L -x -s -r -c -b -z -R -f -i -v -e -t -w -H -P -D -F --help --version --depth --number-of-lines --full-paths --ignore-directory --dereference-links --limit-filesystem --apparent-size --reverse --no-colors --no-percent-bars --min-size --screen-reader --skip-total --filecount --ignore_hidden --invert-filter --filter --file_types --terminal_width --si --no-progress --only-dir --only-file <inputs>..."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [[ ${cur} == -* ]] ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ elif [[ ${cur} == * ]] ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ _filedir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "${prev}" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --depth)
</span></pre><pre style='margin:0'>
</pre>