git: babca13c097f - main - science/precice: update 2.5.1 → 3.1.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 09 Nov 2024 17:34:50 UTC
The branch main has been updated by yuri:

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

commit babca13c097f44b9cc67dd353edaf81abf2b645a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-09 17:34:17 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-09 17:34:46 +0000

    science/precice: update 2.5.1 → 3.1.2
---
 science/precice/Makefile  | 11 +++++++----
 science/precice/distinfo  |  6 +++---
 science/precice/pkg-plist | 18 +++++++++++-------
 3 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/science/precice/Makefile b/science/precice/Makefile
index ccdb253a9840..df31d1c30c82 100644
--- a/science/precice/Makefile
+++ b/science/precice/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	precice
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.5.1
-PORTREVISION=	2
+DISTVERSION=	3.1.2
 CATEGORIES=	science # physics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,15 +10,19 @@ WWW=		https://precice.org/
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYNUMPY}
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libmpicxx.so:net/mpich
+RUN_DEPENDS=	${PYNUMPY}
 
-USES=		cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig # fails with ninja: phony target 'binprecice' names itself as an input; ignoring
+USES=		cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig python shebangfix # fails with ninja: phony target 'binprecice' names itself as an input; ignoring
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 
+SHEBANG_FILES=	tools/profiling/precice-profiling
+
 CMAKE_OFF=	BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions
 
 OPTIONS_DEFINE=	MPI PETSC EXAMPLES
@@ -30,7 +33,7 @@ MPI_RUN_DEPENDS=	openmpi>0:net/openmpi
 MPI_BROKEN=		all tests crash with MPI, see https://github.com/precice/precice/issues/1331
 
 PETSC_DESC=		Use PETSc linear algebra library
-PETSC_CMAKE_BOOL=	PRECICE_PETScMapping
+PETSC_CMAKE_BOOL=	PRECICE_FEATURE_PETSC_MAPPING
 PETSC_LIB_DEPENDS=	libpetsc.so:science/PETSc
 PETSC_IMPLIES=		MPI
 
diff --git a/science/precice/distinfo b/science/precice/distinfo
index 1b35d164d274..88a17e938841 100644
--- a/science/precice/distinfo
+++ b/science/precice/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706689210
-SHA256 (precice-precice-v2.5.1_GH0.tar.gz) = a5a37d3430eac395e885eb9cbbed9d0980a15e96c3e44763a3769fa7301e3b3a
-SIZE (precice-precice-v2.5.1_GH0.tar.gz) = 1653434
+TIMESTAMP = 1731126071
+SHA256 (precice-precice-v3.1.2_GH0.tar.gz) = e06d5e183f584c51812dcddf958210d1195bea38fa2df13be72303dcb06c869b
+SIZE (precice-precice-v3.1.2_GH0.tar.gz) = 1666984
diff --git a/science/precice/pkg-plist b/science/precice/pkg-plist
index 1acc0b069ef2..3f329ce21251 100644
--- a/science/precice/pkg-plist
+++ b/science/precice/pkg-plist
@@ -1,17 +1,21 @@
-bin/binprecice
+bin/precice-profiling
 bin/precice-tools
-include/precice/SolverInterface.hpp
-include/precice/SolverInterfaceC.h
+include/precice/Participant.hpp
 include/precice/Tooling.hpp
+include/precice/Types.hpp
 include/precice/Version.h
-include/precice/types.hpp
+include/precice/export.h
+include/precice/precice.hpp
+include/precice/preciceC.h
+include/precice/preciceFortran.hpp
+include/precice/span.hpp
 lib/cmake/precice/preciceConfig.cmake
 lib/cmake/precice/preciceConfigVersion.cmake
 lib/cmake/precice/preciceTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/precice/preciceTargets.cmake
 lib/libprecice.so
-lib/libprecice.so.2
-lib/libprecice.so.2.5.1
+lib/libprecice.so.3
+lib/libprecice.so.3.1.2
 libdata/pkgconfig/libprecice.pc
-share/lintian/overrides/libprecice2
+share/lintian/overrides/libprecice3
 share/man/man1/precice-tools.1.gz