<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e8f2531d7f885d04c618433111863bf039587431">https://github.com/macports/macports-ports/commit/e8f2531d7f885d04c618433111863bf039587431</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 e8f2531d7f8 py-grpcio*: don't build/use internal abseil Fixes: https://trac.macports.org/ticket/67566
</span>e8f2531d7f8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e8f2531d7f885d04c618433111863bf039587431
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Wed Jul 12 08:22:41 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-grpcio*: don't build/use internal abseil
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/67566
</span>---
devel/grpc/Portfile | 22 ++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)
<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 f61d820526c..01626c97194 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;'>@@ -181,13 +181,6 @@ if {[string match "py*" ${subport}]} {
</span> reinplace "s|/usr|${prefix}|g" ${worksrcpath}/setup.py
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # See https://github.com/grpc/grpc/blob/master/setup.py for supported system packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend grpc_submodules \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- abseil-cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:abseil
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_configure yes
configure.pre_args-delete \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -202,25 +195,18 @@ if {[string match "py*" ${subport}]} {
</span> "-DCMAKE_MAKE_PROGRAM=${python.bin} setup.py --no-user-cfg" \
-DCMAKE_MAKE_PROGRAM=[portbuild::build_getmaketype]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DgRPC_ABSL_PROVIDER=package \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DgRPC_ABSL_PROVIDER=module
</span> configure.args-append \
-DPython_EXECUTABLE=${python.bin}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GRPC_PYTHON_BUILD_SYSTEM_CARES=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GRPC_PYTHON_BUILD_SYSTEM_RE2=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GRPC_PYTHON_BUILD_WITH_CYTHON=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach phase {build destroot} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${phase}.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 \
</span> GRPC_PYTHON_BUILD_SYSTEM_CARES=1 \
GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 \
GRPC_PYTHON_BUILD_SYSTEM_RE2=1 \
GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 \
GRPC_PYTHON_BUILD_WITH_CYTHON=1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
# Build instructions:
# https://github.com/grpc/grpc/tree/master/src/python/grpcio#installing-from-source
</pre><pre style='margin:0'>
</pre>