1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/py-fenics-ffcx: New port: FEniCS Form Compiler for finite element forms

This commit is contained in:
Yuri Victorovich 2022-07-15 09:18:54 -07:00
parent 7fa71b25cf
commit 97d8da6851
5 changed files with 52 additions and 0 deletions

View File

@ -863,6 +863,7 @@
SUBDIR += py-fastcluster
SUBDIR += py-fastdtw
SUBDIR += py-fenics-basix
SUBDIR += py-fenics-ffcx
SUBDIR += py-fenics-ufl
SUBDIR += py-flax
SUBDIR += py-fpylll

View File

@ -0,0 +1,25 @@
PORTNAME= fenics-ffcx
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.2
CATEGORIES= math
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= FEniCS Form Compiler for finite element forms
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
USES= localbase python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= FEniCS
GH_PROJECT= ffcx
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1657901414
SHA256 (FEniCS-ffcx-v0.4.2_GH0.tar.gz) = 3be6eef064d6ef907245db5b6cc15d4e603762e68b76e53e099935ca91ef1ee4
SIZE (FEniCS-ffcx-v0.4.2_GH0.tar.gz) = 132826

View File

@ -0,0 +1,11 @@
--- setup.cfg.orig 2022-07-15 16:16:32 UTC
+++ setup.cfg
@@ -40,7 +40,7 @@ include_package_data = True
zip_safe = False
python_requires = >= 3.7
setup_requires =
- setuptools >= 58, < 61
+ setuptools >= 58
wheel
install_requires =
numpy

View File

@ -0,0 +1,12 @@
FFCx is a new version of the FEniCS Form Compiler. It is being
actively developed and is compatible with DOLFINx.
FFCx is a compiler for finite element variational forms. From a
high-level description of the form in the Unified Form Language
(UFL), it generates efficient low-level C code that can be used to
assemble the corresponding discrete operator (tensor). In particular,
a bilinear form may be assembled into a matrix and a linear form may
be assembled into a vector. FFCx may be used either from the command
line (by invoking the ffcx command) or as a Python module.
WWW: https://github.com/FEniCS/ffcx