diff options
-rw-r--r-- | devel/py-grpcio/Makefile | 4 | ||||
-rw-r--r-- | devel/py-grpcio/distinfo | 6 | ||||
-rw-r--r-- | devel/py-grpcio/files/patch-setup.py | 34 |
3 files changed, 6 insertions, 38 deletions
diff --git a/devel/py-grpcio/Makefile b/devel/py-grpcio/Makefile index efc566d5ca19..d7cf25fdef04 100644 --- a/devel/py-grpcio/Makefile +++ b/devel/py-grpcio/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= grpcio -PORTVERSION= 1.12.1 +PORTVERSION= 1.13.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -22,6 +22,8 @@ BROKEN_powerpc64= fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared USES= compiler:gcc-c++11-lib localbase:ldflags python USE_PYTHON= autoplist distutils +MAKE_ENV+= GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true \ + GRPC_PYTHON_BUILD_SYSTEM_CARES=true CFLAGS+= -Ithird_party/boringssl/include LDFLAGS+= -lcares diff --git a/devel/py-grpcio/distinfo b/devel/py-grpcio/distinfo index 57627f44d84f..0b5a204e982c 100644 --- a/devel/py-grpcio/distinfo +++ b/devel/py-grpcio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1528188962 -SHA256 (grpcio-1.12.1.tar.gz) = f14faadfd09aa8526536cd2149e274563f45b767fca1736ccc53803a6af3f90e -SIZE (grpcio-1.12.1.tar.gz) = 14222845 +TIMESTAMP = 1530327814 +SHA256 (grpcio-1.13.0.tar.gz) = 6324581e215157f0fbe335dff2e21a65b4406db98ac7cca05f1e23b4f510b426 +SIZE (grpcio-1.13.0.tar.gz) = 14320631 diff --git a/devel/py-grpcio/files/patch-setup.py b/devel/py-grpcio/files/patch-setup.py deleted file mode 100644 index cfdc6f6ef986..000000000000 --- a/devel/py-grpcio/files/patch-setup.py +++ /dev/null @@ -1,34 +0,0 @@ ---- setup.py.orig 2018-04-13 19:56:08 UTC -+++ setup.py -@@ -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 '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'),) - ADDRESS_SORTING_INCLUDE = (os.path.join('third_party', 'address_sorting', 'include'),) - README = os.path.join(PYTHON_STEM, 'README.rst') - -@@ -145,12 +134,10 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._ - CYTHON_HELPER_C_FILES = () - - CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES) --if "win32" in sys.platform: -- 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 + ADDRESS_SORTING_INCLUDE) -+ ADDRESS_SORTING_INCLUDE) - - EXTENSION_LIBRARIES = () - if "linux" in sys.platform: |