From nobody Mon Jun 20 16:53:17 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E2B3C876A8E; Mon, 20 Jun 2022 16:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LRbLk1tNJz3CP6; Mon, 20 Jun 2022 16:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655743998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NWdWdSL5aFjSsXbu/VKufb46iGZ8PMj7mMcZXvqwOOE=; b=lYUlqZICdf3WOJj6hK71U6CD2wi0o0Te2/bIzzPQg667PcKVc39QPi97a9CCcSiCtHcRfD q95OFocPr4FjJtvql+MzRcDm/OH/tnc6kEYvUKWtVGazdHVaHGOeIVO48mHJlkqDhOLlNj FLrFdClOXM5qzVUwqt4l/uGOjrRiINGa0RCKkVs9SDf2TGRB+PR0DR0hFAWNesmhKAa0fx 3LyIo604JNpy8IMOwhX3Cba3UiloBOL7hRY9YJ4U9FPLFpODjfWnGKMl0ln+qMYrmDccW3 eqRRrqlSYyql5kD3Ih6yYOrck16akPcOyFgQQ/cW3PftKaDe37ki/cU/w8lPNQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 170ED20EE2; Mon, 20 Jun 2022 16:53:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25KGrHRx039812; Mon, 20 Jun 2022 16:53:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25KGrHvR039811; Mon, 20 Jun 2022 16:53:17 GMT (envelope-from git) Date: Mon, 20 Jun 2022 16:53:17 GMT Message-Id: <202206201653.25KGrHvR039811@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2281a1c1659e - main - science/py-pyprecice: New port: Coupling library for partitioned multi-physics simulations List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2281a1c1659e265a1454f26efc91e61815d3a121 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655743998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NWdWdSL5aFjSsXbu/VKufb46iGZ8PMj7mMcZXvqwOOE=; b=YVDlpnw8glwvD7uMqhcxzgo/St2kbP1+zMePpD3XpXNAeQpnuLuyxl/hcGmGji9WSyXC0o YOuZljRhdDgDQg+z/pmIlz0Om5pfNTVTsht5c+FuE+5sJhK1TlaosRblAYUGpzedNCne5C WeRGjS/GHevFqzLc2bNvq4677uyBoc08Sa6EozxPrPXnG+QVtNxvcVqew4uTLwn2ypnGzE qWdDnkh0V3fhPv71uuQy6MUmcQvXAF3yKlQgZ1VirsxGNG4b4nR8pCy/zybHNqcI1/osSd h/FBhxFHkjjgYrqoz8tEXux7gfJclEgKJvRreOW3rClzaH2pC/X97aYoGWeqiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655743998; a=rsa-sha256; cv=none; b=UILehM/l506oyI11ykd+JipVFYzouMP8B+JFXgrWYheOUzS9ioxkFH5Q2ypjeukXlN+M39 oWBy4QzFcQ/Q8XGk1xoo1Xegyj2x4Ln3YrhccRc5zqNwWFI2ajihjFgZwwsGH6WvIVZXQv kuTMC+KDIzD8XVlGueKtQTaYSNmZsp80DeqgmftnJhBTMPzzzXwskYQEFis8tfGwlEP/Je E1mWsl9b04WoSHAu7iY1LmwJ6XJ2iiLYCEmPqnbXfjQKLU9GCj1B+hZmrCQ2QT4Nyzsiky fxK7o3WUQCaHKao2sr8UWGCqLPRwXaJJ+jRIAjL56WG686/asRT93vfOIunYdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2281a1c1659e265a1454f26efc91e61815d3a121 commit 2281a1c1659e265a1454f26efc91e61815d3a121 Author: Yuri Victorovich AuthorDate: 2022-06-20 16:51:44 +0000 Commit: Yuri Victorovich 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 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/