Date: Mon, 20 Jun 2022 16:53:17 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2281a1c1659e - main - science/py-pyprecice: New port: Coupling library for partitioned multi-physics simulations Message-ID: <202206201653.25KGrHvR039811@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2281a1c1659e265a1454f26efc91e61815d3a121 commit 2281a1c1659e265a1454f26efc91e61815d3a121 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-06-20 16:51:44 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-06-20 16:53:12 +0000 science/py-pyprecice: New port: Coupling library for partitioned multi-physics simulations --- science/Makefile | 1 + science/py-pyprecice/Makefile | 32 ++++++++++++++++++++++++++++++++ science/py-pyprecice/distinfo | 3 +++ science/py-pyprecice/pkg-descr | 6 ++++++ 4 files changed, 42 insertions(+) diff --git a/science/Makefile b/science/Makefile index 06c04580a862..95ea1b1a91a7 100644 --- a/science/Makefile +++ b/science/Makefile @@ -324,6 +324,7 @@ SUBDIR += py-pymatgen SUBDIR += py-pymol SUBDIR += py-pyosf + SUBDIR += py-pyprecice SUBDIR += py-pysal SUBDIR += py-pyscf SUBDIR += py-pyteomics diff --git a/science/py-pyprecice/Makefile b/science/py-pyprecice/Makefile new file mode 100644 index 000000000000..66b5d4cbb5ad --- /dev/null +++ b/science/py-pyprecice/Makefile @@ -0,0 +1,32 @@ +PORTNAME= pyprecice +DISTVERSIONPREFIX= v +DISTVERSION= 2.4.0.0 +CATEGORIES= science # physics +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Coupling library for partitioned multi-physics simulations + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +LIB_DEPENDS= libprecice.so:science/precice +RUN_DEPENDS= ${PY_DEPENDS} + +USES= localbase python:3.6+ +USE_PYTHON= distutils cython autoplist + +USE_GITHUB= yes +GH_ACCOUNT= precice +GH_PROJECT= python-bindings + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cyprecice.cpython-${PYTHON_SUFFIX}.so + +do-test: + @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYSETUP} test + +.include <bsd.port.mk> diff --git a/science/py-pyprecice/distinfo b/science/py-pyprecice/distinfo new file mode 100644 index 000000000000..3c2a8926af53 --- /dev/null +++ b/science/py-pyprecice/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655739507 +SHA256 (precice-python-bindings-v2.4.0.0_GH0.tar.gz) = 4d0a0db2ca3fe3e87d3934bc8683455c4f522d39ed6e07becbacf47728d2230b +SIZE (precice-python-bindings-v2.4.0.0_GH0.tar.gz) = 55530 diff --git a/science/py-pyprecice/pkg-descr b/science/py-pyprecice/pkg-descr new file mode 100644 index 000000000000..c50dfb4f0780 --- /dev/null +++ b/science/py-pyprecice/pkg-descr @@ -0,0 +1,6 @@ +Python bindings for preCICE, an open-source coupling library for +partitioned multi-physics simulations, including, but not restricted +to fluid-structure interaction and conjugate heat transfer +simulations. + +WWW: https://precice.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206201653.25KGrHvR039811>