1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Upgrade to 6.1.3 and enable Python bindings for PLE.

Changelog at <https://github.com/code-saturne/code_saturne/blob/v6.1/NEWS.md>.
This commit is contained in:
Thierry Thomas 2020-12-23 18:37:11 +00:00
parent 1eca7ed3a6
commit a4cacb7d6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559010
3 changed files with 26 additions and 6 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= code_saturne
PORTVERSION= 6.1.2
PORTVERSION= 6.1.3
DISTVERSIONPREFIX= v
PORTREVISION= 4
CATEGORIES= science parallel
MAINTAINER= thierry@FreeBSD.org
@ -36,9 +35,10 @@ CFLAGS+= -D__XSI_VISIBLE
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-salome --without-salome-yacs --without-salome-kernel \
--without-salome-gui
--without-salome-gui --enable-python
CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
BINARY_ALIAS= python=${PYTHON_CMD} \
pyrcc5=pyrcc5-${PYTHON_VER} \
pyuic5=pyuic5-${PYTHON_VER}
@ -53,7 +53,9 @@ BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-lib=${LOCALBASE}/lib --with-blas-
BLAS_LIB_DEPENDS= libopenblas.so:math/openblas
BATCH_DESC= Use Torque to submit batches
BATCH_RUN_DEPENDS= pbs-config:sysutils/torque
MPI_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}
MPI_LIB_DEPENDS= libmpi.so:net/mpich
MPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR}
MPI_CONFIGURE_WITH= mpi
METIS_DESC= Support of METIS
METIS_LIB_DEPENDS= libmetis.so:math/metis
@ -102,6 +104,9 @@ pre-configure:
${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/Makefile.am
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/code_saturne/cs_solver
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1600007190
SHA256 (code-saturne-code_saturne-v6.1.2_GH0.tar.gz) = 76c27fd8e1adbdeefa5f9b3f8d80ed33d4e851a2accd1c959a54f353149f8fd2
SIZE (code-saturne-code_saturne-v6.1.2_GH0.tar.gz) = 19591303
TIMESTAMP = 1608743108
SHA256 (code-saturne-code_saturne-v6.1.3_GH0.tar.gz) = fcbd93ad3059ee256f59ce552e0ab2f7d894a84374cdae1a743574f4989eda0f
SIZE (code-saturne-code_saturne-v6.1.3_GH0.tar.gz) = 19593748

View File

@ -1495,6 +1495,21 @@ lib/libsaturne.so
%%PYTHON_SITELIBDIR%%/code_saturne/trackcvg/__pycache__/resource_base_rc.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/code_saturne/trackcvg/__pycache__/resource_base_rc.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/code_saturne/trackcvg/resource_base_rc.py
%%PYTHON_SITELIBDIR%%/ple/Coupling.py
%%PYTHON_SITELIBDIR%%/ple/Init.py
%%PYTHON_SITELIBDIR%%/ple/__init__.py
%%PYTHON_SITELIBDIR%%/ple/__pycache__/Coupling.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/Coupling.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/Init.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/Init.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/pyple_coupler.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/ple/__pycache__/pyple_coupler.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/ple/libpyplecoupling.so
%%PYTHON_SITELIBDIR%%/ple/libpyplecoupling.so.0
%%PYTHON_SITELIBDIR%%/ple/libpyplecoupling.so.0.0.0
%%PYTHON_SITELIBDIR%%/ple/pyple_coupler.py
libexec/code_saturne/cs_check_syntax
libexec/code_saturne/cs_io_dump
libexec/code_saturne/cs_preprocess