From owner-svn-ports-head@freebsd.org Sun Apr 30 11:36:07 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8012D57D87; Sun, 30 Apr 2017 11:36:07 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B4DCF79F; Sun, 30 Apr 2017 11:36:07 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3UBa63F028544; Sun, 30 Apr 2017 11:36:06 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3UBa6dF028539; Sun, 30 Apr 2017 11:36:06 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201704301136.v3UBa6dF028539@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Sun, 30 Apr 2017 11:36:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439803 - in head/devel/py-grpcio: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2017 11:36:08 -0000 Author: vanilla Date: Sun Apr 30 11:36:06 2017 New Revision: 439803 URL: https://svnweb.freebsd.org/changeset/ports/439803 Log: Update to 1.3.0. Added: head/devel/py-grpcio/files/patch-setup.py (contents, props changed) head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c (contents, props changed) head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py (contents, props changed) Deleted: head/devel/py-grpcio/files/patch-src_core_lib_tsi_ssl__transport__security.c Modified: head/devel/py-grpcio/Makefile head/devel/py-grpcio/distinfo Modified: head/devel/py-grpcio/Makefile ============================================================================== --- head/devel/py-grpcio/Makefile Sun Apr 30 11:20:28 2017 (r439802) +++ head/devel/py-grpcio/Makefile Sun Apr 30 11:36:06 2017 (r439803) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= grpcio -PORTVERSION= 1.2.1 +PORTVERSION= 1.3.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +12,14 @@ COMMENT= HTTP/2-based RPC framework LICENSE= BSD3CLAUSE +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}enum34>1:devel/py-enum34 +LIB_DEPENDS= libcares.so:dns/c-ares + USES= python USE_PYTHON= distutils +CFLAGS+= -Ithird_party/boringssl/include \ + -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lcares .include Modified: head/devel/py-grpcio/distinfo ============================================================================== --- head/devel/py-grpcio/distinfo Sun Apr 30 11:20:28 2017 (r439802) +++ head/devel/py-grpcio/distinfo Sun Apr 30 11:36:06 2017 (r439803) @@ -1,3 +1,3 @@ -TIMESTAMP = 1491375453 -SHA256 (grpcio-1.2.1.tar.gz) = e1fffa9a5223981b386785dd88ab1d2a491c1207eef1629158050922e8cfa905 -SIZE (grpcio-1.2.1.tar.gz) = 7201893 +TIMESTAMP = 1493468361 +SHA256 (grpcio-1.3.0.tar.gz) = 5be61ebececb350eb79e083d6960bd2302d949ff1077738d0eb6a584757abd2d +SIZE (grpcio-1.3.0.tar.gz) = 8911170 Added: head/devel/py-grpcio/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-grpcio/files/patch-setup.py Sun Apr 30 11:36:06 2017 (r439803) @@ -0,0 +1,30 @@ +--- setup.py.orig 2017-04-27 21:44:50 UTC ++++ setup.py +@@ -52,13 +52,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'),) + README = os.path.join(PYTHON_STEM, 'README.rst') + + # Ensure we're in the proper directory whether or not we're being used by pip. +@@ -141,12 +134,9 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._ + CYTHON_HELPER_C_FILES = () + + CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES) +-if "win32" in sys.platform and "64bit" in platform.architecture()[0]: +- CORE_C_FILES = filter(lambda x: 'third_party/cares' not in x, CORE_C_FILES) + + EXTENSION_INCLUDE_DIRECTORIES = ( +- (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE + +- CARES_INCLUDE) ++ (PYTHON_STEM,) + CORE_INCLUDE + BORINGSSL_INCLUDE + ZLIB_INCLUDE) + + EXTENSION_LIBRARIES = () + if "linux" in sys.platform: Added: head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-grpcio/files/patch-src_core_tsi_ssl__transport__security.c Sun Apr 30 11:36:06 2017 (r439803) @@ -0,0 +1,10 @@ +--- src/core/tsi/ssl_transport_security.c.orig 2017-04-27 21:44:51 UTC ++++ src/core/tsi/ssl_transport_security.c +@@ -35,6 +35,7 @@ + + #include + ++#include + #include + #include + Added: head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-grpcio/files/patch-src_python_grpcio_grpc__core__dependencies.py Sun Apr 30 11:36:06 2017 (r439803) @@ -0,0 +1,56 @@ +--- src/python/grpcio/grpc_core_dependencies.py.orig 2017-04-27 21:44:50 UTC ++++ src/python/grpcio/grpc_core_dependencies.py +@@ -630,53 +630,4 @@ CORE_SOURCE_FILES = [ + 'third_party/zlib/trees.c', + 'third_party/zlib/uncompr.c', + 'third_party/zlib/zutil.c', +- 'third_party/cares/cares/ares__close_sockets.c', +- 'third_party/cares/cares/ares__get_hostent.c', +- 'third_party/cares/cares/ares__read_line.c', +- 'third_party/cares/cares/ares__timeval.c', +- 'third_party/cares/cares/ares_cancel.c', +- 'third_party/cares/cares/ares_create_query.c', +- 'third_party/cares/cares/ares_data.c', +- 'third_party/cares/cares/ares_destroy.c', +- 'third_party/cares/cares/ares_expand_name.c', +- 'third_party/cares/cares/ares_expand_string.c', +- 'third_party/cares/cares/ares_fds.c', +- 'third_party/cares/cares/ares_free_hostent.c', +- 'third_party/cares/cares/ares_free_string.c', +- 'third_party/cares/cares/ares_getenv.c', +- 'third_party/cares/cares/ares_gethostbyaddr.c', +- 'third_party/cares/cares/ares_gethostbyname.c', +- 'third_party/cares/cares/ares_getnameinfo.c', +- 'third_party/cares/cares/ares_getopt.c', +- 'third_party/cares/cares/ares_getsock.c', +- 'third_party/cares/cares/ares_init.c', +- 'third_party/cares/cares/ares_library_init.c', +- 'third_party/cares/cares/ares_llist.c', +- 'third_party/cares/cares/ares_mkquery.c', +- 'third_party/cares/cares/ares_nowarn.c', +- 'third_party/cares/cares/ares_options.c', +- 'third_party/cares/cares/ares_parse_a_reply.c', +- 'third_party/cares/cares/ares_parse_aaaa_reply.c', +- 'third_party/cares/cares/ares_parse_mx_reply.c', +- 'third_party/cares/cares/ares_parse_naptr_reply.c', +- 'third_party/cares/cares/ares_parse_ns_reply.c', +- 'third_party/cares/cares/ares_parse_ptr_reply.c', +- 'third_party/cares/cares/ares_parse_soa_reply.c', +- 'third_party/cares/cares/ares_parse_srv_reply.c', +- 'third_party/cares/cares/ares_parse_txt_reply.c', +- 'third_party/cares/cares/ares_platform.c', +- 'third_party/cares/cares/ares_process.c', +- 'third_party/cares/cares/ares_query.c', +- 'third_party/cares/cares/ares_search.c', +- 'third_party/cares/cares/ares_send.c', +- 'third_party/cares/cares/ares_strcasecmp.c', +- 'third_party/cares/cares/ares_strdup.c', +- 'third_party/cares/cares/ares_strerror.c', +- 'third_party/cares/cares/ares_timeout.c', +- 'third_party/cares/cares/ares_version.c', +- 'third_party/cares/cares/ares_writev.c', +- 'third_party/cares/cares/bitncmp.c', +- 'third_party/cares/cares/inet_net_pton.c', +- 'third_party/cares/cares/inet_ntop.c', +- 'third_party/cares/cares/windows_port.c', + ]