pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net py-grpcio[-tools]: updated to 1.24.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/099fecd2e92a
branches: trunk
changeset: 403261:099fecd2e92a
user: adam <adam%pkgsrc.org@localhost>
date: Thu Oct 24 18:34:17 2019 +0000
description:
py-grpcio[-tools]: updated to 1.24.3
1.24.3
Add strip_prefix to python protoc plugin and py_grpc_library.
Switch py_proto_library from using src to deps to conform with google3.
Expose local credentials on Python layer.
Make default vtable for pointer argument a constant.
Gracefully handle errors from Future object callbacks.
Gracefully handle exceptions raised by signal handlers on the main thread while unary RPCs are in flight.
Separate py_grpc_library and py_proto_library.
Add wait_for_termination method to grpc.Server.
Add Python Cancellation Example.
diffstat:
net/py-grpcio-tools/Makefile | 6 +++---
net/py-grpcio-tools/distinfo | 12 ++++++------
net/py-grpcio-tools/patches/patch-setup.py | 18 +++++++++---------
net/py-grpcio/Makefile | 4 ++--
net/py-grpcio/distinfo | 12 ++++++------
net/py-grpcio/patches/patch-setup.py | 14 +++++++-------
6 files changed, 33 insertions(+), 33 deletions(-)
diffs (164 lines):
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio-tools/Makefile
--- a/net/py-grpcio-tools/Makefile Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio-tools/Makefile Thu Oct 24 18:34:17 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2019/10/03 08:10:09 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/10/24 18:34:17 adam Exp $
-DISTNAME= grpcio-tools-1.23.1
+DISTNAME= grpcio-tools-1.24.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
@@ -10,7 +10,7 @@
COMMENT= Protobuf code generator for gRPC
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.20.0:../../net/py-grpcio
+DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.24.3:../../net/py-grpcio
DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.1:../../devel/py-protobuf
USE_LANGUAGES= c c++11
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio-tools/distinfo
--- a/net/py-grpcio-tools/distinfo Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio-tools/distinfo Thu Oct 24 18:34:17 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2019/10/03 08:10:09 adam Exp $
+$NetBSD: distinfo,v 1.8 2019/10/24 18:34:17 adam Exp $
-SHA1 (grpcio-tools-1.23.1.tar.gz) = 9f2429f46a86bf172cce91979fb6553061062f90
-RMD160 (grpcio-tools-1.23.1.tar.gz) = d7b057ba054a92780fe652673b7930ffe7bbdfa8
-SHA512 (grpcio-tools-1.23.1.tar.gz) = a6309e6ef6b0cc2e9b295b65c8d7316721ba25aed00a1396b58c902d6379fb2e5acf4036ccb4e3ead0bf602b9b53d0388d4899d5abac046125d8e1fbcf84e5d9
-Size (grpcio-tools-1.23.1.tar.gz) = 2021585 bytes
-SHA1 (patch-setup.py) = ac7c9fbcd9f33a8824c18834bea9c4262f65f718
+SHA1 (grpcio-tools-1.24.3.tar.gz) = ebb6654f18aae6bc3eb2f4d68dd7e6083f22b3d4
+RMD160 (grpcio-tools-1.24.3.tar.gz) = 1304389b1e3309b64c757f5290a38ba10cc239b9
+SHA512 (grpcio-tools-1.24.3.tar.gz) = 89d12beadead3c68532a769795446a9edca96be495ea2af42bf1934e86cc06d06fc345f7847b17a088d66a2c4390461533be075a93e3d5c255c625da097812ab
+Size (grpcio-tools-1.24.3.tar.gz) = 1984292 bytes
+SHA1 (patch-setup.py) = 080ba75a31b51631000e79006316e0a2d5ce6cee
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio-tools/patches/patch-setup.py
--- a/net/py-grpcio-tools/patches/patch-setup.py Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio-tools/patches/patch-setup.py Thu Oct 24 18:34:17 2019 +0000
@@ -1,20 +1,20 @@
-$NetBSD: patch-setup.py,v 1.2 2019/04/19 09:58:50 adam Exp $
+$NetBSD: patch-setup.py,v 1.3 2019/10/24 18:34:17 adam Exp $
Use pthread on FreeBSD.
Use external protobuf.
---- setup.py.orig 2019-04-15 23:12:52.000000000 +0000
+--- setup.py.orig 2019-10-22 19:40:19.000000000 +0000
+++ setup.py
-@@ -88,7 +88,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
+@@ -108,7 +108,7 @@ if EXTRA_ENV_COMPILE_ARGS is None:
EXTRA_ENV_COMPILE_ARGS += ' -fno-wrapv -frtti'
if EXTRA_ENV_LINK_ARGS is None:
EXTRA_ENV_LINK_ARGS = ''
- 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'
- elif "win32" in sys.platform and sys.version_info < (3, 5):
- msvcr = cygwinccompiler.get_msvcr()[0]
-@@ -101,11 +101,9 @@ if EXTRA_ENV_LINK_ARGS is None:
+ if check_linker_need_libatomic():
+ EXTRA_ENV_LINK_ARGS += ' -latomic'
+@@ -123,11 +123,9 @@ if EXTRA_ENV_LINK_ARGS is None:
EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
@@ -26,7 +26,7 @@
PROTO_INCLUDE = os.path.normpath(protoc_lib_deps.PROTO_INCLUDE)
GRPC_PYTHON_TOOLS_PACKAGE = 'grpc_tools'
-@@ -116,7 +114,7 @@ if "win32" in sys.platform:
+@@ -138,7 +136,7 @@ if "win32" in sys.platform:
DEFINE_MACROS += (('WIN32_LEAN_AND_MEAN', 1),)
if '64bit' in platform.architecture()[0]:
DEFINE_MACROS += (('MS_WIN64', 1),)
@@ -35,7 +35,7 @@
DEFINE_MACROS += (('HAVE_PTHREAD', 1),)
# By default, Python3 distutils enforces compatibility of
-@@ -163,7 +161,7 @@ def extension_modules():
+@@ -185,7 +183,7 @@ def extension_modules():
plugin_sources += [
os.path.join('grpc_tools', 'main.cc'),
os.path.join('grpc_root', 'src', 'compiler', 'python_generator.cc')
@@ -44,7 +44,7 @@
plugin_ext = extension.Extension(
name='grpc_tools._protoc_compiler',
-@@ -172,7 +170,6 @@ def extension_modules():
+@@ -194,7 +192,6 @@ def extension_modules():
'.',
'grpc_root',
os.path.join('grpc_root', 'include'),
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio/Makefile
--- a/net/py-grpcio/Makefile Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio/Makefile Thu Oct 24 18:34:17 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2019/10/03 08:10:09 adam Exp $
+# $NetBSD: Makefile,v 1.10 2019/10/24 18:34:17 adam Exp $
-DISTNAME= grpcio-1.23.1
+DISTNAME= grpcio-1.24.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio/distinfo Thu Oct 24 18:34:17 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.11 2019/10/03 08:10:09 adam Exp $
+$NetBSD: distinfo,v 1.12 2019/10/24 18:34:17 adam Exp $
-SHA1 (grpcio-1.23.1.tar.gz) = f22d3e519334b16100fe5ec350ca8bfd556065b4
-RMD160 (grpcio-1.23.1.tar.gz) = 690d73120081bf43baf13c35baa495aa5e27e109
-SHA512 (grpcio-1.23.1.tar.gz) = 4f8868d88876379d11520a5726c18506a88a0c99be1d32a47b3159a6b5c1313fda2b1c67112113a6459b5305a270148b683e95cf3d3b62a175c4597bd9779374
-Size (grpcio-1.23.1.tar.gz) = 13976733 bytes
-SHA1 (patch-setup.py) = 68bbc17adeb570dd6be3dbf878638a247655f14a
+SHA1 (grpcio-1.24.3.tar.gz) = 14178327f815d95883e00c5ab1cc1ecbad7a6533
+RMD160 (grpcio-1.24.3.tar.gz) = 8185ee2b42573017b19fb90cbb55b1976b841398
+SHA512 (grpcio-1.24.3.tar.gz) = 0dc90de5a06b9af7fa91d3e96117f69813e5fee31499e8e48daac7d164856594f164a434d3dd28d6e0220e417926aadceabb9b7597e86a6bb87d8943e6661dce
+Size (grpcio-1.24.3.tar.gz) = 14030592 bytes
+SHA1 (patch-setup.py) = eb7e9a110711d149bae7cc4f4b08e725ffc25ae5
SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a
diff -r 88b3107e49b6 -r 099fecd2e92a net/py-grpcio/patches/patch-setup.py
--- a/net/py-grpcio/patches/patch-setup.py Thu Oct 24 18:24:27 2019 +0000
+++ b/net/py-grpcio/patches/patch-setup.py Thu Oct 24 18:34:17 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-setup.py,v 1.4 2019/04/19 07:31:47 adam Exp $
+$NetBSD: patch-setup.py,v 1.5 2019/10/24 18:34:17 adam Exp $
Use dependencies in pkgsrc.
---- setup.py.orig 2019-04-15 23:12:51.000000000 +0000
+--- setup.py.orig 2019-10-22 19:40:13.000000000 +0000
+++ setup.py
-@@ -206,19 +206,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
- (PYTHON_STEM,) + CORE_INCLUDE + SSL_INCLUDE + ZLIB_INCLUDE +
- NANOPB_INCLUDE + CARES_INCLUDE + ADDRESS_SORTING_INCLUDE)
+@@ -235,19 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
+ UPB_GRPC_GENERATED_INCLUDE +
+ ZLIB_INCLUDE)
-EXTENSION_LIBRARIES = ()
-if "linux" in sys.platform:
@@ -25,7 +25,7 @@
DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))
if not DISABLE_LIBC_COMPATIBILITY:
-@@ -265,7 +253,7 @@ def cython_extensions_and_necessity():
+@@ -294,7 +282,7 @@ def cython_extensions_and_necessity():
for name in CYTHON_EXTENSION_MODULE_NAMES]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
@@ -34,7 +34,7 @@
extra_objects = [prefix + 'libares.a',
prefix + 'libboringssl.a',
prefix + 'libgpr.a',
-@@ -277,7 +265,7 @@ def cython_extensions_and_necessity():
+@@ -306,7 +294,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,
Home |
Main Index |
Thread Index |
Old Index