From nobody Fri Jul 15 08:49:46 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 4LklRH0zdyz4T6FR; Fri, 15 Jul 2022 08:49:47 +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 4LklRH0NyZz3WmW; Fri, 15 Jul 2022 08:49:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657874987; 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=90tcEfOG5UYRmnLOciDcazpzmft8N/6xUh7tNnlWSM8=; b=uej3z4Ij68U15YQFVPteZ6Z3MAcoNJeYR66MQF3klcGx960N1DH9MbJCm0E8iI70kd2wvL P1womR/3wvGBk3ApG9KmyNCD4M//8qQErR/MeNXdYR1a83Da15dn477k1PbRV/UBNku+cm J2B526AVAWtO7cbFoYvB/PSDvwWf10Av1rPx6yrtGxp8TYXOzdFkTlJ4vEUcr84M7LK2oG QHW8pE6zt6mySH1OJhqJPccWGVFQAJys+n3ac/Ju5uZrg5HmilbFHqXIiqiXIGfcr3Jiuc xpfbVaOeDot9ArPwIkg5GN5k9S6kFKmr1uHfittHDpeiknqNiKuPlIUSKitx7A== 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 4LklRG6YV8zbxZ; Fri, 15 Jul 2022 08:49:46 +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 26F8nkqi002763; Fri, 15 Jul 2022 08:49:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26F8nkP0002762; Fri, 15 Jul 2022 08:49:46 GMT (envelope-from git) Date: Fri, 15 Jul 2022 08:49:46 GMT Message-Id: <202207150849.26F8nkP0002762@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: 76a4a5b4e392 - main - math/py-fenics-basix: New port: FEniCS finite element basis evaluation library 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: 76a4a5b4e392199c09ebf178b79153532461fb9e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657874987; 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=90tcEfOG5UYRmnLOciDcazpzmft8N/6xUh7tNnlWSM8=; b=SQV/QNrRSPGJggbmhT1NSvZ+mCHMHDao2C7pvCaZAhF/+Lk8ozLsOJ7vLJ/bmW9xnt9Drq TH1g5xWBz1mPOx98mt2YLLdlmd5IRtrgtlOFw7bjFq7xoFB1MLj2DDwn6BIEUR/xkKqIbp vFgesxfFMf3bHI6l414OfSkuZzGZ2NfhpjCgPNvrUoCp6AUCz2C5yiIiu2Knkxh4wpQD7s S/ZRq9SYpcb4An+mrkhiuhNb4zB2Y21DbucmKOTGOymWGtAVv+hm27KnzFQnbpyXTDdKJr h2L0l06tmpnRpFkR6z5kg0GS7JjZBO10VGBq9ehlJJuYAjUPiYtUILeBqsIL3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657874987; a=rsa-sha256; cv=none; b=oQ2QaCqVWIrDeSrOHW5AA9v6YGBuEQGMW3a+EqT3Adg7V6UbzCbc/D4RUfwu8F7+F+b2WX 0AhydczDJSkdAh98Wrx5GK/QNieEBSNNaRGDtV8ZoQGRxjJIT+mVr7k+fa0qbEhUr7+zH2 oDKh72uLD4/iZ88X2sZx3fA/SplHR2JozhFVCeJNc3HLSeV79KcSbWz3mSmJyZb37MmM/8 aHWU5d/4CT7fSqJ59YwegYY6RkIorbd73IyxOMbHvhU/rNVfe21QdFr9WE6GfFEHklxbnq tqfDgCkdPTYNs+QEhvHsetkhlE6nJaAPY4bEB0tHMt7/y9lXkx7Z6ZiuZVUFEQ== 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=76a4a5b4e392199c09ebf178b79153532461fb9e commit 76a4a5b4e392199c09ebf178b79153532461fb9e Author: Yuri Victorovich AuthorDate: 2022-07-15 08:49:13 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-15 08:49:43 +0000 math/py-fenics-basix: New port: FEniCS finite element basis evaluation library --- math/Makefile | 1 + math/py-fenics-basix/Makefile | 33 +++++++++++++++++++++++++++++++++ math/py-fenics-basix/distinfo | 3 +++ math/py-fenics-basix/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 57 insertions(+) diff --git a/math/Makefile b/math/Makefile index f81a8ebb6b77..62c2297da23c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -862,6 +862,7 @@ SUBDIR += py-faiss SUBDIR += py-fastcluster SUBDIR += py-fastdtw + SUBDIR += py-fenics-basix SUBDIR += py-flax SUBDIR += py-fpylll SUBDIR += py-fraction diff --git a/math/py-fenics-basix/Makefile b/math/py-fenics-basix/Makefile new file mode 100644 index 000000000000..4649f4a1e2f9 --- /dev/null +++ b/math/py-fenics-basix/Makefile @@ -0,0 +1,33 @@ +PORTNAME= fenics-basix +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.2.post1 +CATEGORIES= math +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= FEniCS finite element basis evaluation library + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/../LICENSE + +BUILD_DEPENDS= pybind11>=2.6.4:devel/pybind11 \ + cmake>=3.16:devel/cmake \ + xtensor>0:math/xtensor \ + xtl-quant-stack>0:devel/xtl-quant-stack \ + ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build>=0.12:devel/py-scikit-build@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +LIB_DEPENDS= libbasix.so:math/fenics-basix +RUN_DEPENDS= ${PYNUMPY} + +USES= localbase python +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= FEniCS +GH_PROJECT= basix + +WRKSRC_SUBDIR= python + +.include diff --git a/math/py-fenics-basix/distinfo b/math/py-fenics-basix/distinfo new file mode 100644 index 000000000000..050873cd3b8d --- /dev/null +++ b/math/py-fenics-basix/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657872258 +SHA256 (FEniCS-basix-v0.4.2.post1_GH0.tar.gz) = dcf13ae27f6d26a5e09be39d0fc25a0cc630ccbe5e02a703b0fee0a990ff424f +SIZE (FEniCS-basix-v0.4.2.post1_GH0.tar.gz) = 584152 diff --git a/math/py-fenics-basix/pkg-descr b/math/py-fenics-basix/pkg-descr new file mode 100644 index 000000000000..8c8e274098ee --- /dev/null +++ b/math/py-fenics-basix/pkg-descr @@ -0,0 +1,20 @@ +Basix is a finite element definition and tabulation runtime library. + +Basix allows users to: +* evaluate finite element basis functions and their derivatives at a + set of points +* access geometric and topological information about reference cells +* apply push forward and pull back operations to map data between a + reference cell and a physical cell +* permute and transform DOFs to allow higher-order elements to be use + on arbitrary meshes +* interpolate into a finite element space and between finite element + spaces + +Basix includes a range of built-in elements, and also allows the user +to define their own custom elements. + +Basix is one of the components of FEniCSx, alongside UFL, FFCx, and +DOLFINx. + +WWW: https://github.com/FEniCS/basix