pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-grpcio net/py-grpcio: Update to 1.13.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/a6b331aaa9ed
branches: trunk
changeset: 383565:a6b331aaa9ed
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Aug 04 21:56:47 2018 +0000
description:
net/py-grpcio: Update to 1.13.0
Notable changes:
- Eliminate grpcio package dependency on protobuf package
- A new grpc.Channel.close method is introduced and correct use of
gRPC Python now requires that channels be closed after use.
- Python errors have become more verbose.
- GRPC_ENABLE_FORK_SUPPORT=false is no longer required when running
fork-exec.
- Relying on an explicit with statement or explicitly calling
Channel.close to release the underlying resources in Channel objects
is now a required coding practice starting in v1.13.0.
diffstat:
net/py-grpcio/Makefile | 4 +-
net/py-grpcio/PLIST | 5 +++-
net/py-grpcio/distinfo | 12 ++++----
net/py-grpcio/patches/patch-setup.py | 45 +++++++++++++++++++++++++++--------
4 files changed, 46 insertions(+), 20 deletions(-)
diffs (114 lines):
diff -r 861cfbf3984c -r a6b331aaa9ed net/py-grpcio/Makefile
--- a/net/py-grpcio/Makefile Sat Aug 04 21:43:53 2018 +0000
+++ b/net/py-grpcio/Makefile Sat Aug 04 21:56:47 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/04/28 01:16:29 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/04 21:56:47 minskim Exp $
-DISTNAME= grpcio-1.11.0
+DISTNAME= grpcio-1.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
diff -r 861cfbf3984c -r a6b331aaa9ed net/py-grpcio/PLIST
--- a/net/py-grpcio/PLIST Sat Aug 04 21:43:53 2018 +0000
+++ b/net/py-grpcio/PLIST Sat Aug 04 21:56:47 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/04/28 01:16:29 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/08/04 21:56:47 minskim Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -66,6 +66,9 @@
${PYSITELIB}/grpc/experimental/gevent.py
${PYSITELIB}/grpc/experimental/gevent.pyc
${PYSITELIB}/grpc/experimental/gevent.pyo
+${PYSITELIB}/grpc/experimental/session_cache.py
+${PYSITELIB}/grpc/experimental/session_cache.pyc
+${PYSITELIB}/grpc/experimental/session_cache.pyo
${PYSITELIB}/grpc/framework/__init__.py
${PYSITELIB}/grpc/framework/__init__.pyc
${PYSITELIB}/grpc/framework/__init__.pyo
diff -r 861cfbf3984c -r a6b331aaa9ed net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo Sat Aug 04 21:43:53 2018 +0000
+++ b/net/py-grpcio/distinfo Sat Aug 04 21:56:47 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.1 2018/04/28 01:16:29 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/08/04 21:56:47 minskim Exp $
-SHA1 (grpcio-1.11.0.tar.gz) = 06b63f3b96a7571567c8b4e973506a98a198882b
-RMD160 (grpcio-1.11.0.tar.gz) = fe50e800be25454a7f526bd020c9184219b59585
-SHA512 (grpcio-1.11.0.tar.gz) = ea5d3672b42125d510fdd13b6c3535efe5082c5e43e806504a873ad6c40b8b94bcee2a32d877b7e1849f6c7c3cb7c1eb4ee39cbc695a86ba92d4e3a206194e11
-Size (grpcio-1.11.0.tar.gz) = 14188590 bytes
-SHA1 (patch-setup.py) = a6dde53d45772e739e3227e67e340d4ae14ceede
+SHA1 (grpcio-1.13.0.tar.gz) = 4ea6933da54b1628c65e3907134c805fa9d2d640
+RMD160 (grpcio-1.13.0.tar.gz) = 829e7b0a0004738a90852e7f4c67d617a51df6b7
+SHA512 (grpcio-1.13.0.tar.gz) = 4263c027d123332967692df467f01cb3b84acb3721eab7ae421a8ad79850cf00d0abca306ad6ff16acc95f1599c9c219a6c137e934f07f91ef1a11ce66b04545
+Size (grpcio-1.13.0.tar.gz) = 14320631 bytes
+SHA1 (patch-setup.py) = 383ea9fc9067b84a6eb08edd99cb9e9062724744
SHA1 (patch-src_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
diff -r 861cfbf3984c -r a6b331aaa9ed net/py-grpcio/patches/patch-setup.py
--- a/net/py-grpcio/patches/patch-setup.py Sat Aug 04 21:43:53 2018 +0000
+++ b/net/py-grpcio/patches/patch-setup.py Sat Aug 04 21:56:47 2018 +0000
@@ -1,19 +1,42 @@
-$NetBSD: patch-setup.py,v 1.1 2018/04/28 01:16:29 minskim Exp $
+$NetBSD: patch-setup.py,v 1.2 2018/08/04 21:56:47 minskim Exp $
Use dependencies in pkgsrc.
---- setup.py.orig 2018-04-13 19:56:08.000000000 +0000
+--- setup.py.orig 2018-06-28 00:44:17.000000000 +0000
+++ setup.py
-@@ -152,7 +152,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
- (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE +
+@@ -184,18 +184,19 @@ EXTENSION_INCLUDE_DIRECTORIES = (
CARES_INCLUDE + ADDRESS_SORTING_INCLUDE)
--EXTENSION_LIBRARIES = ()
-+EXTENSION_LIBRARIES = ('cares', 'crypto', 'gpr', 'grpc', 'ssl')
- if "linux" in sys.platform:
- EXTENSION_LIBRARIES += ('rt',)
- if not "win32" in sys.platform:
-@@ -205,7 +205,7 @@ def cython_extensions_and_necessity():
+ EXTENSION_LIBRARIES = ()
+-if "linux" in sys.platform:
+- EXTENSION_LIBRARIES += ('rt',)
+-if not "win32" in sys.platform:
+- EXTENSION_LIBRARIES += ('m',)
+-if "win32" in sys.platform:
+- EXTENSION_LIBRARIES += ('advapi32', 'ws2_32',)
+-if BUILD_WITH_SYSTEM_OPENSSL:
+- EXTENSION_LIBRARIES += ('ssl', 'crypto',)
+-if BUILD_WITH_SYSTEM_ZLIB:
+- EXTENSION_LIBRARIES += ('z',)
+-if BUILD_WITH_SYSTEM_CARES:
+- EXTENSION_LIBRARIES += ('cares',)
++#if "linux" in sys.platform:
++# EXTENSION_LIBRARIES += ('rt',)
++#if not "win32" in sys.platform:
++# EXTENSION_LIBRARIES += ('m',)
++#if "win32" in sys.platform:
++# EXTENSION_LIBRARIES += ('advapi32', 'ws2_32',)
++#if BUILD_WITH_SYSTEM_OPENSSL:
++# EXTENSION_LIBRARIES += ('ssl', 'crypto',)
++#if BUILD_WITH_SYSTEM_ZLIB:
++# EXTENSION_LIBRARIES += ('z',)
++#if BUILD_WITH_SYSTEM_CARES:
++# EXTENSION_LIBRARIES += ('cares',)
++EXTENSION_LIBRARIES += ('grpc',)
+
+ DEFINE_MACROS = (
+ ('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600),
+@@ -242,7 +243,7 @@ def cython_extensions_and_necessity():
for name in CYTHON_EXTENSION_MODULE_NAMES]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
@@ -22,7 +45,7 @@
extra_objects = [prefix + 'libares.a',
prefix + 'libboringssl.a',
prefix + 'libgpr.a',
-@@ -217,7 +217,7 @@ def cython_extensions_and_necessity():
+@@ -254,7 +255,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,
Home |
Main Index |
Thread Index |
Old Index