Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2026 03:34:04 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 459f83196c19 - main - math/py-petsc4py: remove deprecated dry_run parameter from build_ext
Message-ID:  <6a33672c.3e5a1.2d514ab2@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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):


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a33672c.3e5a1.2d514ab2>