pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Apr  4 09:30:37 UTC 2020

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

Log Message:
grpc: updated to 1.28.1

Release v1.28.1
This release is a patch specifically for the Python bindings to address 22546.

Python
Backport 22549 to 1.28 (Only load simple stubs code on 3.6+ interpreters).

Release v1.28.0
This release contains refinements, improvements, and bug fixes, with highlights listed below.

Core
feat: add x-goog-user-project header from quota_project_id field.
Reintroduce 21527 (boringssl submodule unification - take two).
Reintroduce 21527 (boringssl submodule unification).
Treat an empty http_proxy mean "Don't use proxy" and skip parsing it.

C++
This release adds an experimental client side implementation of xDSv2 APIs. This allows a gRPC client written in C++ to receive configuration from an xDSv2 API compatible server and use that 
configuration to load balance RPCs. In this release, only the virtual host matching and cluster route action is supported. More features will be added in future.
Cherrypick 22147: xds: send no-overprovisioning client capability and populate user_agent fields.
Fix regression in MSVC runtime flag.
Unify boringssl submodules and use non-developer boringssl cmake build.

Objective-C
Fix ObjC memory consumption increase as app runs.

Python
Backport Simple Stubs Codegen to 1.28.
[Aio] Generate gRPC AsyncIO API Reference.
Experimental: Implement Top-Level Invocation Functions Not Requiring an Explicit Channel.
[Aio] Implement health checking servicer in AsyncIO.
[Aio] Prohibit mixing two styles of API on client side.
[Aio] Add channel_ready helper function.
[Aio] Support compression for both client and server.
[Aio] Close ongoing calls when the channel is closed.
[Aio] Fix the server credentials & improve socket implementation.
[Aio] Support wait-for-ready mechanism.
[Aio] Fix the windows build failure.
Stop building manylinux1 images.
[Aio] Move status and initial metadata handling to Cython.

Ruby
Backport to 1.28.x: add ruby 2.7 to mac binary pkgs.
Add ruby-2.7 to build process of binary gems for Windows and Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/grpc/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/grpc/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/grpc/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/py-grpcio/Makefile \
    pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-grpcio/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/py-grpcio-testing/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-grpcio-testing/distinfo
cvs rdiff -u -r1.13 -r1.14 pkgsrc/net/py-grpcio-tools/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/py-grpcio-tools/distinfo
cvs rdiff -u -r1.5 -r1.6 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/grpc/Makefile
diff -u pkgsrc/net/grpc/Makefile:1.23 pkgsrc/net/grpc/Makefile:1.24
--- pkgsrc/net/grpc/Makefile:1.23       Sun Mar 15 22:27:52 2020
+++ pkgsrc/net/grpc/Makefile    Sat Apr  4 09:30:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2020/03/15 22:27:52 adam Exp $
+# $NetBSD: Makefile,v 1.24 2020/04/04 09:30:37 adam Exp $
 
-DISTNAME=      grpc-1.27.3
+DISTNAME=      grpc-1.28.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/net/grpc/PLIST
diff -u pkgsrc/net/grpc/PLIST:1.16 pkgsrc/net/grpc/PLIST:1.17
--- pkgsrc/net/grpc/PLIST:1.16  Sun Mar 15 22:27:52 2020
+++ pkgsrc/net/grpc/PLIST       Sat Apr  4 09:30:37 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2020/03/15 22:27:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2020/04/04 09:30:37 adam Exp $
 bin/grpc_cpp_plugin
 bin/grpc_csharp_plugin
 bin/grpc_node_plugin
@@ -113,6 +113,7 @@ include/grpc/impl/codegen/propagation_bi
 include/grpc/impl/codegen/slice.h
 include/grpc/impl/codegen/status.h
 include/grpc/impl/codegen/sync.h
+include/grpc/impl/codegen/sync_abseil.h
 include/grpc/impl/codegen/sync_custom.h
 include/grpc/impl/codegen/sync_generic.h
 include/grpc/impl/codegen/sync_posix.h
@@ -132,6 +133,7 @@ include/grpc/support/log_windows.h
 include/grpc/support/port_platform.h
 include/grpc/support/string_util.h
 include/grpc/support/sync.h
+include/grpc/support/sync_abseil.h
 include/grpc/support/sync_custom.h
 include/grpc/support/sync_generic.h
 include/grpc/support/sync_posix.h

Index: pkgsrc/net/grpc/distinfo
diff -u pkgsrc/net/grpc/distinfo:1.24 pkgsrc/net/grpc/distinfo:1.25
--- pkgsrc/net/grpc/distinfo:1.24       Sun Mar 15 22:27:52 2020
+++ pkgsrc/net/grpc/distinfo    Sat Apr  4 09:30:37 2020
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.24 2020/03/15 22:27:52 adam Exp $
+$NetBSD: distinfo,v 1.25 2020/04/04 09:30:37 adam Exp $
 
-SHA1 (grpc-1.27.3.tar.gz) = ef7d83e6142f846c5f113761629b397f533ab57f
-RMD160 (grpc-1.27.3.tar.gz) = b021261189afc3bb922ea9e55eca1e469bc27902
-SHA512 (grpc-1.27.3.tar.gz) = 0338eedcce40cd7359cc1b216eb3eeaaeb1f2b065d1bb03e72322978a7e40ef8ecc1ad39808bec8c0fd5bcaa91e91bbd6037e5a6611a979c9ab413eb159bb38b
-Size (grpc-1.27.3.tar.gz) = 16596221 bytes
+SHA1 (grpc-1.28.1.tar.gz) = be8c3d8c607078d9692b671c567ea8643ca3d3a5
+RMD160 (grpc-1.28.1.tar.gz) = d469809bae7e2cdfa8d68af0dd465d82d74bc207
+SHA512 (grpc-1.28.1.tar.gz) = 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
+Size (grpc-1.28.1.tar.gz) = 6888015 bytes
 SHA1 (patch-CMakeLists.txt) = af17a03bdbb2b7905ced111b3c13c80b0cf3fec2
 SHA1 (patch-cmake_benchmark.cmake) = 6a7880c30019a723a35b56b0c5bd2d730b36550d
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = b8d07e5bbf04694df00d0d19884844b791eb002c

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.16 pkgsrc/net/py-grpcio/Makefile:1.17
--- pkgsrc/net/py-grpcio/Makefile:1.16  Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio/Makefile       Sat Apr  4 09:30:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2020/02/14 10:35:56 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/04/04 09:30:37 adam Exp $
 
-DISTNAME=      grpcio-1.27.2
+DISTNAME=      grpcio-1.28.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio/}
Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.16 pkgsrc/net/py-grpcio/distinfo:1.17
--- pkgsrc/net/py-grpcio/distinfo:1.16  Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio/distinfo       Sat Apr  4 09:30:37 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.16 2020/02/14 10:35:56 adam Exp $
+$NetBSD: distinfo,v 1.17 2020/04/04 09:30:37 adam Exp $
 
-SHA1 (grpcio-1.27.2.tar.gz) = cdec4069a42728392b9fab357d4699a0894eda61
-RMD160 (grpcio-1.27.2.tar.gz) = 61eec9643f31f9ccdc40a8afe779ddd6c8540221
-SHA512 (grpcio-1.27.2.tar.gz) = 0b87e88333bbfac538a90ec611027d3782a1e628ca427d786f40ba7d3dc31384cfc2f82e8b71d3be607d86734fe293a652a660e70a1b1b7f357fd29852049398
-Size (grpcio-1.27.2.tar.gz) = 16873766 bytes
-SHA1 (patch-setup.py) = eb7e9a110711d149bae7cc4f4b08e725ffc25ae5
+SHA1 (grpcio-1.28.1.tar.gz) = 7670b34fd369739bdc01daf94ce6d6d33712ef7d
+RMD160 (grpcio-1.28.1.tar.gz) = 397d0017a02d4f59cafc5e74ece6cd83c3945487
+SHA512 (grpcio-1.28.1.tar.gz) = 12feaee3816a5e7b20b648a144d37f7e550a057112f5460bc4ec016885461951148cd4d2900fbfc905f76059ef29ae4c4d1d5a3216e5e3a2d17048c8b45f394f
+Size (grpcio-1.28.1.tar.gz) = 19511346 bytes
+SHA1 (patch-setup.py) = a9ee35b61a80532680c9443ae4ba042582ea1c53
 SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a

Index: pkgsrc/net/py-grpcio/PLIST
diff -u pkgsrc/net/py-grpcio/PLIST:1.7 pkgsrc/net/py-grpcio/PLIST:1.8
--- pkgsrc/net/py-grpcio/PLIST:1.7      Mon Feb 10 15:36:32 2020
+++ pkgsrc/net/py-grpcio/PLIST  Sat Apr  4 09:30:37 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2020/02/10 15:36:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2020/04/04 09:30:37 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -39,6 +39,9 @@ ${PYSITELIB}/grpc/_plugin_wrapping.pyo
 ${PYSITELIB}/grpc/_server.py
 ${PYSITELIB}/grpc/_server.pyc
 ${PYSITELIB}/grpc/_server.pyo
+${PYSITELIB}/grpc/_simple_stubs.py
+${PYSITELIB}/grpc/_simple_stubs.pyc
+${PYSITELIB}/grpc/_simple_stubs.pyo
 ${PYSITELIB}/grpc/_utilities.py
 ${PYSITELIB}/grpc/_utilities.pyc
 ${PYSITELIB}/grpc/_utilities.pyo
@@ -72,6 +75,12 @@ ${PYSITELIB}/grpc/experimental/aio/__ini
 ${PYSITELIB}/grpc/experimental/aio/_base_call.py
 ${PYSITELIB}/grpc/experimental/aio/_base_call.pyc
 ${PYSITELIB}/grpc/experimental/aio/_base_call.pyo
+${PYSITELIB}/grpc/experimental/aio/_base_channel.py
+${PYSITELIB}/grpc/experimental/aio/_base_channel.pyc
+${PYSITELIB}/grpc/experimental/aio/_base_channel.pyo
+${PYSITELIB}/grpc/experimental/aio/_base_server.py
+${PYSITELIB}/grpc/experimental/aio/_base_server.pyc
+${PYSITELIB}/grpc/experimental/aio/_base_server.pyo
 ${PYSITELIB}/grpc/experimental/aio/_call.py
 ${PYSITELIB}/grpc/experimental/aio/_call.pyc
 ${PYSITELIB}/grpc/experimental/aio/_call.pyo

Index: pkgsrc/net/py-grpcio-testing/Makefile
diff -u pkgsrc/net/py-grpcio-testing/Makefile:1.4 pkgsrc/net/py-grpcio-testing/Makefile:1.5
--- pkgsrc/net/py-grpcio-testing/Makefile:1.4   Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio-testing/Makefile       Sat Apr  4 09:30:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/02/14 10:35:56 adam Exp $
+# $NetBSD: Makefile,v 1.5 2020/04/04 09:30:37 adam Exp $
 
-DISTNAME=      grpcio-testing-1.27.2
+DISTNAME=      grpcio-testing-1.28.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-testing/}

Index: pkgsrc/net/py-grpcio-testing/distinfo
diff -u pkgsrc/net/py-grpcio-testing/distinfo:1.3 pkgsrc/net/py-grpcio-testing/distinfo:1.4
--- pkgsrc/net/py-grpcio-testing/distinfo:1.3   Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio-testing/distinfo       Sat Apr  4 09:30:37 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2020/02/14 10:35:56 adam Exp $
+$NetBSD: distinfo,v 1.4 2020/04/04 09:30:37 adam Exp $
 
-SHA1 (grpcio-testing-1.27.2.tar.gz) = 9fe3ba169e6cf699c881875675207cdb16e5d02e
-RMD160 (grpcio-testing-1.27.2.tar.gz) = c1a3d202004a278d26ba5c68080527862a067141
-SHA512 (grpcio-testing-1.27.2.tar.gz) = 666d20b56a4db31860d91c56a0efbd06f0933060ab5ae3815dca5fed9f47ecc9dbc14560221a729c4aadc98528ad26e20f24701df8c5f0cfd41dd604ec007902
-Size (grpcio-testing-1.27.2.tar.gz) = 16946 bytes
+SHA1 (grpcio-testing-1.28.1.tar.gz) = 5262f52706a0978bb90186fc80b325e37664d83b
+RMD160 (grpcio-testing-1.28.1.tar.gz) = bbb174c0522f6996558de32aeecbbf030dbe0ce1
+SHA512 (grpcio-testing-1.28.1.tar.gz) = 89c3aa5528e1f243a435997266a210ba6e287bca1401931689eb51f258a51768eb25a34c095d383dfcac7d446865535c48aefa0e37b4844bbb92214c7f431068
+Size (grpcio-testing-1.28.1.tar.gz) = 17127 bytes

Index: pkgsrc/net/py-grpcio-tools/Makefile
diff -u pkgsrc/net/py-grpcio-tools/Makefile:1.13 pkgsrc/net/py-grpcio-tools/Makefile:1.14
--- pkgsrc/net/py-grpcio-tools/Makefile:1.13    Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio-tools/Makefile Sat Apr  4 09:30:37 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2020/02/14 10:35:56 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/04/04 09:30:37 adam Exp $
 
-DISTNAME=      grpcio-tools-1.27.2
+DISTNAME=      grpcio-tools-1.28.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-tools/}

Index: pkgsrc/net/py-grpcio-tools/distinfo
diff -u pkgsrc/net/py-grpcio-tools/distinfo:1.12 pkgsrc/net/py-grpcio-tools/distinfo:1.13
--- pkgsrc/net/py-grpcio-tools/distinfo:1.12    Fri Feb 14 10:35:56 2020
+++ pkgsrc/net/py-grpcio-tools/distinfo Sat Apr  4 09:30:37 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2020/02/14 10:35:56 adam Exp $
+$NetBSD: distinfo,v 1.13 2020/04/04 09:30:37 adam Exp $
 
-SHA1 (grpcio-tools-1.27.2.tar.gz) = 58de0e2aacc73b8b085706ef65bf584c120eeab0
-RMD160 (grpcio-tools-1.27.2.tar.gz) = 427c0964e88fb621151b5ec1a0f228fa84282067
-SHA512 (grpcio-tools-1.27.2.tar.gz) = 1e4f6f1daaf8bd6ca08419e8810e28c5d959634b47202f1932e530590ddb33c3e49c73edfd67e95dace7c4e8735372d3b0ffaa3686cb4a539d6205fa5d4ab24d
-Size (grpcio-tools-1.27.2.tar.gz) = 1983884 bytes
+SHA1 (grpcio-tools-1.28.1.tar.gz) = 604988a996888b3716207248ae0d1e0d7b922577
+RMD160 (grpcio-tools-1.28.1.tar.gz) = 23e998753ae9a5892ef678e5703b36c1108d1929
+SHA512 (grpcio-tools-1.28.1.tar.gz) = b385fc567e8bb5965082164f87c1fafca5f0ec236feef343df92f82862b12ca33ddf9c94a366cd56437dc691ec5a37b82fd0f4fd547e389c6e9bcc7fe912d12e
+Size (grpcio-tools-1.28.1.tar.gz) = 1986547 bytes
 SHA1 (patch-setup.py) = 080ba75a31b51631000e79006316e0a2d5ce6cee

Index: pkgsrc/net/py-grpcio/patches/patch-setup.py
diff -u pkgsrc/net/py-grpcio/patches/patch-setup.py:1.5 pkgsrc/net/py-grpcio/patches/patch-setup.py:1.6
--- pkgsrc/net/py-grpcio/patches/patch-setup.py:1.5     Thu Oct 24 18:34:17 2019
+++ pkgsrc/net/py-grpcio/patches/patch-setup.py Sat Apr  4 09:30:37 2020
@@ -1,9 +1,19 @@
-$NetBSD: patch-setup.py,v 1.5 2019/10/24 18:34:17 adam Exp $
+$NetBSD: patch-setup.py,v 1.6 2020/04/04 09:30:37 adam Exp $
 
+Fix libatomic detection.
 Use dependencies in pkgsrc.
 
---- setup.py.orig      2019-10-22 19:40:13.000000000 +0000
+--- setup.py.orig      2020-04-03 01:18:49.000000000 +0000
 +++ setup.py
+@@ -146,7 +146,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>{}; }')
+-  cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
++  cc_test = subprocess.Popen(['c++', '-x', 'c++', '-std=c++11', '-'],
+                              stdin=PIPE,
+                              stdout=PIPE,
+                              stderr=PIPE)
 @@ -235,19 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
      UPB_GRPC_GENERATED_INCLUDE +
      ZLIB_INCLUDE)
@@ -14,7 +24,7 @@ Use dependencies in pkgsrc.
 -if not "win32" in sys.platform:
 -  EXTENSION_LIBRARIES += ('m',)
 -if "win32" in sys.platform:
--  EXTENSION_LIBRARIES += ('advapi32', 'ws2_32',)
+-  EXTENSION_LIBRARIES += ('advapi32', 'ws2_32', 'dbghelp',)
 -if BUILD_WITH_SYSTEM_OPENSSL:
 -  EXTENSION_LIBRARIES += ('ssl', 'crypto',)
 -if BUILD_WITH_SYSTEM_ZLIB:
@@ -25,7 +35,7 @@ Use dependencies in pkgsrc.
  
  DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))
  if not DISABLE_LIBC_COMPATIBILITY:
-@@ -294,7 +282,7 @@ def cython_extensions_and_necessity():
+@@ -295,7 +283,7 @@ def cython_extensions_and_necessity():
                    for name in CYTHON_EXTENSION_MODULE_NAMES]
    config = os.environ.get('CONFIG', 'opt')
    prefix = 'libs/' + config + '/'
@@ -34,7 +44,7 @@ Use dependencies in pkgsrc.
      extra_objects = [prefix + 'libares.a',
                       prefix + 'libboringssl.a',
                       prefix + 'libgpr.a',
-@@ -306,7 +294,7 @@ def cython_extensions_and_necessity():
+@@ -307,7 +295,7 @@ def cython_extensions_and_necessity():
    extensions = [
        _extension.Extension(
            name=module_name,



Home | Main Index | Thread Index | Old Index