git: 459f83196c19 - main - math/py-petsc4py: remove deprecated dry_run parameter from build_ext
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Jun 2026 03:34:04 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=459f83196c1965382744d4078c805b9d6dae99b6
commit 459f83196c1965382744d4078c805b9d6dae99b6
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-06-18 03:31:24 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-06-18 03:33:49 +0000
math/py-petsc4py: remove deprecated dry_run parameter from build_ext
...to fix build with newer setuptools
While here, correct name of file for stripping
Co-authored by: Hiroo Ono
Approved by: maintainer timeout
PR: 294431
Event: FreeBSD Developer Summit June 2026
Event: BSDCan 2026
---
math/py-petsc4py/Makefile | 2 +-
math/py-petsc4py/files/patch-conf_confpetsc.py | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile
index ff0589f1c166..02e3d809d75e 100644
--- a/math/py-petsc4py/Makefile
+++ b/math/py-petsc4py/Makefile
@@ -34,6 +34,6 @@ OPENMPI_USES= mpi:openmpi
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/petsc4py/lib/PETSc${PYTHON_TAG}.so
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/petsc4py/lib/PETSc${PYTHON_SOABI}.so
.include <bsd.port.mk>
diff --git a/math/py-petsc4py/files/patch-conf_confpetsc.py b/math/py-petsc4py/files/patch-conf_confpetsc.py
new file mode 100644
index 000000000000..b99139929eca
--- /dev/null
+++ b/math/py-petsc4py/files/patch-conf_confpetsc.py
@@ -0,0 +1,10 @@
+--- conf/confpetsc.py.orig 2026-04-12 03:48:08 UTC
++++ conf/confpetsc.py
+@@ -694,7 +694,6 @@ class build_ext(_build_ext):
+ (config_file, config_data),
+ msg='writing %s' % config_file,
+ verbose=self.verbose,
+- dry_run=self.dry_run,
+ )
+
+ def get_config_data(self, arch_list):