git: 4b05deed42e6 - main - devel/py-grpcio-tools: update to 1.70.0.

From: Vanilla I. Shu <vanilla_at_FreeBSD.org>
Date: Sat, 25 Jan 2025 13:04:57 UTC
The branch main has been updated by vanilla:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4b05deed42e645e1391ca0a284ae1e3630fb8169

commit 4b05deed42e645e1391ca0a284ae1e3630fb8169
Author:     Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2025-01-25 13:04:10 +0000
Commit:     Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2025-01-25 13:04:28 +0000

    devel/py-grpcio-tools: update to 1.70.0.
---
 devel/py-grpcio-tools/Makefile             |  2 +-
 devel/py-grpcio-tools/distinfo             |  6 +++---
 devel/py-grpcio-tools/files/patch-setup.py | 12 ++++++------
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile
index 9383937404ca..43bd0b18c627 100644
--- a/devel/py-grpcio-tools/Makefile
+++ b/devel/py-grpcio-tools/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	grpcio-tools
-PORTVERSION=	1.69.0
+PORTVERSION=	1.70.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-grpcio-tools/distinfo b/devel/py-grpcio-tools/distinfo
index a354d2011219..03da6484d713 100644
--- a/devel/py-grpcio-tools/distinfo
+++ b/devel/py-grpcio-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736150287
-SHA256 (grpcio_tools-1.69.0.tar.gz) = 3e1a98f4d9decb84979e1ddd3deb09c0a33a84b6e3c0776d5bde4097e3ab66dd
-SIZE (grpcio_tools-1.69.0.tar.gz) = 5323319
+TIMESTAMP = 1737808165
+SHA256 (grpcio_tools-1.70.0.tar.gz) = e578fee7c1c213c8e471750d92631d00f178a15479fb2cb3b939a07fc125ccd3
+SIZE (grpcio_tools-1.70.0.tar.gz) = 5323149
diff --git a/devel/py-grpcio-tools/files/patch-setup.py b/devel/py-grpcio-tools/files/patch-setup.py
index b83ec7645346..a3973b1c849c 100644
--- a/devel/py-grpcio-tools/files/patch-setup.py
+++ b/devel/py-grpcio-tools/files/patch-setup.py
@@ -1,15 +1,15 @@
---- setup.py.orig	2024-04-26 06:29:22 UTC
+--- setup.py.orig	2025-01-22 20:25:32 UTC
 +++ setup.py
-@@ -178,7 +178,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
+@@ -190,7 +190,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
          # Reduce the optimization level from O3 (in many cases) to O1 to
          # workaround gcc misalignment bug with MOVAPS (internal b/329134877)
          EXTRA_ENV_COMPILE_ARGS += " -O1"
 -    elif "darwin" in sys.platform:
 +    elif "darwin" in sys.platform or "freebsd" in sys.platform:
-         # AppleClang by defaults uses C17 so only C++14 needs to be specified.
-         EXTRA_ENV_COMPILE_ARGS += " -std=c++14"
+         # AppleClang by defaults uses C17 so only C++17 needs to be specified.
+         EXTRA_ENV_COMPILE_ARGS += " -std=c++17"
          EXTRA_ENV_COMPILE_ARGS += " -fno-wrapv -frtti"
-@@ -211,7 +211,7 @@ if EXTRA_ENV_LINK_ARGS is None:
+@@ -223,7 +223,7 @@ if EXTRA_ENV_LINK_ARGS is None:
          EXTRA_ENV_LINK_ARGS += " -Wl,-exported_symbol,_{}".format(
              _EXT_INIT_SYMBOL
          )
@@ -18,7 +18,7 @@
          EXTRA_ENV_LINK_ARGS += " -lpthread"
          if check_linker_need_libatomic():
              EXTRA_ENV_LINK_ARGS += " -latomic"
-@@ -248,7 +248,7 @@ if "win32" in sys.platform:
+@@ -260,7 +260,7 @@ if "win32" in sys.platform:
      )
      if "64bit" in platform.architecture()[0]:
          DEFINE_MACROS += (("MS_WIN64", 1),)