<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c856bb1c508852feb536b7a61314cc8f0b950a67">https://github.com/macports/macports-ports/commit/c856bb1c508852feb536b7a61314cc8f0b950a67</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 c856bb1c508 grc: update to 1.13, cleanup py version and more
</span>c856bb1c508 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c856bb1c508852feb536b7a61314cc8f0b950a67
</span>Author: Giuseppe `ferdy` Miceli <ferdy@ferdy.it>
AuthorDate: Fri Nov 12 14:23:35 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> grc: update to 1.13, cleanup py version and more
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> update to version 1.13
</span><span style='display:block; white-space:pre;color:#404040;'> remove python variants
</span><span style='display:block; white-space:pre;color:#404040;'> add python default version
</span><span style='display:block; white-space:pre;color:#404040;'> fix [ba]sh conf file
</span>---
textproc/grc/Portfile | 28 +++++++++-------------------
1 file changed, 9 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/grc/Portfile b/textproc/grc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c8d44aa0f0c..6e33e61320e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/grc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/grc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup garabik grc 1.11.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup garabik grc 1.13 v
</span> revision 0
conflicts cc65
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,28 +21,17 @@ long_description Generic Colouriser makes text files or outputs of different
</span> It provides the grc and grcat Python scripts for filtering \
text output and colourising it.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f494d0850098fc81ca26d623ed9f01cbe0d44b3c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7c76fff1b0dc70a27b07fb3f0f7007518afa07f6804019037957a922a2ac98ec \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 45192
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 06578c83ffae331825fc1b5fe8ac1b5279f1f44a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1468c50237fc260840384cc2063f3031689e95e5c6dc22533aa5d25a3d17f2f9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 49236
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python35 python36 description {Use Python 2.7} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.default_version 27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python27 python36 description {Use Python 3.5} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.default_version 35
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python27 python35 description {Use Python 3.6} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python.default_version 36
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] && ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 39
</span>
build {}
destroot {}
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\$(which grc)|${prefix}/bin/grc|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/grc.sh
</span> reinplace "s|#! /usr/bin/env python3|#!${python.bin}|" \
${worksrcpath}/grc ${worksrcpath}/grcat
reinplace "s|/etc|${prefix}/etc|g" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +49,7 @@ post-destroot {
</span> ${destroot}${prefix}/share/${name}
xinstall -m 755 -d ${destroot}${prefix}/etc/${name}.d
xinstall -m 644 -W ${worksrcpath} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- grc.bashrc grc.zsh grc.fish ${destroot}${prefix}/etc/${name}.d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ grc.sh grc.zsh grc.fish ${destroot}${prefix}/etc/${name}.d
</span> set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,5 +59,6 @@ post-destroot {
</span> INSTALL \
README.markdown \
Regexp.txt \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ TODO \
</span> ${destroot}${docdir}
}
</pre><pre style='margin:0'>
</pre>