git: bb17f870d549 - main - math/slepc: update 3.22.2 → 3.25.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 10 Sep 2026 20:06:29 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb17f870d5496ba0d68c78da06f79654c7948c4a

commit bb17f870d5496ba0d68c78da06f79654c7948c4a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-10 03:19:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-10 19:58:20 +0000

    math/slepc: update 3.22.2 → 3.25.1
---
 math/slepc/Makefile                          | 14 ++++++--------
 math/slepc/distinfo                          |  6 +++---
 math/slepc/files/patch-config_install.py     |  8 ++++----
 math/slepc/files/patch-src_sys_tests_test2.c | 14 ++++++++++++++
 math/slepc/pkg-plist                         | 27 +++++++++++----------------
 5 files changed, 38 insertions(+), 31 deletions(-)

diff --git a/math/slepc/Makefile b/math/slepc/Makefile
index 356194150d7e..a88ff079465e 100644
--- a/math/slepc/Makefile
+++ b/math/slepc/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	slepc
-DISTVERSION=	3.22.2
-PORTREVISION=	3
+DISTVERSION=	3.25.1
 CATEGORIES=	math devel
 MASTER_SITES=	http://slepc.upv.es/download/distrib/
 
@@ -26,20 +25,19 @@ SHEBANG_FILES=	configure
 SHEBANG_GLOB=	*.py
 
 MAKEFILE=	makefile
-MAKE_ENV=	PETSC_DIR=${LOCALBASE} PETSC_ARCH="" SLEPC_DIR=${WRKSRC} PYTHON=${PYTHON_CMD}
+MAKE_ENV=	PETSC_DIR=${LOCALBASE} PETSC_ARCH="" SLEPC_DIR=${WRKSRC} PYTHON=${PYTHON_CMD} PYTHONDONTWRITEBYTECODE=1
 
-TEST_TARGET=	test # 1 of 2568 tests fail because some file can't be opened
+TEST_TARGET=	test
+TEST_ENV=	${MAKE_ENV} PETSC_OPTIONS=-nox
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
 
-OPTIONS_DEFINE=	EXAMPLES
-
-PORTEXAMPLES=	*
-
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./configure --prefix=${PREFIX}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libslepc.so.${PORTVERSION}
 
+# tests as of 3.25.1: 2480 passed, 6 skipped, 0 failed in 702s
+
 .include <bsd.port.mk>
diff --git a/math/slepc/distinfo b/math/slepc/distinfo
index 48ff1d429af3..438e9fa9ee62 100644
--- a/math/slepc/distinfo
+++ b/math/slepc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1735974380
-SHA256 (slepc-3.22.2.tar.gz) = b60e58b2fa5eb7db05ce5e3a585811b43b1cc7cf89c32266e37b05f0cefd8899
-SIZE (slepc-3.22.2.tar.gz) = 1868380
+TIMESTAMP = 1788944015
+SHA256 (slepc-3.25.1.tar.gz) = 906ddbe15a20774c23ddcdf13a5054889d00a26c3c37463447ee593c757d03ee
+SIZE (slepc-3.25.1.tar.gz) = 1917727
diff --git a/math/slepc/files/patch-config_install.py b/math/slepc/files/patch-config_install.py
index 8729da8e067f..57ba7500e793 100644
--- a/math/slepc/files/patch-config_install.py
+++ b/math/slepc/files/patch-config_install.py
@@ -1,8 +1,8 @@
---- config/install.py.orig	2023-04-02 15:05:03 UTC
+--- config/install.py.orig	2026-09-09 11:20:46 UTC
 +++ config/install.py
-@@ -336,7 +336,7 @@ for dir in dirs:
-   def installShare(self):
-     self.copies.extend(self.copytree(self.rootShareDir, self.destShareDir))
+@@ -492,7 +492,7 @@ for dir in dirs:
+     else: exclude = ['datafiles']
+     self.copies.extend(self.copytree(self.rootShareDir, self.destShareDir, exclude=exclude))
      if self.copyexamples:
 -      examplesdir=os.path.join(self.destShareDir,'slepc','examples')
 +      examplesdir=os.path.join(self.destShareDir,'examples','slepc')
diff --git a/math/slepc/files/patch-src_sys_tests_test2.c b/math/slepc/files/patch-src_sys_tests_test2.c
new file mode 100644
index 000000000000..f8574e5a8d1b
--- /dev/null
+++ b/math/slepc/files/patch-src_sys_tests_test2.c
@@ -0,0 +1,14 @@
+-- Filter out the -blas_num_threads option line emitted by PETSc when linked
+-- with BLAS implementations such as blis, which otherwise makes the test
+-- output diff fail in the FreeBSD package build environment.
+
+--- src/sys/tests/test2.c.orig	2026-09-09 11:37:39 UTC
++++ src/sys/tests/test2.c
+@@ -44,6 +44,6 @@ int main(int argc,char **argv)
+ 
+    test:
+       args: -help
+-      filter: sed -e "s/\(Development Git.*\)/version/" | sed -e "s/\(Release Version.*\)/version/" | sed -e "s/\(linked from.*\)/linked from PATH/"
++      filter: sed -e "s/\(Development Git.*\)/version/" | sed -e "s/\(Release Version.*\)/version/" | sed -e "s/\(linked from.*\)/linked from PATH/" | sed -e '/-blas_num_threads/d'
+ 
+ TEST*/
diff --git a/math/slepc/pkg-plist b/math/slepc/pkg-plist
index b77b08aabc69..439fce613962 100644
--- a/math/slepc/pkg-plist
+++ b/math/slepc/pkg-plist
@@ -1,18 +1,26 @@
 include/slepc.h
 include/slepc.mod
 include/slepc/finclude/slepc.h
+include/slepc/finclude/slepcblaslapack.h
+include/slepc/finclude/slepcblaslapack_mangle.h
 include/slepc/finclude/slepcbv.h
+include/slepc/finclude/slepccupmblas.h
 include/slepc/finclude/slepcds.h
 include/slepc/finclude/slepceps.h
 include/slepc/finclude/slepcfn.h
 include/slepc/finclude/slepclme.h
+include/slepc/finclude/slepcmagma.h
+include/slepc/finclude/slepcmat.h
+include/slepc/finclude/slepcmath.h
 include/slepc/finclude/slepcmfn.h
 include/slepc/finclude/slepcnep.h
 include/slepc/finclude/slepcpep.h
 include/slepc/finclude/slepcrg.h
+include/slepc/finclude/slepcsc.h
 include/slepc/finclude/slepcst.h
 include/slepc/finclude/slepcsvd.h
 include/slepc/finclude/slepcsys.h
+include/slepc/finclude/slepcvec.h
 include/slepc/private/bvimpl.h
 include/slepc/private/dsimpl.h
 include/slepc/private/epsimpl.h
@@ -33,67 +41,54 @@ include/slepcblaslapack_mangle.h
 include/slepcbv.h
 include/slepcbv.mod
 include/slepcbvdef.mod
-include/slepcbvdefdummy.mod
 include/slepcconf.h
 include/slepccupmblas.h
 include/slepcds.h
 include/slepcds.mod
 include/slepcdsdef.mod
-include/slepcdsdefdummy.mod
 include/slepceps.h
 include/slepceps.mod
 include/slepcepsdef.mod
-include/slepcepsdefdummy.mod
 include/slepcfn.h
 include/slepcfn.mod
 include/slepcfndef.mod
-include/slepcfndefdummy.mod
 include/slepclme.h
 include/slepclme.mod
 include/slepclmedef.mod
-include/slepclmedefdummy.mod
 include/slepcmagma.h
 include/slepcmat.h
 include/slepcmath.h
 include/slepcmfn.h
 include/slepcmfn.mod
 include/slepcmfndef.mod
-include/slepcmfndefdummy.mod
 include/slepcnep.h
 include/slepcnep.mod
 include/slepcnepdef.mod
-include/slepcnepdefdummy.mod
 include/slepcpep.h
 include/slepcpep.mod
 include/slepcpepdef.mod
-include/slepcpepdefdummy.mod
 include/slepcrg.h
 include/slepcrg.mod
 include/slepcrgdef.mod
-include/slepcrgdefdummy.mod
 include/slepcrgtypes.h
 include/slepcsc.h
 include/slepcst.h
 include/slepcst.mod
 include/slepcstdef.mod
-include/slepcstdefdummy.mod
 include/slepcsvd.h
 include/slepcsvd.mod
 include/slepcsvddef.mod
-include/slepcsvddefdummy.mod
 include/slepcsys.h
 include/slepcsys.mod
 include/slepcsysdef.mod
 include/slepcvec.h
 include/slepcversion.h
 lib/libslepc.so
-lib/libslepc.so.3.22
-lib/libslepc.so.3.22.2
-lib/slepc/conf/configure-hash
-lib/slepc/conf/modules/slepc/3.22.2
+lib/libslepc.so.3.25
+lib/libslepc.so.3.25.1
+lib/slepc/conf/modules/slepc/3.25.1
 lib/slepc/conf/slepc_common
 lib/slepc/conf/slepc_rules
-lib/slepc/conf/slepc_rules_doc.mk
 lib/slepc/conf/slepc_rules_util.mk
 lib/slepc/conf/slepc_test
 lib/slepc/conf/slepc_variables