Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2018 10:34:55 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458240 - in head/devel/py-grpcio: . files
Message-ID:  <201801061034.w06AYtxF079628@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Jan  6 10:34:54 2018
New Revision: 458240
URL: https://svnweb.freebsd.org/changeset/ports/458240

Log:
  Update to 1.8.3.

Added:
  head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.cc   (contents, props changed)
Deleted:
  head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c
Modified:
  head/devel/py-grpcio/Makefile
  head/devel/py-grpcio/distinfo
  head/devel/py-grpcio/files/patch-setup.py
  head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py
  head/devel/py-grpcio/files/patch-third__party_boringssl_crypto_cpu-aarch64-linux.c
  head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h
  head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt

Modified: head/devel/py-grpcio/Makefile
==============================================================================
--- head/devel/py-grpcio/Makefile	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/Makefile	Sat Jan  6 10:34:54 2018	(r458240)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	grpcio
-PORTVERSION=	1.7.0
-PORTREVISION=	3
+PORTVERSION=	1.8.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +20,7 @@ LIB_DEPENDS=	libcares.so:dns/c-ares
 
 BROKEN_powerpc64=	fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared
 
-USES=		localbase:ldflags python
+USES=		compiler:gcc-c++11-lib localbase:ldflags python
 USE_PYTHON=	autoplist distutils
 CFLAGS+=	-Ithird_party/boringssl/include
 LDFLAGS+=	-lcares

Modified: head/devel/py-grpcio/distinfo
==============================================================================
--- head/devel/py-grpcio/distinfo	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/distinfo	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509152129
-SHA256 (grpcio-1.7.0.tar.gz) = 6662af1f07cf7a3d171a7f56afc2cfeff262a5f2c52d15ae5ea581d0c367aea8
-SIZE (grpcio-1.7.0.tar.gz) = 9999425
+TIMESTAMP = 1515234584
+SHA256 (grpcio-1.8.3.tar.gz) = 6ce5fd3093ddc09a152981d5c477ac645eda19dfcc819e45d8c57da6b743bd53
+SIZE (grpcio-1.8.3.tar.gz) = 9991036

Modified: head/devel/py-grpcio/files/patch-setup.py
==============================================================================
--- head/devel/py-grpcio/files/patch-setup.py	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/files/patch-setup.py	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,20 +1,24 @@
---- setup.py.orig	2017-10-26 17:03:10 UTC
+--- setup.py.orig	2018-01-02 23:09:14 UTC
 +++ setup.py
-@@ -37,13 +37,6 @@ PYTHON_STEM = os.path.join('src', 'pytho
+@@ -37,17 +37,6 @@ PYTHON_STEM = os.path.join('src', 'pytho
  CORE_INCLUDE = ('include', '.',)
  BORINGSSL_INCLUDE = (os.path.join('third_party', 'boringssl', 'include'),)
  ZLIB_INCLUDE = (os.path.join('third_party', 'zlib'),)
 -CARES_INCLUDE = (
 -    os.path.join('third_party', 'cares'),
 -    os.path.join('third_party', 'cares', 'cares'),)
--if 'linux' in sys.platform:
--  CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_linux'),)
 -if 'darwin' in sys.platform:
 -  CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_darwin'),)
+-if 'freebsd' in sys.platform:
+-  CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_freebsd'),)
+-if 'linux' in sys.platform:
+-  CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_linux'),)
+-if 'openbsd' in sys.platform:
+-  CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_openbsd'),)
  README = os.path.join(PYTHON_STEM, 'README.rst')
  
  # Ensure we're in the proper directory whether or not we're being used by pip.
-@@ -139,12 +132,9 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._
+@@ -143,12 +132,9 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._
  CYTHON_HELPER_C_FILES = ()
  
  CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES)

Added: head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.cc	Sat Jan  6 10:34:54 2018	(r458240)
@@ -0,0 +1,10 @@
+--- src/core/tsi/ssl_transport_security.cc.orig	2018-01-02 23:09:14 UTC
++++ src/core/tsi/ssl_transport_security.cc
+@@ -20,6 +20,7 @@
+ 
+ #include <grpc/support/port_platform.h>
+ 
++#include <sys/socket.h>
+ #include <limits.h>
+ #include <string.h>
+ 

Modified: head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py
==============================================================================
--- head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,6 +1,6 @@
---- src/python/grpcio/grpc_core_dependencies.py.orig	2017-10-26 17:03:11 UTC
+--- src/python/grpcio/grpc_core_dependencies.py.orig	2018-01-02 23:09:14 UTC
 +++ src/python/grpcio/grpc_core_dependencies.py
-@@ -616,7 +616,6 @@ CORE_SOURCE_FILES = [
+@@ -602,7 +602,6 @@ CORE_SOURCE_FILES = [
    'third_party/boringssl/ssl/ssl_file.c',
    'third_party/boringssl/ssl/ssl_lib.c',
    'third_party/boringssl/ssl/ssl_privkey.c',
@@ -8,7 +8,7 @@
    'third_party/boringssl/ssl/ssl_session.c',
    'third_party/boringssl/ssl/ssl_stat.c',
    'third_party/boringssl/ssl/ssl_transcript.c',
-@@ -644,53 +643,4 @@ CORE_SOURCE_FILES = [
+@@ -630,53 +629,4 @@ CORE_SOURCE_FILES = [
    'third_party/zlib/trees.c',
    'third_party/zlib/uncompr.c',
    'third_party/zlib/zutil.c',

Modified: head/devel/py-grpcio/files/patch-third__party_boringssl_crypto_cpu-aarch64-linux.c
==============================================================================
--- head/devel/py-grpcio/files/patch-third__party_boringssl_crypto_cpu-aarch64-linux.c	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/files/patch-third__party_boringssl_crypto_cpu-aarch64-linux.c	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,4 +1,4 @@
---- third_party/boringssl/crypto/cpu-aarch64-linux.c.orig	2017-09-27 21:43:59 UTC
+--- third_party/boringssl/crypto/cpu-aarch64-linux.c.orig	2018-01-02 23:09:20 UTC
 +++ third_party/boringssl/crypto/cpu-aarch64-linux.c
 @@ -16,7 +16,42 @@
  

Modified: head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h
==============================================================================
--- head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,4 +1,4 @@
---- third_party/boringssl/include/openssl/base.h.orig	2017-10-26 17:03:13 UTC
+--- third_party/boringssl/include/openssl/base.h.orig	2018-01-02 23:09:20 UTC
 +++ third_party/boringssl/include/openssl/base.h
 @@ -328,9 +328,6 @@ typedef void *OPENSSL_BLOCK;
  // MSVC doesn't set __cplusplus to 201103 to indicate C++11 support (see

Modified: head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt
==============================================================================
--- head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt	Sat Jan  6 10:15:17 2018	(r458239)
+++ head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt	Sat Jan  6 10:34:54 2018	(r458240)
@@ -1,4 +1,4 @@
---- third_party/boringssl/ssl/CMakeLists.txt.orig	2017-10-26 17:03:13 UTC
+--- third_party/boringssl/ssl/CMakeLists.txt.orig	2018-01-02 23:09:20 UTC
 +++ third_party/boringssl/ssl/CMakeLists.txt
 @@ -25,7 +25,6 @@ add_library(
    ssl_file.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801061034.w06AYtxF079628>