pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-grpcio



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sat Aug  4 21:56:47 UTC 2018

Modified Files:
        pkgsrc/net/py-grpcio: Makefile PLIST distinfo
        pkgsrc/net/py-grpcio/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-grpcio/Makefile \
    pkgsrc/net/py-grpcio/PLIST pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-grpcio/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.1 pkgsrc/net/py-grpcio/Makefile:1.2
--- pkgsrc/net/py-grpcio/Makefile:1.1   Sat Apr 28 01:16:29 2018
+++ pkgsrc/net/py-grpcio/Makefile       Sat Aug  4 21:56:47 2018
@@ -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/}
Index: pkgsrc/net/py-grpcio/PLIST
diff -u pkgsrc/net/py-grpcio/PLIST:1.1 pkgsrc/net/py-grpcio/PLIST:1.2
--- pkgsrc/net/py-grpcio/PLIST:1.1      Sat Apr 28 01:16:29 2018
+++ pkgsrc/net/py-grpcio/PLIST  Sat Aug  4 21:56:47 2018
@@ -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/__init__.
 ${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
Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.1 pkgsrc/net/py-grpcio/distinfo:1.2
--- pkgsrc/net/py-grpcio/distinfo:1.1   Sat Apr 28 01:16:29 2018
+++ pkgsrc/net/py-grpcio/distinfo       Sat Aug  4 21:56:47 2018
@@ -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

Index: pkgsrc/net/py-grpcio/patches/patch-setup.py
diff -u pkgsrc/net/py-grpcio/patches/patch-setup.py:1.1 pkgsrc/net/py-grpcio/patches/patch-setup.py:1.2
--- pkgsrc/net/py-grpcio/patches/patch-setup.py:1.1     Sat Apr 28 01:16:29 2018
+++ pkgsrc/net/py-grpcio/patches/patch-setup.py Sat Aug  4 21:56:47 2018
@@ -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 @@ Use dependencies in pkgsrc.
      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