CVS commit: pkgsrc/net/py-grpcio

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Aug  9 21:21:10 UTC 2026

Modified Files:
	pkgsrc/net/py-grpcio: Makefile

Log Message:
py-grpcio: fix linking

The created shared objects were missing symbols; adapt the search path
in setup.py to use the pkgsrc locations, and use all abseil libraries.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 pkgsrc/net/py-grpcio/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.1 KB)
Modified files:

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.108 pkgsrc/net/py-grpcio/Makefile:1.109
--- pkgsrc/net/py-grpcio/Makefile:1.108	Wed Jul 22 12:34:33 2026
+++ pkgsrc/net/py-grpcio/Makefile	Sun Aug  9 21:21:10 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.108 2026/07/22 12:34:33 adam Exp $
+# $NetBSD: Makefile,v 1.109 2026/08/09 21:21:10 wiz Exp $
 
 DISTNAME=	grpcio-1.82.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	${MASTER_SITE_PYPI:=g/grpcio/}
 
@@ -25,6 +26,12 @@ MAKE_ENV+=	GRPC_PYTHON_BUILD_SYSTEM_OPEN
 MAKE_ENV+=	GRPC_PYTHON_BUILD_SYSTEM_RE2=1
 MAKE_ENV+=	GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
 
+SUBST_CLASSES+=		prefix
+SUBST_SED.prefix=	-e 's,"/usr","'${PREFIX:Q}'",'
+SUBST_FILES.prefix=	setup.py
+SUBST_MESSAGE.prefix=	Adapting search path for pkgsrc.
+SUBST_STAGE.prefix=	pre-configure
+
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.