<pre style='margin:0'>
Andrey Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8777db0eee56cf71f64943d491c4992a3e242e4b">https://github.com/macports/macports-ports/commit/8777db0eee56cf71f64943d491c4992a3e242e4b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8777db0eee56cf71f64943d491c4992a3e242e4b
</span>Author: Andrey Stromnov <stromnov@macports.org>
AuthorDate: Mon Jan 15 18:12:16 2024 +0300

<span style='display:block; white-space:pre;color:#404040;'>    py-acora: update to 2.4
</span>---
 python/py-acora/Portfile                  | 13 +++++++------
 python/py-acora/files/patch-setup.py.diff | 16 ++++++++++++++++
 2 files changed, 23 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-acora/Portfile b/python/py-acora/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50e3174e0ec..54ac1919529 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-acora/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-acora/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,12 +4,12 @@ PortSystem          1.0
</span> PortGroup           python 1.0
 
 name                py-acora
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             2.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             2.4
</span> revision            0
 categories-append   textproc devel
 license             BSD
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions     37 38 39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     37 38 39 310 311 312
</span> 
 maintainers         {stromnov @stromnov} openmaintainer
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +18,13 @@ long_description    ${description}
</span> 
 homepage            https://pypi.python.org/pypi/acora
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  0ab1ddf8197f9057c01d5e2f3602de6edb9ee521 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  7f948407050b0c643fbc99d32fb9fdab11cbbf7c980f9ad5b660dff3329c5be3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    215601
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  2680e5a22ff12507c2e23358e432571964eecef6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  15f1526a727a44a9f98ef4f8f1157885ba1f5e53d31d7a2f4c0b56a13c7e843b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    266246
</span> 
 if {${name} ne ${subport}} {
     depends_build-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        port:py${python.version}-setuptools \
</span>                         port:py${python.version}-cython
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append   patch-setup.py.diff
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-acora/files/patch-setup.py.diff b/python/py-acora/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0cf5184a018
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-acora/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig  2024-01-15 18:08:27.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py       2024-01-15 18:08:38.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,12 +12,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     Extension("acora._cacora", ["acora/_cacora.pyx"]),
</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;'>+-try:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    sys.argv.remove('--with-cython')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-except ValueError:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    USE_CYTHON = False
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    USE_CYTHON = True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++USE_CYTHON = True
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ try:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     sys.argv.remove('--no-compile')
</span></pre><pre style='margin:0'>

</pre>