Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 08:44:48 +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: r450807 - in head/devel/py-grpcio: . files
Message-ID:  <201709280844.v8S8imPM043710@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Thu Sep 28 08:44:48 2017
New Revision: 450807
URL: https://svnweb.freebsd.org/changeset/ports/450807

Log:
  Update to 1.6.3.

Added:
  head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h   (contents, props changed)
  head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt   (contents, props changed)
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_core_tsi_ssl__transport__security.c
  head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py

Modified: head/devel/py-grpcio/Makefile
==============================================================================
--- head/devel/py-grpcio/Makefile	Thu Sep 28 08:37:44 2017	(r450806)
+++ head/devel/py-grpcio/Makefile	Thu Sep 28 08:44:48 2017	(r450807)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	grpcio
-PORTVERSION=	1.4.0
+PORTVERSION=	1.6.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,17 +14,17 @@ LICENSE=	BSD3CLAUSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six \
 		${PYTHON_PKGNAMEPREFIX}enum34>1:devel/py-enum34 \
-		${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf \
+		${PYTHON_PKGNAMEPREFIX}futures>=3:devel/py-futures
 LIB_DEPENDS=	libcares.so:dns/c-ares
 
 BROKEN_aarch64=		fails to compile: cpu-aarch64-linux.c: fatal error: 'sys/auxv.h' file not found
 BROKEN_powerpc64=	fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared
 
-USES=		python
+USES=		localbase:ldflags python
 USE_PYTHON=	distutils
-CFLAGS+=	-Ithird_party/boringssl/include \
-		-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lcares
+CFLAGS+=	-Ithird_party/boringssl/include
+LDFLAGS+=	-lcares
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc.so

Modified: head/devel/py-grpcio/distinfo
==============================================================================
--- head/devel/py-grpcio/distinfo	Thu Sep 28 08:37:44 2017	(r450806)
+++ head/devel/py-grpcio/distinfo	Thu Sep 28 08:44:48 2017	(r450807)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498115398
-SHA256 (grpcio-1.4.0.tar.gz) = a3a213a4c24b5c572b386d752e3b74a3f1b8fa5d03c07b6166fa39f3a6cdef34
-SIZE (grpcio-1.4.0.tar.gz) = 9095819
+TIMESTAMP = 1506586700
+SHA256 (grpcio-1.6.3.tar.gz) = e9662782c58bc21be26163b78136eaed091dfd45fac699cb711ee9eeeb7e2f9b
+SIZE (grpcio-1.6.3.tar.gz) = 9964070

Modified: head/devel/py-grpcio/files/patch-setup.py
==============================================================================
--- head/devel/py-grpcio/files/patch-setup.py	Thu Sep 28 08:37:44 2017	(r450806)
+++ head/devel/py-grpcio/files/patch-setup.py	Thu Sep 28 08:44:48 2017	(r450807)
@@ -1,6 +1,6 @@
---- setup.py.orig	2017-04-27 21:44:50 UTC
+--- setup.py.orig	2017-09-27 21:43:56 UTC
 +++ setup.py
-@@ -52,13 +52,6 @@ PYTHON_STEM = os.path.join('src', 'pytho
+@@ -37,13 +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'),)

Modified: head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c
==============================================================================
--- head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c	Thu Sep 28 08:37:44 2017	(r450806)
+++ head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c	Thu Sep 28 08:44:48 2017	(r450807)
@@ -1,6 +1,6 @@
---- src/core/tsi/ssl_transport_security.c.orig	2017-04-27 21:44:51 UTC
+--- src/core/tsi/ssl_transport_security.c.orig	2017-09-27 21:43:56 UTC
 +++ src/core/tsi/ssl_transport_security.c
-@@ -35,6 +35,7 @@
+@@ -20,6 +20,7 @@
  
  #include <grpc/support/port_platform.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	Thu Sep 28 08:37:44 2017	(r450806)
+++ head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py	Thu Sep 28 08:44:48 2017	(r450807)
@@ -1,6 +1,14 @@
---- src/python/grpcio/grpc_core_dependencies.py.orig	2017-04-27 21:44:50 UTC
+--- src/python/grpcio/grpc_core_dependencies.py.orig	2017-09-27 21:43:56 UTC
 +++ src/python/grpcio/grpc_core_dependencies.py
-@@ -630,53 +630,4 @@ CORE_SOURCE_FILES = [
+@@ -610,7 +610,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',
+-  'third_party/boringssl/ssl/ssl_privkey_cc.cc',
+   'third_party/boringssl/ssl/ssl_session.c',
+   'third_party/boringssl/ssl/ssl_stat.c',
+   'third_party/boringssl/ssl/ssl_transcript.c',
+@@ -638,53 +637,4 @@ CORE_SOURCE_FILES = [
    'third_party/zlib/trees.c',
    'third_party/zlib/uncompr.c',
    'third_party/zlib/zutil.c',

Added: head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio/files/patch-third__party_boringssl_include_openssl_base.h	Thu Sep 28 08:44:48 2017	(r450807)
@@ -0,0 +1,12 @@
+--- third_party/boringssl/include/openssl/base.h.orig	2017-09-27 21:43:59 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
+ // https://connect.microsoft.com/VisualStudio/feedback/details/763051/a-value-of-predefined-macro-cplusplus-is-still-199711l)
+ // so MSVC is just assumed to support C++11.
+-#if !defined(BORINGSSL_NO_CXX) && __cplusplus < 201103L && !defined(_MSC_VER)
+-#define BORINGSSL_NO_CXX
+-#endif
+ 
+ #if !defined(BORINGSSL_NO_CXX)
+ extern "C++" {

Added: head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-grpcio/files/patch-third__party_boringssl_ssl_CMakeLists.txt	Thu Sep 28 08:44:48 2017	(r450807)
@@ -0,0 +1,10 @@
+--- third_party/boringssl/ssl/CMakeLists.txt.orig	2017-09-28 08:26:07 UTC
++++ third_party/boringssl/ssl/CMakeLists.txt
+@@ -25,7 +25,6 @@ add_library(
+   ssl_file.c
+   ssl_lib.c
+   ssl_privkey.c
+-  ssl_privkey_cc.cc
+   ssl_session.c
+   ssl_stat.c
+   ssl_transcript.c



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