pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed May 15 21:13:50 UTC 2024

Modified Files:
        pkgsrc/net/grpc: Makefile PLIST distinfo
        pkgsrc/net/py-grpcio: Makefile distinfo
        pkgsrc/net/py-grpcio-testing: Makefile distinfo
        pkgsrc/net/py-grpcio-tools: Makefile PLIST distinfo
        pkgsrc/net/py-grpcio-tools/patches: patch-setup.py
        pkgsrc/net/py-grpcio/patches: patch-setup.py

Log Message:
*grpcio*: update to 1.63

This is release 1.63.0 (giggle) of gRPC Core.

For gRPC documentation, see grpc.io. For previous releases, see Releases.

This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core

    [Deps] Backport: Protobuf upgrade to v26.1. (#36353)
    [surface] Add an API to inject connected endpoints into servers. (#35957)
    [CMake] Add gRPC_USE_SYSTEMD option. (#34384)
    [Deps] Upgraded protobuf to v26.1. (#35796)
    [channel] canonify target and set channel arg in only one place. (#36134)
    [grpc][Gpr_To_Absl_Logging] Using absl from within gpr logging. (#36108)
    [BoringSSL] Update third_party/boringssl-with-bazel. (#36089)
    [EventEngine] Document RunAfter can return an invalid handle for immediate execution. (#36072)
    [EventEngine] Enable the EventEngine DNS Resolver on Posix. (#35573)
    [EventEngine] Support AF_UNIX for windows. (#34801)

C++

    [OTel C++] Add APIs to enable/disable metrics. (#36183)
    [EventEngine] Refactor ServerCallbackCall to use EventEngine::Run. (#36126)
    [OTel C++] Add CMake build support. (#36063)
    gRPC C++ upgraded Protobuf to v26.1. (#36323)
    [OTel C++] Add experimental optional locality label available to client per-attempt metrics. (#36254)
    [OTel C++] Add API to set channel scope filter. (#36189)

Python

    [Python Version] Drop support for Python 3.7. (#34450)
    [Python Aio] Change aio Metadata inheritance. (#36214)
    [Documentation] fix asyncio Server and Channel stop() method documentation. (#35946)
    [Python O11y] Change public interface. (#36094)
    [Python Stub] Add version check to stubs generated by grpcio_tools. (#35906)
    [AbortError] Reapply "[AbortError] And and check AbortError while abort". (#34525)
    [Build Reproducibility] Sort input file list. (#35687)
    [Python O11Y] Reapply registered method change. (#35850)
    [Python Modernization] Deprecate pkg_resources. (#35849)
    [Python Bazel] Allow overwriting grpc_library in python_rules.bzl. (#35629)


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/net/grpc/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/grpc/PLIST
cvs rdiff -u -r1.81 -r1.82 pkgsrc/net/grpc/distinfo
cvs rdiff -u -r1.70 -r1.71 pkgsrc/net/py-grpcio/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.47 -r1.48 pkgsrc/net/py-grpcio-testing/Makefile \
    pkgsrc/net/py-grpcio-testing/distinfo
cvs rdiff -u -r1.64 -r1.65 pkgsrc/net/py-grpcio-tools/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-grpcio-tools/PLIST
cvs rdiff -u -r1.56 -r1.57 pkgsrc/net/py-grpcio-tools/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-grpcio-tools/patches/patch-setup.py
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/py-grpcio/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/grpc/Makefile
diff -u pkgsrc/net/grpc/Makefile:1.87 pkgsrc/net/grpc/Makefile:1.88
--- pkgsrc/net/grpc/Makefile:1.87       Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/grpc/Makefile    Wed May 15 21:13:49 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.87 2024/04/19 04:54:36 adam Exp $
+# $NetBSD: Makefile,v 1.88 2024/05/15 21:13:49 wiz Exp $
 
-DISTNAME=      grpc-1.62.2
+DISTNAME=      grpc-1.63.0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/net/grpc/PLIST
diff -u pkgsrc/net/grpc/PLIST:1.43 pkgsrc/net/grpc/PLIST:1.44
--- pkgsrc/net/grpc/PLIST:1.43  Thu Feb 22 11:55:59 2024
+++ pkgsrc/net/grpc/PLIST       Wed May 15 21:13:49 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.43 2024/02/22 11:55:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.44 2024/05/15 21:13:49 wiz Exp $
 bin/grpc_cpp_plugin
 bin/grpc_csharp_plugin
 bin/grpc_node_plugin
@@ -145,6 +145,7 @@ include/grpc/support/cpu.h
 include/grpc/support/json.h
 include/grpc/support/log.h
 include/grpc/support/log_windows.h
+include/grpc/support/metrics.h
 include/grpc/support/port_platform.h
 include/grpc/support/string_util.h
 include/grpc/support/sync.h
@@ -302,59 +303,59 @@ lib/cmake/grpc/modules/Findc-ares.cmake
 lib/cmake/grpc/modules/Findre2.cmake
 lib/cmake/grpc/modules/Findsystemd.cmake
 lib/libaddress_sorting.so
-lib/libaddress_sorting.so.39
-lib/libaddress_sorting.so.39.0.0
+lib/libaddress_sorting.so.40
+lib/libaddress_sorting.so.40.0.0
 lib/libgpr.so
-lib/libgpr.so.39
-lib/libgpr.so.39.0.0
+lib/libgpr.so.40
+lib/libgpr.so.40.0.0
 lib/libgrpc++.so
+lib/libgrpc++.so.1.63
 lib/libgrpc++.so.${PKGVERSION}
-lib/libgrpc++.so.1.62
 lib/libgrpc++_alts.so
+lib/libgrpc++_alts.so.1.63
 lib/libgrpc++_alts.so.${PKGVERSION}
-lib/libgrpc++_alts.so.1.62
 lib/libgrpc++_error_details.so
+lib/libgrpc++_error_details.so.1.63
 lib/libgrpc++_error_details.so.${PKGVERSION}
-lib/libgrpc++_error_details.so.1.62
 lib/libgrpc++_reflection.so
+lib/libgrpc++_reflection.so.1.63
 lib/libgrpc++_reflection.so.${PKGVERSION}
-lib/libgrpc++_reflection.so.1.62
 lib/libgrpc++_unsecure.so
+lib/libgrpc++_unsecure.so.1.63
 lib/libgrpc++_unsecure.so.${PKGVERSION}
-lib/libgrpc++_unsecure.so.1.62
 lib/libgrpc.so
-lib/libgrpc.so.39
-lib/libgrpc.so.39.0.0
+lib/libgrpc.so.40
+lib/libgrpc.so.40.0.0
 lib/libgrpc_authorization_provider.so
+lib/libgrpc_authorization_provider.so.1.63
 lib/libgrpc_authorization_provider.so.${PKGVERSION}
-lib/libgrpc_authorization_provider.so.1.62
 lib/libgrpc_plugin_support.so
+lib/libgrpc_plugin_support.so.1.63
 lib/libgrpc_plugin_support.so.${PKGVERSION}
-lib/libgrpc_plugin_support.so.1.62
 lib/libgrpc_unsecure.so
-lib/libgrpc_unsecure.so.39
-lib/libgrpc_unsecure.so.39.0.0
+lib/libgrpc_unsecure.so.40
+lib/libgrpc_unsecure.so.40.0.0
 lib/libgrpcpp_channelz.so
+lib/libgrpcpp_channelz.so.1.63
 lib/libgrpcpp_channelz.so.${PKGVERSION}
-lib/libgrpcpp_channelz.so.1.62
 lib/libupb_base_lib.so
-lib/libupb_base_lib.so.39
-lib/libupb_base_lib.so.39.0.0
+lib/libupb_base_lib.so.40
+lib/libupb_base_lib.so.40.0.0
 lib/libupb_json_lib.so
-lib/libupb_json_lib.so.39
-lib/libupb_json_lib.so.39.0.0
+lib/libupb_json_lib.so.40
+lib/libupb_json_lib.so.40.0.0
 lib/libupb_mem_lib.so
-lib/libupb_mem_lib.so.39
-lib/libupb_mem_lib.so.39.0.0
+lib/libupb_mem_lib.so.40
+lib/libupb_mem_lib.so.40.0.0
 lib/libupb_message_lib.so
-lib/libupb_message_lib.so.39
-lib/libupb_message_lib.so.39.0.0
+lib/libupb_message_lib.so.40
+lib/libupb_message_lib.so.40.0.0
 lib/libupb_textformat_lib.so
-lib/libupb_textformat_lib.so.39
-lib/libupb_textformat_lib.so.39.0.0
+lib/libupb_textformat_lib.so.40
+lib/libupb_textformat_lib.so.40.0.0
 lib/libutf8_range_lib.so
-lib/libutf8_range_lib.so.39
-lib/libutf8_range_lib.so.39.0.0
+lib/libutf8_range_lib.so.40
+lib/libutf8_range_lib.so.40.0.0
 lib/pkgconfig/gpr.pc
 lib/pkgconfig/grpc++.pc
 lib/pkgconfig/grpc++_unsecure.pc

Index: pkgsrc/net/grpc/distinfo
diff -u pkgsrc/net/grpc/distinfo:1.81 pkgsrc/net/grpc/distinfo:1.82
--- pkgsrc/net/grpc/distinfo:1.81       Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/grpc/distinfo    Wed May 15 21:13:49 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.81 2024/04/19 04:54:36 adam Exp $
+$NetBSD: distinfo,v 1.82 2024/05/15 21:13:49 wiz Exp $
 
-BLAKE2s (grpc-1.62.2.tar.gz) = e5b00c7206efcb39f0211fbb49f39c6f40d43f91964162dbce90db87b5e5dba9
-SHA512 (grpc-1.62.2.tar.gz) = 9a000c8d87ca6dc13c458115394027cfa2982898c617c9c204371eaf7ef20e0fd61b099607fa85e45b4cf77e84201163b5ce09ca86a1ef7aed92cebf44f781b8
-Size (grpc-1.62.2.tar.gz) = 22384704 bytes
+BLAKE2s (grpc-1.63.0.tar.gz) = 335d6dce3755e3ecb32d70f560744198db63d56cc495204e1dfc8e18af489f59
+SHA512 (grpc-1.63.0.tar.gz) = 7210131243529d8134c9be18cd09297bc189b7ab633c4037d9096e0f5fdb33c3a93728cfabb0e5b06304cfdc00c33449e8c02b09d0782b6b5de2674a2e2a3c24
+Size (grpc-1.63.0.tar.gz) = 22431725 bytes
 BLAKE2s (opencensus-proto-0.3.0.tar.gz) = be3ce863226f4aa422d9faa997fe29f9bb1743c0e804af3c5fad3c170e60ba42
 SHA512 (opencensus-proto-0.3.0.tar.gz) = 39231a495dfdccfc8267d1e6af2ac624feea611a8691c10ec570de2194b352e4a9c3b0ce1606414fb98e5d77c66873bed4a9e56512efa12b267b8a91e0c5851e
 Size (opencensus-proto-0.3.0.tar.gz) = 163404 bytes

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.70 pkgsrc/net/py-grpcio/Makefile:1.71
--- pkgsrc/net/py-grpcio/Makefile:1.70  Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio/Makefile       Wed May 15 21:13:50 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.70 2024/04/19 04:54:36 adam Exp $
+# $NetBSD: Makefile,v 1.71 2024/05/15 21:13:50 wiz Exp $
 
-DISTNAME=      grpcio-1.62.2
+DISTNAME=      grpcio-1.63.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio/}

Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.60 pkgsrc/net/py-grpcio/distinfo:1.61
--- pkgsrc/net/py-grpcio/distinfo:1.60  Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio/distinfo       Wed May 15 21:13:50 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.60 2024/04/19 04:54:36 adam Exp $
+$NetBSD: distinfo,v 1.61 2024/05/15 21:13:50 wiz Exp $
 
-BLAKE2s (grpcio-1.62.2.tar.gz) = e0d04fa46699ccd239fa3e95dc83fe37ffee77c1945bdece2ba3bbad6acc81b6
-SHA512 (grpcio-1.62.2.tar.gz) = cf9356c58c246c34c734e882362cea514420a25f095dca3809a90eba8e38eb71d303e0c33a96e52451c058fd55d37c8afde1cb019bc3a69ac5ce96a8a52c1a7a
-Size (grpcio-1.62.2.tar.gz) = 26316089 bytes
-SHA1 (patch-setup.py) = c069957e57dc1bf0f3d09caa518f3b19e6057146
+BLAKE2s (grpcio-1.63.0.tar.gz) = 65052f5069a4b36c8e6e1067995e52d97245505b346b8991a9f53cec3f79c8f9
+SHA512 (grpcio-1.63.0.tar.gz) = b22f928272577f0bd6728eecfcbcda0c79dc76dd025a78cb0658d580367c43be49c0cb8d9384fa4803bf1ac53d534fce95fd9aec9f51aaf3ef79958f5282ffda
+Size (grpcio-1.63.0.tar.gz) = 26327099 bytes
+SHA1 (patch-setup.py) = d8bd1807052c157fc919ac888349320c0594abf1
 SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a

Index: pkgsrc/net/py-grpcio-testing/Makefile
diff -u pkgsrc/net/py-grpcio-testing/Makefile:1.47 pkgsrc/net/py-grpcio-testing/Makefile:1.48
--- pkgsrc/net/py-grpcio-testing/Makefile:1.47  Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio-testing/Makefile       Wed May 15 21:13:50 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2024/04/19 04:54:36 adam Exp $
+# $NetBSD: Makefile,v 1.48 2024/05/15 21:13:50 wiz Exp $
 
-DISTNAME=      grpcio-testing-1.62.2
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      grpcio_testing-1.63.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-testing/}
 
Index: pkgsrc/net/py-grpcio-testing/distinfo
diff -u pkgsrc/net/py-grpcio-testing/distinfo:1.47 pkgsrc/net/py-grpcio-testing/distinfo:1.48
--- pkgsrc/net/py-grpcio-testing/distinfo:1.47  Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio-testing/distinfo       Wed May 15 21:13:50 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.47 2024/04/19 04:54:36 adam Exp $
+$NetBSD: distinfo,v 1.48 2024/05/15 21:13:50 wiz Exp $
 
-BLAKE2s (grpcio-testing-1.62.2.tar.gz) = 0641e38d5f611691080b315a0ecde74730f75a74973813ef559be4771ebd94f8
-SHA512 (grpcio-testing-1.62.2.tar.gz) = 4fbc7eac446367c24e963a3b6ab1d7a9f230cc97cf5de24c813f0f8202332e6a4d6af8e80d2621b4d4dd9eaf864d4ff6300525f84921f9e15635d3953e3c6f11
-Size (grpcio-testing-1.62.2.tar.gz) = 21708 bytes
+BLAKE2s (grpcio_testing-1.63.0.tar.gz) = 23bd9bb5bc4ae524ccfb1fc72293e8bea182c6bed4ac72e00ee5fdb6134e71da
+SHA512 (grpcio_testing-1.63.0.tar.gz) = a96fd482bf43fb5f6fa92c7b97c19bbf21652c467c9bbed853a045b753c498b10b94c5639ec7a4cbd872549b80476d749225112f1bed31c2be385fa10a3c9e5d
+Size (grpcio_testing-1.63.0.tar.gz) = 22564 bytes

Index: pkgsrc/net/py-grpcio-tools/Makefile
diff -u pkgsrc/net/py-grpcio-tools/Makefile:1.64 pkgsrc/net/py-grpcio-tools/Makefile:1.65
--- pkgsrc/net/py-grpcio-tools/Makefile:1.64    Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio-tools/Makefile Wed May 15 21:13:50 2024
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.64 2024/04/19 04:54:36 adam Exp $
+# $NetBSD: Makefile,v 1.65 2024/05/15 21:13:50 wiz Exp $
 
-DISTNAME=      grpcio-tools-1.62.2
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+DISTNAME=      grpcio_tools-1.63.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-tools/}
 

Index: pkgsrc/net/py-grpcio-tools/PLIST
diff -u pkgsrc/net/py-grpcio-tools/PLIST:1.2 pkgsrc/net/py-grpcio-tools/PLIST:1.3
--- pkgsrc/net/py-grpcio-tools/PLIST:1.2        Thu Nov  2 12:46:45 2023
+++ pkgsrc/net/py-grpcio-tools/PLIST    Wed May 15 21:13:50 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/11/02 12:46:45 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/05/15 21:13:50 wiz Exp $
 ${PYSITELIB}/grpc_tools/__init__.py
 ${PYSITELIB}/grpc_tools/__init__.pyc
 ${PYSITELIB}/grpc_tools/__init__.pyo
@@ -18,6 +18,9 @@ ${PYSITELIB}/grpc_tools/_protoc_compiler
 ${PYSITELIB}/grpc_tools/command.py
 ${PYSITELIB}/grpc_tools/command.pyc
 ${PYSITELIB}/grpc_tools/command.pyo
+${PYSITELIB}/grpc_tools/grpc_version.py
+${PYSITELIB}/grpc_tools/grpc_version.pyc
+${PYSITELIB}/grpc_tools/grpc_version.pyo
 ${PYSITELIB}/grpc_tools/protoc.py
 ${PYSITELIB}/grpc_tools/protoc.pyc
 ${PYSITELIB}/grpc_tools/protoc.pyo

Index: pkgsrc/net/py-grpcio-tools/distinfo
diff -u pkgsrc/net/py-grpcio-tools/distinfo:1.56 pkgsrc/net/py-grpcio-tools/distinfo:1.57
--- pkgsrc/net/py-grpcio-tools/distinfo:1.56    Fri Apr 19 04:54:36 2024
+++ pkgsrc/net/py-grpcio-tools/distinfo Wed May 15 21:13:50 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.56 2024/04/19 04:54:36 adam Exp $
+$NetBSD: distinfo,v 1.57 2024/05/15 21:13:50 wiz Exp $
 
-BLAKE2s (grpcio-tools-1.62.2.tar.gz) = ea4eece92c994e5f5bebf23a7adef6ad2c8766ca37ef7383e37f3fbed5ae608e
-SHA512 (grpcio-tools-1.62.2.tar.gz) = 90905e844b57539d70d8744ec8c7de94e5ba35d1208c3033092af89d9252a684944080f3c2fea3e5d0c5bfd62a89066f2c8cce35a206c3224af73b1a2ca4ad33
-Size (grpcio-tools-1.62.2.tar.gz) = 4538350 bytes
-SHA1 (patch-setup.py) = e1a89937a346971a1bba446d11e7a66d4cdded11
+BLAKE2s (grpcio_tools-1.63.0.tar.gz) = 78e83ed4bf41e82e0c3ec188744f4648f128f3b90d517d682416fdd120484d38
+SHA512 (grpcio_tools-1.63.0.tar.gz) = b460659fda2952896f720d92b9a0be7177af9052ffff486267023082a5f58be74c73cb4a5547a82f6f1f6217df8ab428428c51a69adc344eccee8d6692d6c84e
+Size (grpcio_tools-1.63.0.tar.gz) = 5026765 bytes
+SHA1 (patch-setup.py) = 24025086f2117a429392fb8f1f58169c3cf0d0b0

Index: pkgsrc/net/py-grpcio-tools/patches/patch-setup.py
diff -u pkgsrc/net/py-grpcio-tools/patches/patch-setup.py:1.7 pkgsrc/net/py-grpcio-tools/patches/patch-setup.py:1.8
--- pkgsrc/net/py-grpcio-tools/patches/patch-setup.py:1.7       Thu Nov  2 12:46:45 2023
+++ pkgsrc/net/py-grpcio-tools/patches/patch-setup.py   Wed May 15 21:13:50 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.7 2023/11/02 12:46:45 wiz Exp $
+$NetBSD: patch-setup.py,v 1.8 2024/05/15 21:13:50 wiz Exp $
 
 Use pthread on FreeBSD.
 Use external protobuf.
 
---- setup.py.orig      2023-10-30 18:02:42.000000000 +0000
+--- setup.py.orig      2024-04-26 06:29:22.000000000 +0000
 +++ setup.py
-@@ -185,7 +185,7 @@ if EXTRA_ENV_LINK_ARGS is None:
+@@ -211,7 +211,7 @@ if EXTRA_ENV_LINK_ARGS is None:
          EXTRA_ENV_LINK_ARGS += " -Wl,-exported_symbol,_{}".format(
              _EXT_INIT_SYMBOL
          )
@@ -14,7 +14,7 @@ Use external protobuf.
          EXTRA_ENV_LINK_ARGS += " -lpthread"
          if check_linker_need_libatomic():
              EXTRA_ENV_LINK_ARGS += " -latomic"
-@@ -196,13 +196,9 @@ EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_
+@@ -227,13 +227,9 @@ EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_
  if BUILD_WITH_STATIC_LIBSTDCXX:
      EXTRA_LINK_ARGS.append("-static-libstdc++")
  
@@ -28,7 +28,7 @@ Use external protobuf.
  PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
  
  GRPC_PYTHON_TOOLS_PACKAGE = "grpc_tools"
-@@ -217,7 +213,7 @@ if "win32" in sys.platform:
+@@ -248,7 +244,7 @@ if "win32" in sys.platform:
      )
      if "64bit" in platform.architecture()[0]:
          DEFINE_MACROS += (("MS_WIN64", 1),)
@@ -36,8 +36,8 @@ Use external protobuf.
 +elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform:
      DEFINE_MACROS += (("HAVE_PTHREAD", 1),)
  
- # By default, Python3 setuptools(distutils) enforces compatibility of
-@@ -271,7 +267,7 @@ def extension_modules():
+ 
+@@ -286,7 +282,7 @@ def extension_modules():
          os.path.join("grpc_tools", "main.cc"),
          os.path.join("grpc_root", "src", "compiler", "python_generator.cc"),
          os.path.join("grpc_root", "src", "compiler", "proto_parser_helper.cc"),
@@ -46,13 +46,13 @@ Use external protobuf.
  
      plugin_ext = Extension(
          name="grpc_tools._protoc_compiler",
-@@ -280,8 +276,7 @@ def extension_modules():
+@@ -295,8 +291,7 @@ def extension_modules():
              ".",
              "grpc_root",
              os.path.join("grpc_root", "include"),
 -        ]
 -        + CC_INCLUDES,
 +        ],
-         language="c++",
          define_macros=list(DEFINE_MACROS),
          extra_compile_args=list(EXTRA_COMPILE_ARGS),
+         extra_link_args=list(EXTRA_LINK_ARGS),

Index: pkgsrc/net/py-grpcio/patches/patch-setup.py
diff -u pkgsrc/net/py-grpcio/patches/patch-setup.py:1.16 pkgsrc/net/py-grpcio/patches/patch-setup.py:1.17
--- pkgsrc/net/py-grpcio/patches/patch-setup.py:1.16    Thu Nov  2 12:46:44 2023
+++ pkgsrc/net/py-grpcio/patches/patch-setup.py Wed May 15 21:13:50 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.16 2023/11/02 12:46:44 wiz Exp $
+$NetBSD: patch-setup.py,v 1.17 2024/05/15 21:13:50 wiz Exp $
 
 Fix libatomic detection.
 Use dependencies in pkgsrc.
 
---- setup.py.orig      2023-10-30 18:02:41.000000000 +0000
+--- setup.py.orig      2024-04-26 06:29:21.000000000 +0000
 +++ setup.py
-@@ -350,33 +350,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
+@@ -335,34 +335,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
      + ZLIB_INCLUDE
  )
  
@@ -34,13 +34,14 @@ Use dependencies in pkgsrc.
 -    EXTENSION_LIBRARIES += ("re2",)
 -if BUILD_WITH_SYSTEM_ABSL:
 -    EXTENSION_LIBRARIES += tuple(
--        lib.stem[3:] for lib in pathlib.Path("/usr").glob("lib*/libabsl_*.so")
+-        lib.stem[3:]
+-        for lib in sorted(pathlib.Path("/usr").glob("lib*/libabsl_*.so"))
 -    )
 +EXTENSION_LIBRARIES = ('grpc',)
  
  DEFINE_MACROS = (("_WIN32_WINNT", 0x600),)
  asm_files = []
-@@ -494,7 +468,7 @@ def cython_extensions_and_necessity():
+@@ -466,7 +439,7 @@ def cython_extensions_and_necessity():
      ]
      config = os.environ.get("CONFIG", "opt")
      prefix = "libs/" + config + "/"
@@ -49,7 +50,7 @@ Use dependencies in pkgsrc.
          extra_objects = [
              prefix + "libares.a",
              prefix + "libboringssl.a",
-@@ -511,8 +485,6 @@ def cython_extensions_and_necessity():
+@@ -483,8 +456,6 @@ def cython_extensions_and_necessity():
              sources=(
                  [module_file]
                  + list(CYTHON_HELPER_C_FILES)



Home | Main Index | Thread Index | Old Index