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/distinfo12
-rw-r--r--net/py-grpcio/patches/patch-setup.py14
3 files changed, 15 insertions, 15 deletions
diff --git a/net/py-grpcio/Makefile b/net/py-grpcio/Makefile
index 9100c058270..a0b797c54a8 100644
--- a/net/py-grpcio/Makefile
+++ b/net/py-grpcio/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2020/07/09 07:23:44 adam Exp $
+# $NetBSD: Makefile,v 1.20 2020/08/07 06:45:57 adam Exp $
-DISTNAME= grpcio-1.30.0
+DISTNAME= grpcio-1.31.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio/}
diff --git a/net/py-grpcio/distinfo b/net/py-grpcio/distinfo
index af7cca10ef8..3927bd6589f 100644
--- a/net/py-grpcio/distinfo
+++ b/net/py-grpcio/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.19 2020/07/09 07:23:44 adam Exp $
+$NetBSD: distinfo,v 1.20 2020/08/07 06:45:57 adam Exp $
-SHA1 (grpcio-1.30.0.tar.gz) = 64a6541ef998c77fa4dbc60b7f23bf067e6c36eb
-RMD160 (grpcio-1.30.0.tar.gz) = 994432167572a3779d84b29cc4e49b9b1288640a
-SHA512 (grpcio-1.30.0.tar.gz) = 5060198c5765ff3f2417453a0cad58dfabed676166265ce3d580976cdb5e9d00e64648626e998cb66f96ba477b85cacd8610aa8598e65ac8758ff9a09083db5b
-Size (grpcio-1.30.0.tar.gz) = 19674635 bytes
-SHA1 (patch-setup.py) = 60a9d7acb285af64289fd4fe5f4323ed890d72d2
+SHA1 (grpcio-1.31.0.tar.gz) = a206c8a980a21f24df91b6cf229a9a33920e5ebf
+RMD160 (grpcio-1.31.0.tar.gz) = c99223d30d704ad51f383ee400759138cfffe1a8
+SHA512 (grpcio-1.31.0.tar.gz) = 7949a3037d71e1910f56f6950c17a6732adc7246fca7c31e42d482ca34360de3ea0dc1e9c57ac205dd98b49903e6ecc17f78223a755052f2e6103940d2c00fe7
+Size (grpcio-1.31.0.tar.gz) = 20039534 bytes
+SHA1 (patch-setup.py) = dbdd4270e2cb497032a2a1f54d606d72164c816d
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 fd88515c26d..aaab6231c64 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.7 2020/07/09 07:23:44 adam Exp $
+$NetBSD: patch-setup.py,v 1.8 2020/08/07 06:45:58 adam Exp $
Fix libatomic detection.
Use dependencies in pkgsrc.
---- setup.py.orig 2020-06-22 21:42:24.000000000 +0000
+--- setup.py.orig 2020-08-05 07:00:04.000000000 +0000
+++ setup.py
-@@ -150,7 +150,7 @@ def check_linker_need_libatomic():
+@@ -151,7 +151,7 @@ def check_linker_need_libatomic():
"""Test if linker on system needs libatomic."""
code_test = (b'#include <atomic>\n' +
b'int main() { return std::atomic<int64_t>{}; }')
@@ -14,8 +14,8 @@ Use dependencies in pkgsrc.
stdin=PIPE,
stdout=PIPE,
stderr=PIPE)
-@@ -235,26 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
- SSL_INCLUDE + UPB_INCLUDE +
+@@ -236,26 +236,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
+ RE2_INCLUDE + SSL_INCLUDE + UPB_INCLUDE +
UPB_GRPC_GENERATED_INCLUDE + ZLIB_INCLUDE)
-EXTENSION_LIBRARIES = ()
@@ -42,7 +42,7 @@ Use dependencies in pkgsrc.
DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))
if not DISABLE_LIBC_COMPATIBILITY:
-@@ -311,7 +292,7 @@ def cython_extensions_and_necessity():
+@@ -312,7 +293,7 @@ def cython_extensions_and_necessity():
]
config = os.environ.get('CONFIG', 'opt')
prefix = 'libs/' + config + '/'
@@ -51,7 +51,7 @@ Use dependencies in pkgsrc.
extra_objects = [
prefix + 'libares.a', prefix + 'libboringssl.a',
prefix + 'libgpr.a', prefix + 'libgrpc.a'
-@@ -323,7 +304,7 @@ def cython_extensions_and_necessity():
+@@ -324,7 +305,7 @@ def cython_extensions_and_necessity():
extensions = [
_extension.Extension(
name=module_name,