summaryrefslogtreecommitdiff
path: root/net/py-grpcio
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-grpcio')
-rw-r--r--net/py-grpcio/Makefile5
-rw-r--r--net/py-grpcio/distinfo12
-rw-r--r--net/py-grpcio/patches/patch-setup.py12
3 files changed, 15 insertions, 14 deletions
diff --git a/net/py-grpcio/Makefile b/net/py-grpcio/Makefile
index 54ade2e1db1..97dd5f120f5 100644
--- a/net/py-grpcio/Makefile
+++ b/net/py-grpcio/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2020/12/06 10:50:51 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2020/12/07 08:01:04 adam Exp $
-DISTNAME= grpcio-1.33.2
+DISTNAME= grpcio-1.34.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
diff --git a/net/py-grpcio/distinfo b/net/py-grpcio/distinfo
index 881b2e25359..0d6cabd996b 100644
--- a/net/py-grpcio/distinfo
+++ b/net/py-grpcio/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2020/10/30 12:58:32 adam Exp $
+$NetBSD: distinfo,v 1.24 2020/12/07 08:01:04 adam Exp $
-SHA1 (grpcio-1.33.2.tar.gz) = 6e0903b3c90a7e61cf70b7b648de8fce01729b07
-RMD160 (grpcio-1.33.2.tar.gz) = 304ac121b9c7fdec45713682a5800f545b4ce9c1
-SHA512 (grpcio-1.33.2.tar.gz) = c59950e52a39b1da64b9730c4204d3f1aebf10b209e122eb4da284ca2cb4a17873e2a7750f83f6855d867423d09ada30d60c087ae1589e9a5b09b737f6ae1f52
-Size (grpcio-1.33.2.tar.gz) = 20882514 bytes
-SHA1 (patch-setup.py) = bd669c39998ebcdb9ed671ed85e01250f68b0baf
+SHA1 (grpcio-1.34.0.tar.gz) = b0e1e56df276343e7525c67c952000c14003665a
+RMD160 (grpcio-1.34.0.tar.gz) = a3312d332e7664a68c633ca4350dbf741df7a0cc
+SHA512 (grpcio-1.34.0.tar.gz) = e82372f31315ec32d673a4b16925c85a2ed816f6a722381220a93136bfddebd4318e7871e9eea4e63599dbcee9fd1f9535698e2de7ab953afd346c827c81f2cb
+Size (grpcio-1.34.0.tar.gz) = 21027172 bytes
+SHA1 (patch-setup.py) = 16aa10a48f4e1f5d3fc57c793623fc3e7d07c98e
SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a
diff --git a/net/py-grpcio/patches/patch-setup.py b/net/py-grpcio/patches/patch-setup.py
index 563652f0b78..4580dbc6a9f 100644
--- a/net/py-grpcio/patches/patch-setup.py
+++ b/net/py-grpcio/patches/patch-setup.py
@@ -1,11 +1,11 @@
-$NetBSD: patch-setup.py,v 1.10 2020/10/21 20:01:20 adam Exp $
+$NetBSD: patch-setup.py,v 1.11 2020/12/07 08:01:04 adam Exp $
Fix libatomic detection.
Use dependencies in pkgsrc.
---- setup.py.orig 2020-10-20 20:24:08.000000000 +0000
+--- setup.py.orig 2020-12-01 23:41:42.000000000 +0000
+++ setup.py
-@@ -264,26 +264,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
+@@ -273,28 +273,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
UPB_GRPC_GENERATED_INCLUDE +
UPBDEFS_GRPC_GENERATED_INCLUDE + ZLIB_INCLUDE)
@@ -29,11 +29,13 @@ Use dependencies in pkgsrc.
- EXTENSION_LIBRARIES += ('z',)
-if BUILD_WITH_SYSTEM_CARES:
- EXTENSION_LIBRARIES += ('cares',)
+-if BUILD_WITH_SYSTEM_RE2:
+- EXTENSION_LIBRARIES += ('re2',)
+EXTENSION_LIBRARIES = ('grpc',)
DEFINE_MACROS = (('_WIN32_WINNT', 0x600),)
asm_files = []
-@@ -361,7 +342,7 @@ def cython_extensions_and_necessity():
+@@ -372,7 +351,7 @@ def cython_extensions_and_necessity():
]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
@@ -42,7 +44,7 @@ Use dependencies in pkgsrc.
extra_objects = [
prefix + 'libares.a', prefix + 'libboringssl.a',
prefix + 'libgpr.a', prefix + 'libgrpc.a'
-@@ -373,8 +354,7 @@ def cython_extensions_and_necessity():
+@@ -384,8 +363,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,