git: a012c9c869ff - main - devel/py-grpcio-tools: update t. 1.57.0.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 06:30:43 UTC
The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=a012c9c869ff13981f87a23f3a23a9d5492d2b56 commit a012c9c869ff13981f87a23f3a23a9d5492d2b56 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2023-08-13 06:29:28 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2023-08-13 06:29:28 +0000 devel/py-grpcio-tools: update t. 1.57.0. --- devel/py-grpcio-tools/Makefile | 2 +- devel/py-grpcio-tools/distinfo | 6 +++--- devel/py-grpcio-tools/files/patch-setup.py | 32 +++++++++++++++--------------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile index 37896b8b6a0b..a3dea494dd9e 100644 --- a/devel/py-grpcio-tools/Makefile +++ b/devel/py-grpcio-tools/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpcio-tools -PORTVERSION= 1.56.2 +PORTVERSION= 1.57.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 7b4c1a45e0f3..5528daa91d35 100644 --- a/devel/py-grpcio-tools/distinfo +++ b/devel/py-grpcio-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690334584 -SHA256 (grpcio-tools-1.56.2.tar.gz) = 82af2f4040084141a732f0ef1ecf3f14fdf629923d74d850415e4d09a077e77a -SIZE (grpcio-tools-1.56.2.tar.gz) = 4485433 +TIMESTAMP = 1691904958 +SHA256 (grpcio-tools-1.57.0.tar.gz) = 2f16130d869ce27ecd623194547b649dd657333ec7e8644cc571c645781a9b85 +SIZE (grpcio-tools-1.57.0.tar.gz) = 4488020 diff --git a/devel/py-grpcio-tools/files/patch-setup.py b/devel/py-grpcio-tools/files/patch-setup.py index 05e7375feb7d..3f2434e25c60 100644 --- a/devel/py-grpcio-tools/files/patch-setup.py +++ b/devel/py-grpcio-tools/files/patch-setup.py @@ -1,29 +1,29 @@ ---- setup.py.orig 2022-10-01 13:52:51 UTC +--- setup.py.orig 2023-08-08 21:49:44 UTC +++ setup.py -@@ -149,7 +149,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: +@@ -160,7 +160,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: # We need to statically link the C++ Runtime, only the C runtime is # available dynamically - EXTRA_ENV_COMPILE_ARGS += ' /MT' + EXTRA_ENV_COMPILE_ARGS += " /MT" - elif "linux" in sys.platform or "darwin" in sys.platform: + elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: - EXTRA_ENV_COMPILE_ARGS += ' -fno-wrapv -frtti' + EXTRA_ENV_COMPILE_ARGS += " -fno-wrapv -frtti" if EXTRA_ENV_LINK_ARGS is None: - EXTRA_ENV_LINK_ARGS = '' -@@ -175,7 +175,7 @@ if EXTRA_ENV_LINK_ARGS is None: - if "darwin" in sys.platform: - EXTRA_ENV_LINK_ARGS += ' -Wl,-exported_symbol,_{}'.format( - _EXT_INIT_SYMBOL) + EXTRA_ENV_LINK_ARGS = "" +@@ -187,7 +187,7 @@ if EXTRA_ENV_LINK_ARGS is None: + EXTRA_ENV_LINK_ARGS += " -Wl,-exported_symbol,_{}".format( + _EXT_INIT_SYMBOL + ) - if "linux" in sys.platform or "darwin" in sys.platform: + if "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: - EXTRA_ENV_LINK_ARGS += ' -lpthread' + EXTRA_ENV_LINK_ARGS += " -lpthread" if check_linker_need_libatomic(): - EXTRA_ENV_LINK_ARGS += ' -latomic' -@@ -206,7 +206,7 @@ if "win32" in sys.platform: - DEFINE_MACROS += (('WIN32_LEAN_AND_MEAN', 1),) - if '64bit' in platform.architecture()[0]: - DEFINE_MACROS += (('MS_WIN64', 1),) + EXTRA_ENV_LINK_ARGS += " -latomic" +@@ -225,7 +225,7 @@ if "win32" in sys.platform: + ) + if "64bit" in platform.architecture()[0]: + DEFINE_MACROS += (("MS_WIN64", 1),) -elif "linux" in sys.platform or "darwin" in sys.platform: +elif "linux" in sys.platform or "darwin" in sys.platform or "freebsd" in sys.platform: - DEFINE_MACROS += (('HAVE_PTHREAD', 1),) + DEFINE_MACROS += (("HAVE_PTHREAD", 1),) # By default, Python3 distutils enforces compatibility of