diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2022-06-20 16:51:44 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-06-20 16:53:12 +0000 |
| commit | 2281a1c1659e265a1454f26efc91e61815d3a121 (patch) | |
| tree | c893d527a8c6b55a063eaf5aa454e1cfbf264a30 | |
| parent | 672f96db60a1557abf034ceba9b7636195da5770 (diff) | |
science/py-pyprecice: New port: Coupling library for partitioned multi-physics simulations
| -rw-r--r-- | science/Makefile | 1 | ||||
| -rw-r--r-- | science/py-pyprecice/Makefile | 32 | ||||
| -rw-r--r-- | science/py-pyprecice/distinfo | 3 | ||||
| -rw-r--r-- | science/py-pyprecice/pkg-descr | 6 |
4 files changed, 42 insertions, 0 deletions
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/ |
