diff --git a/devel/py-grpcio/Makefile b/devel/py-grpcio/Makefile index e7b1fda56c53..ad2c4629c42a 100644 --- a/devel/py-grpcio/Makefile +++ b/devel/py-grpcio/Makefile @@ -1,34 +1,34 @@ PORTNAME= grpcio -PORTVERSION= 1.76.0 +PORTVERSION= 1.78.0 PORTREVISION= 0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= vanilla@FreeBSD.org COMMENT= HTTP/2-based RPC framework WWW= https://pypi.org/project/grpcio/ LICENSE= APACHE20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libcares.so:dns/c-ares USES= compiler:c++11-lib localbase:ldflags python ssl BROKEN_SSL= libressl BROKEN_SSL_REASON= use of undeclared identifier 'X509_STORE_set_get_crl' USE_PYTHON= autoplist cython distutils MAKE_ENV+= GRPC_PYTHON_BUILD_SYSTEM_CARES=true \ GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true \ GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true LDFLAGS+= -lcares post-patch: @${RM} ${WRKSRC}/src/python/grpcio/grpc/_cython/cygrpc.cpp post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc*.so ${REINPLACE_CMD} -e 's|^.*so$$|${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc${PYTHON_TAG}.so|' ${_PYTHONPKGLIST} .include diff --git a/devel/py-grpcio/distinfo b/devel/py-grpcio/distinfo index 0a23c5418ad5..f8be23c8cf78 100644 --- a/devel/py-grpcio/distinfo +++ b/devel/py-grpcio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761113373 -SHA256 (grpcio-1.76.0.tar.gz) = 7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73 -SIZE (grpcio-1.76.0.tar.gz) = 12785182 +TIMESTAMP = 1771144862 +SHA256 (grpcio-1.78.0.tar.gz) = 7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5 +SIZE (grpcio-1.78.0.tar.gz) = 12852416 diff --git a/devel/py-grpcio/files/patch-pyproject.toml b/devel/py-grpcio/files/patch-pyproject.toml new file mode 100644 index 000000000000..50a7eeb6cba5 --- /dev/null +++ b/devel/py-grpcio/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2026-02-03 18:17:35 UTC ++++ pyproject.toml +@@ -23,7 +23,7 @@ name = "grpcio" + + [project] + name = "grpcio" +-license = "Apache-2.0" ++license = {text = "Apache-2.0"} + description = "HTTP/2-based RPC framework" + readme = {file = "src/python/grpcio/README.rst", content-type = "text/x-rst"} + authors = [{name = "The gRPC Authors", email = "grpc-io@googlegroups.com"}] diff --git a/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h b/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h index 94e724e94c7e..f0dac4877525 100644 --- a/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h +++ b/devel/py-grpcio/files/patch-third__party_boringssl-with-bazel_src_include_openssl_base.h @@ -1,12 +1,12 @@ ---- third_party/boringssl-with-bazel/src/include/openssl/base.h.orig 2023-09-06 01:32:08 UTC +--- third_party/boringssl-with-bazel/src/include/openssl/base.h.orig 2026-02-03 18:17:40 UTC +++ third_party/boringssl-with-bazel/src/include/openssl/base.h -@@ -413,9 +413,6 @@ typedef void *OPENSSL_BLOCK; +@@ -396,9 +396,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)