Skip to content

Commit

Permalink
devel/py-grpcio-tools: update t. 1.57.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanillahsu committed Aug 13, 2023
1 parent 51aac4a commit a012c9c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion 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}
Expand Down
6 changes: 3 additions & 3 deletions 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
32 changes: 16 additions & 16 deletions 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

0 comments on commit a012c9c

Please sign in to comment.