summaryrefslogtreecommitdiff
path: root/net/py-grpcio
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-grpcio')
-rw-r--r--net/py-grpcio/Makefile4
-rw-r--r--net/py-grpcio/PLIST5
-rw-r--r--net/py-grpcio/distinfo12
-rw-r--r--net/py-grpcio/patches/patch-setup.py45
4 files changed, 46 insertions, 20 deletions
diff --git a/net/py-grpcio/Makefile b/net/py-grpcio/Makefile
index 68a00a6507f..b6f0a2f66ef 100644
--- a/net/py-grpcio/Makefile
+++ b/net/py-grpcio/Makefile
@@ -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 --git a/net/py-grpcio/PLIST b/net/py-grpcio/PLIST
index 4587e7c5670..323eb544c9c 100644
--- a/net/py-grpcio/PLIST
+++ b/net/py-grpcio/PLIST
@@ -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__.pyo
${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 --git a/net/py-grpcio/distinfo b/net/py-grpcio/distinfo
index 5f44e9c6cea..b3c2cff3f74 100644
--- a/net/py-grpcio/distinfo
+++ b/net/py-grpcio/distinfo
@@ -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 --git a/net/py-grpcio/patches/patch-setup.py b/net/py-grpcio/patches/patch-setup.py
index b6b2405797a..cfc616593f0 100644
--- a/net/py-grpcio/patches/patch-setup.py
+++ b/net/py-grpcio/patches/patch-setup.py
@@ -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,