math/py-fenics-ffcx: New port: FEniCS Form Compiler for finite element forms
This commit is contained in:
parent
7fa71b25cf
commit
97d8da6851
5 changed files with 52 additions and 0 deletions
|
@ -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
|
||||
|
|
25
math/py-fenics-ffcx/Makefile
Normal file
25
math/py-fenics-ffcx/Makefile
Normal 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>
|
3
math/py-fenics-ffcx/distinfo
Normal file
3
math/py-fenics-ffcx/distinfo
Normal 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
|
11
math/py-fenics-ffcx/files/patch-setup.cfg
Normal file
11
math/py-fenics-ffcx/files/patch-setup.cfg
Normal 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
|
12
math/py-fenics-ffcx/pkg-descr
Normal file
12
math/py-fenics-ffcx/pkg-descr
Normal 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
|
Loading…
Reference in a new issue