pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/py-grpcio



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 12 12:00:32 UTC 2025

Modified Files:
        pkgsrc/net/py-grpcio: Makefile distinfo
Removed Files:
        pkgsrc/net/py-grpcio/patches: patch-setup.py

Log Message:
py-grpcio: use upstream method of enabling use of pkgsrc dependencies

Also, build included grpc instead of depending on pkgsrc grpc package.
The resulting .so file was missing symbol and was unusable.
This was noticeable e.g. by segfaults when running the py-google-auth
self tests.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/net/py-grpcio/Makefile
cvs rdiff -u -r1.75 -r1.76 pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.17 -r0 pkgsrc/net/py-grpcio/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.92 pkgsrc/net/py-grpcio/Makefile:1.93
--- pkgsrc/net/py-grpcio/Makefile:1.92  Sun Apr 13 12:25:15 2025
+++ pkgsrc/net/py-grpcio/Makefile       Mon May 12 12:00:32 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.92 2025/04/13 12:25:15 wiz Exp $
+# $NetBSD: Makefile,v 1.93 2025/05/12 12:00:32 wiz Exp $
 
 DISTNAME=      grpcio-1.70.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio/}
 
@@ -18,6 +18,12 @@ USE_CXX_FEATURES=    c++14
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake pkg-config
 
+MAKE_ENV+=     GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
+MAKE_ENV+=     GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+MAKE_ENV+=     GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+MAKE_ENV+=     GRPC_PYTHON_BUILD_SYSTEM_RE2=1
+MAKE_ENV+=     GRPC_PYTHON_BUILD_SYSTEM_ABSL=1
+
 pre-test:
        ${RM} -f ${WRKSRC}/third_party/boringssl-with-bazel/src/third_party/googletest/googlemock/test/*py
        ${RM} -f ${WRKSRC}/third_party/boringssl-with-bazel/src/third_party/googletest/googletest/test/*py
@@ -26,7 +32,6 @@ pre-test:
 .include "../../devel/abseil/buildlink3.mk"
 .include "../../devel/re2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../net/grpc/buildlink3.mk"
 .include "../../net/libcares/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.75 pkgsrc/net/py-grpcio/distinfo:1.76
--- pkgsrc/net/py-grpcio/distinfo:1.75  Sat Feb  1 07:20:58 2025
+++ pkgsrc/net/py-grpcio/distinfo       Mon May 12 12:00:32 2025
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.75 2025/02/01 07:20:58 adam Exp $
+$NetBSD: distinfo,v 1.76 2025/05/12 12:00:32 wiz Exp $
 
 BLAKE2s (grpcio-1.70.0.tar.gz) = 01b0d26df8206e1de910395f99e6a6cfb9d40c210889002301de65eae92ec6b3
 SHA512 (grpcio-1.70.0.tar.gz) = 0e01b8042352d8f6be28b30be64f9bf17d29d19f2d8889e21e6bdd56c6f78cea39a4bd4534afb2e3ded48c119a6ad9a863912088642f306088a5a319c8bfd784
 Size (grpcio-1.70.0.tar.gz) = 12788932 bytes
-SHA1 (patch-setup.py) = d8bd1807052c157fc919ac888349320c0594abf1
 SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a



Home | Main Index | Thread Index | Old Index