<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7bd1695352a7ea3a98e9a85605de5603a616a468">https://github.com/macports/macports-ports/commit/7bd1695352a7ea3a98e9a85605de5603a616a468</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 7bd1695352a py*-grpcio: build with cython-compat
</span>7bd1695352a is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 7bd1695352a7ea3a98e9a85605de5603a616a468
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Aug 15 14:50:56 2024 +1000

<span style='display:block; white-space:pre;color:#404040;'>    py*-grpcio: build with cython-compat
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/70563
</span>---
 devel/grpc/Portfile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/grpc/Portfile b/devel/grpc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cf5969e22e6..99832415681 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/grpc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/grpc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -254,7 +254,7 @@ if {[string match "py*" ${subport}]} {
</span> if {[string match "py*${name_io}" ${subport}]} {
     depends_build-append \
                     port:py${python.version}-coverage \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:py${python.version}-cython \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-cython-compat \
</span>                     port:py${python.version}-setuptools
 
     depends_lib-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -264,6 +264,11 @@ if {[string match "py*${name_io}" ${subport}]} {
</span> 
     depends_test-append \
                     port:py${python.version}-twisted
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Not yet compatible with Cython 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    set compat_path [string replace ${python.pkgd} 0 [string length ${python.prefix}]-1 ${prefix}/lib/py${python.version}-cython-compat]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env-append    PYTHONPATH=${compat_path}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    destroot.env-append PYTHONPATH=${compat_path}
</span> }
 
 # Python bindings for grpcio-tools
</pre><pre style='margin:0'>

</pre>