pkgsrc-WIP-changes archive

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

py-grpcio: Update to 1.11.0



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Fri Apr 27 17:54:01 2018 -0700
Changeset:	5a061f7338e17182e5565675d7ddbd577b68efc6

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

Log Message:
py-grpcio: Update to 1.11.0

Changes:
- Remove _face_interface_test tests for the Beta API
- Remove Python background poller thread
- Initial gevent compatibility (EXPERIMENTAL)
- Release the GIL when calling grpc_call_start_batch to improve
  performance under multithreaded scenarios

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5a061f7338e17182e5565675d7ddbd577b68efc6

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

diffstat:
 py-grpcio/DESCR                  |   2 +-
 py-grpcio/Makefile               |   3 +-
 py-grpcio/PLIST                  | 140 ++++++++++++++++++++-------------------
 py-grpcio/distinfo               |  10 +--
 py-grpcio/patches/patch-setup.py |  10 +--
 5 files changed, 85 insertions(+), 80 deletions(-)

diffs:
diff --git a/py-grpcio/DESCR b/py-grpcio/DESCR
index d0f4ec32b7..35c5198404 100644
--- a/py-grpcio/DESCR
+++ b/py-grpcio/DESCR
@@ -1 +1 @@
-HTTP/2-based RPC framework
+grpcio is a Python package for gRPC.
diff --git a/py-grpcio/Makefile b/py-grpcio/Makefile
index 3ab0b6df02..e5cdb7fcf2 100644
--- a/py-grpcio/Makefile
+++ b/py-grpcio/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	grpcio-1.10.1
+DISTNAME=	grpcio-1.11.0
 PKGNAME=        ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	www
 MASTER_SITES=   ${MASTER_SITE_PYPI:=g/grpcio/}
@@ -23,7 +23,6 @@ USE_LANGUAGES+=	c99 c++11
 USE_TOOLS+=	gmake pkg-config
 
 .include "../../devel/zlib/buildlink3.mk"
-BUILDLINK_API_DEPENDS.grpc+=    grpc>=${PKGVERSION_NOREV}
 .include "../../net/grpc/buildlink3.mk"
 .include "../../net/libcares/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
diff --git a/py-grpcio/PLIST b/py-grpcio/PLIST
index 39cb893f6b..d2ab853402 100644
--- a/py-grpcio/PLIST
+++ b/py-grpcio/PLIST
@@ -1,116 +1,122 @@
 @comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/grpc/__init__.py
-${PYSITELIB}/grpc/__init__.pyo
 ${PYSITELIB}/grpc/__init__.pyc
-${PYSITELIB}/grpc/_auth.pyo
-${PYSITELIB}/grpc/_auth.pyc
-${PYSITELIB}/grpc/_channel.pyo
-${PYSITELIB}/grpc/_channel.pyc
-${PYSITELIB}/grpc/_common.pyo
-${PYSITELIB}/grpc/_common.pyc
-${PYSITELIB}/grpc/_grpcio_metadata.pyo
-${PYSITELIB}/grpc/_grpcio_metadata.pyc
-${PYSITELIB}/grpc/_interceptor.pyo
-${PYSITELIB}/grpc/_interceptor.pyc
-${PYSITELIB}/grpc/_plugin_wrapping.pyo
-${PYSITELIB}/grpc/_plugin_wrapping.pyc
-${PYSITELIB}/grpc/_server.pyo
-${PYSITELIB}/grpc/_server.pyc
-${PYSITELIB}/grpc/_utilities.pyo
-${PYSITELIB}/grpc/_utilities.pyc
+${PYSITELIB}/grpc/__init__.pyo
 ${PYSITELIB}/grpc/_auth.py
+${PYSITELIB}/grpc/_auth.pyc
+${PYSITELIB}/grpc/_auth.pyo
 ${PYSITELIB}/grpc/_channel.py
+${PYSITELIB}/grpc/_channel.pyc
+${PYSITELIB}/grpc/_channel.pyo
 ${PYSITELIB}/grpc/_common.py
+${PYSITELIB}/grpc/_common.pyc
+${PYSITELIB}/grpc/_common.pyo
 ${PYSITELIB}/grpc/_cython/__init__.py
-${PYSITELIB}/grpc/_cython/__init__.pyo
 ${PYSITELIB}/grpc/_cython/__init__.pyc
+${PYSITELIB}/grpc/_cython/__init__.pyo
 ${PYSITELIB}/grpc/_cython/_credentials/roots.pem
 ${PYSITELIB}/grpc/_cython/_cygrpc/__init__.py
-${PYSITELIB}/grpc/_cython/_cygrpc/__init__.pyo
 ${PYSITELIB}/grpc/_cython/_cygrpc/__init__.pyc
+${PYSITELIB}/grpc/_cython/_cygrpc/__init__.pyo
 ${PYSITELIB}/grpc/_cython/cygrpc.so
 ${PYSITELIB}/grpc/_grpcio_metadata.py
+${PYSITELIB}/grpc/_grpcio_metadata.pyc
+${PYSITELIB}/grpc/_grpcio_metadata.pyo
 ${PYSITELIB}/grpc/_interceptor.py
+${PYSITELIB}/grpc/_interceptor.pyc
+${PYSITELIB}/grpc/_interceptor.pyo
 ${PYSITELIB}/grpc/_plugin_wrapping.py
+${PYSITELIB}/grpc/_plugin_wrapping.pyc
+${PYSITELIB}/grpc/_plugin_wrapping.pyo
 ${PYSITELIB}/grpc/_server.py
+${PYSITELIB}/grpc/_server.pyc
+${PYSITELIB}/grpc/_server.pyo
 ${PYSITELIB}/grpc/_utilities.py
+${PYSITELIB}/grpc/_utilities.pyc
+${PYSITELIB}/grpc/_utilities.pyo
 ${PYSITELIB}/grpc/beta/__init__.py
-${PYSITELIB}/grpc/beta/__init__.pyo
 ${PYSITELIB}/grpc/beta/__init__.pyc
-${PYSITELIB}/grpc/beta/_client_adaptations.pyo
-${PYSITELIB}/grpc/beta/_client_adaptations.pyc
-${PYSITELIB}/grpc/beta/_metadata.pyo
-${PYSITELIB}/grpc/beta/_metadata.pyc
-${PYSITELIB}/grpc/beta/_server_adaptations.pyo
-${PYSITELIB}/grpc/beta/_server_adaptations.pyc
-${PYSITELIB}/grpc/beta/implementations.pyo
-${PYSITELIB}/grpc/beta/implementations.pyc
-${PYSITELIB}/grpc/beta/interfaces.pyo
-${PYSITELIB}/grpc/beta/interfaces.pyc
-${PYSITELIB}/grpc/beta/utilities.pyo
-${PYSITELIB}/grpc/beta/utilities.pyc
+${PYSITELIB}/grpc/beta/__init__.pyo
 ${PYSITELIB}/grpc/beta/_client_adaptations.py
+${PYSITELIB}/grpc/beta/_client_adaptations.pyc
+${PYSITELIB}/grpc/beta/_client_adaptations.pyo
 ${PYSITELIB}/grpc/beta/_metadata.py
+${PYSITELIB}/grpc/beta/_metadata.pyc
+${PYSITELIB}/grpc/beta/_metadata.pyo
 ${PYSITELIB}/grpc/beta/_server_adaptations.py
+${PYSITELIB}/grpc/beta/_server_adaptations.pyc
+${PYSITELIB}/grpc/beta/_server_adaptations.pyo
 ${PYSITELIB}/grpc/beta/implementations.py
+${PYSITELIB}/grpc/beta/implementations.pyc
+${PYSITELIB}/grpc/beta/implementations.pyo
 ${PYSITELIB}/grpc/beta/interfaces.py
+${PYSITELIB}/grpc/beta/interfaces.pyc
+${PYSITELIB}/grpc/beta/interfaces.pyo
 ${PYSITELIB}/grpc/beta/utilities.py
+${PYSITELIB}/grpc/beta/utilities.pyc
+${PYSITELIB}/grpc/beta/utilities.pyo
+${PYSITELIB}/grpc/experimental/__init__.py
+${PYSITELIB}/grpc/experimental/__init__.pyc
+${PYSITELIB}/grpc/experimental/__init__.pyo
+${PYSITELIB}/grpc/experimental/gevent.py
+${PYSITELIB}/grpc/experimental/gevent.pyc
+${PYSITELIB}/grpc/experimental/gevent.pyo
 ${PYSITELIB}/grpc/framework/__init__.py
-${PYSITELIB}/grpc/framework/__init__.pyo
 ${PYSITELIB}/grpc/framework/__init__.pyc
+${PYSITELIB}/grpc/framework/__init__.pyo
 ${PYSITELIB}/grpc/framework/common/__init__.py
-${PYSITELIB}/grpc/framework/common/__init__.pyo
 ${PYSITELIB}/grpc/framework/common/__init__.pyc
-${PYSITELIB}/grpc/framework/common/cardinality.pyo
-${PYSITELIB}/grpc/framework/common/cardinality.pyc
-${PYSITELIB}/grpc/framework/common/style.pyo
-${PYSITELIB}/grpc/framework/common/style.pyc
+${PYSITELIB}/grpc/framework/common/__init__.pyo
 ${PYSITELIB}/grpc/framework/common/cardinality.py
+${PYSITELIB}/grpc/framework/common/cardinality.pyc
+${PYSITELIB}/grpc/framework/common/cardinality.pyo
 ${PYSITELIB}/grpc/framework/common/style.py
+${PYSITELIB}/grpc/framework/common/style.pyc
+${PYSITELIB}/grpc/framework/common/style.pyo
 ${PYSITELIB}/grpc/framework/foundation/__init__.py
-${PYSITELIB}/grpc/framework/foundation/__init__.pyo
 ${PYSITELIB}/grpc/framework/foundation/__init__.pyc
-${PYSITELIB}/grpc/framework/foundation/abandonment.pyo
-${PYSITELIB}/grpc/framework/foundation/abandonment.pyc
-${PYSITELIB}/grpc/framework/foundation/callable_util.pyo
-${PYSITELIB}/grpc/framework/foundation/callable_util.pyc
-${PYSITELIB}/grpc/framework/foundation/future.pyo
-${PYSITELIB}/grpc/framework/foundation/future.pyc
-${PYSITELIB}/grpc/framework/foundation/logging_pool.pyo
-${PYSITELIB}/grpc/framework/foundation/logging_pool.pyc
-${PYSITELIB}/grpc/framework/foundation/stream.pyo
-${PYSITELIB}/grpc/framework/foundation/stream.pyc
-${PYSITELIB}/grpc/framework/foundation/stream_util.pyo
-${PYSITELIB}/grpc/framework/foundation/stream_util.pyc
+${PYSITELIB}/grpc/framework/foundation/__init__.pyo
 ${PYSITELIB}/grpc/framework/foundation/abandonment.py
+${PYSITELIB}/grpc/framework/foundation/abandonment.pyc
+${PYSITELIB}/grpc/framework/foundation/abandonment.pyo
 ${PYSITELIB}/grpc/framework/foundation/callable_util.py
+${PYSITELIB}/grpc/framework/foundation/callable_util.pyc
+${PYSITELIB}/grpc/framework/foundation/callable_util.pyo
 ${PYSITELIB}/grpc/framework/foundation/future.py
+${PYSITELIB}/grpc/framework/foundation/future.pyc
+${PYSITELIB}/grpc/framework/foundation/future.pyo
 ${PYSITELIB}/grpc/framework/foundation/logging_pool.py
+${PYSITELIB}/grpc/framework/foundation/logging_pool.pyc
+${PYSITELIB}/grpc/framework/foundation/logging_pool.pyo
 ${PYSITELIB}/grpc/framework/foundation/stream.py
+${PYSITELIB}/grpc/framework/foundation/stream.pyc
+${PYSITELIB}/grpc/framework/foundation/stream.pyo
 ${PYSITELIB}/grpc/framework/foundation/stream_util.py
+${PYSITELIB}/grpc/framework/foundation/stream_util.pyc
+${PYSITELIB}/grpc/framework/foundation/stream_util.pyo
 ${PYSITELIB}/grpc/framework/interfaces/__init__.py
-${PYSITELIB}/grpc/framework/interfaces/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/__init__.pyc
+${PYSITELIB}/grpc/framework/interfaces/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/base/__init__.py
-${PYSITELIB}/grpc/framework/interfaces/base/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/base/__init__.pyc
-${PYSITELIB}/grpc/framework/interfaces/base/base.pyo
-${PYSITELIB}/grpc/framework/interfaces/base/base.pyc
-${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyo
-${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/base/base.py
+${PYSITELIB}/grpc/framework/interfaces/base/base.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/base.pyo
 ${PYSITELIB}/grpc/framework/interfaces/base/utilities.py
+${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/base/utilities.pyo
 ${PYSITELIB}/grpc/framework/interfaces/face/__init__.py
-${PYSITELIB}/grpc/framework/interfaces/face/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/face/__init__.pyc
-${PYSITELIB}/grpc/framework/interfaces/face/face.pyo
-${PYSITELIB}/grpc/framework/interfaces/face/face.pyc
-${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyo
-${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/__init__.pyo
 ${PYSITELIB}/grpc/framework/interfaces/face/face.py
+${PYSITELIB}/grpc/framework/interfaces/face/face.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/face.pyo
 ${PYSITELIB}/grpc/framework/interfaces/face/utilities.py
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyc
+${PYSITELIB}/grpc/framework/interfaces/face/utilities.pyo
diff --git a/py-grpcio/distinfo b/py-grpcio/distinfo
index 2c69e868a4..05010a8ba8 100644
--- a/py-grpcio/distinfo
+++ b/py-grpcio/distinfo
@@ -1,8 +1,8 @@
 $NetBSD$
 
-SHA1 (grpcio-1.10.1.tar.gz) = 0f8f4dcdff2ae57f13cf431bb8378e2f3a25ef35
-RMD160 (grpcio-1.10.1.tar.gz) = 7a152d3653440fdd2ea43d007b63a1ef0655c2e4
-SHA512 (grpcio-1.10.1.tar.gz) = d3300998437f7ee36026e1a7f0903f0c4a26c3fb919b5dbd397cf6ded88bf8ceca95bd48e11f6084a14a182d6b7c9f8dfa4af89eadd39d19877c25674111849e
-Size (grpcio-1.10.1.tar.gz) = 13998215 bytes
-SHA1 (patch-setup.py) = 99f45057b37643d2e6598c20a7a85dfe138fa0fb
+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 (patch-src_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
diff --git a/py-grpcio/patches/patch-setup.py b/py-grpcio/patches/patch-setup.py
index 95d77f8c06..272f9340f9 100644
--- a/py-grpcio/patches/patch-setup.py
+++ b/py-grpcio/patches/patch-setup.py
@@ -2,18 +2,18 @@ $NetBSD$
 
 Use dependencies in pkgsrc.
 
---- setup.py.orig	2018-04-05 20:19:07.000000000 +0000
+--- setup.py.orig	2018-04-13 19:56:08.000000000 +0000
 +++ setup.py
-@@ -150,7 +150,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
+@@ -152,7 +152,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
      (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE +
-     CARES_INCLUDE)
+     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:
-@@ -203,7 +203,7 @@ def cython_extensions_and_necessity():
+@@ -205,7 +205,7 @@ def cython_extensions_and_necessity():
                    for name in CYTHON_EXTENSION_MODULE_NAMES]
    config = os.environ.get('CONFIG', 'opt')
    prefix = 'libs/' + config + '/'
@@ -22,7 +22,7 @@ Use dependencies in pkgsrc.
      extra_objects = [prefix + 'libares.a',
                       prefix + 'libboringssl.a',
                       prefix + 'libgpr.a',
-@@ -215,7 +215,7 @@ def cython_extensions_and_necessity():
+@@ -217,7 +217,7 @@ def cython_extensions_and_necessity():
    extensions = [
        _extension.Extension(
            name=module_name,


Home | Main Index | Thread Index | Old Index