<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/cb9987c116a5ec347fef0adf1c17c7358d836c9e">https://github.com/macports/macports-ports/commit/cb9987c116a5ec347fef0adf1c17c7358d836c9e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cb9987c116a5ec347fef0adf1c17c7358d836c9e
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Mar 19 12:53:14 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    colout: update to 0.12.0, use Python 3.10
</span>---
 textproc/colout/Portfile                  | 39 +++++++++++++++++--------------
 textproc/colout/files/patch-setup.py.diff | 28 ++++++++++++++++++++++
 2 files changed, 49 insertions(+), 18 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/colout/Portfile b/textproc/colout/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8c1e6b2d93e..cbdc22f13fc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/colout/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/colout/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +1,14 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span> 
 PortSystem          1.0
 PortGroup           github 1.0
 PortGroup           python 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        nojhan colout 0.5 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        nojhan colout 0.12.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> 
 categories          textproc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> license             GPL-3
 maintainers         {g5pw @g5pw} openmaintainer
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,26 +19,28 @@ long_description    ${name} read lines of text stream on the standard input and
</span> 
 homepage            https://nojhan.github.io/colout/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  91a5eea8af8ad88debb56d67026333784e65ed47 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  2e35f18f4240b080d0579c3410726f79121ae373107fb72315e17cff02060ece
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  09e17028c02065efc237ed73dbbc415abde78d4e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  1dfafc1b62054f08ffdcf813b1207e6a67e2f185fc6df329cea78b7425a18256 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    36856
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 310
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace -W ${worksrcpath} s|python3|${python.bin}| \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                        bin/colout \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                        colout/colout.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                                        setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append   patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|@@VERSION@@|${version}|g" ${worksrcpath}/setup.py
</span> }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-babel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-pygments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
     set docdir ${prefix}/share/doc/${subport}
     xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        LICENSE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        README.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 0644 -W ${worksrcpath} LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        README.md ${destroot}${docdir}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type      none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/colout/files/patch-setup.py.diff b/textproc/colout/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..236da9db972
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/colout/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,28 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig  2022-03-19 13:06:29.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py       2022-03-19 13:07:06.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,8 +16,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ requires = ['pygments', 'babel']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-setup_requires = ['setuptools_scm']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ classifiers = """
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Environment :: Console
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Development Status :: 5 - Production/Stable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -36,7 +34,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ setup(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     name='colout',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    use_scm_version=True,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    version='@@VERSION@@',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     classifiers=classifiers,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     description='Color Up Arbitrary Command Output.',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     entry_points={
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -51,7 +49,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     package_data={'': ['LICENSE', 'README.md']},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     package_dir={'colout': 'colout'},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     python_requires='>=3.5',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    setup_requires=setup_requires,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     include_package_data=True,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     install_requires=requires,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     license='GPLv3',
</span></pre><pre style='margin:0'>

</pre>