aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-07-15 16:07:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-07-15 16:27:35 +0000
commit7fa71b25cf407c537c94a340a490ae636a445477 (patch)
treec238052183da8922380e5f5b93e971c6267c3039
parent06dcc2711701f583f71591c27f61c46020339809 (diff)
downloadports-7fa71b25cf407c537c94a340a490ae636a445477.tar.gz
ports-7fa71b25cf407c537c94a340a490ae636a445477.zip
math/py-fenics-ufl: New port: FEniCS Unified Form Language
-rw-r--r--math/Makefile1
-rw-r--r--math/py-fenics-ufl/Makefile24
-rw-r--r--math/py-fenics-ufl/distinfo3
-rw-r--r--math/py-fenics-ufl/pkg-descr9
4 files changed, 37 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 62c2297da23c..70d1eb434ff2 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -863,6 +863,7 @@
SUBDIR += py-fastcluster
SUBDIR += py-fastdtw
SUBDIR += py-fenics-basix
+ SUBDIR += py-fenics-ufl
SUBDIR += py-flax
SUBDIR += py-fpylll
SUBDIR += py-fraction
diff --git a/math/py-fenics-ufl/Makefile b/math/py-fenics-ufl/Makefile
new file mode 100644
index 000000000000..0e91308e465e
--- /dev/null
+++ b/math/py-fenics-ufl/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= fenics-ufl
+DISTVERSION= 2022.1.0.post0
+CATEGORIES= math
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= FEniCS Unified Form Language
+
+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= ufl
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-fenics-ufl/distinfo b/math/py-fenics-ufl/distinfo
new file mode 100644
index 000000000000..b12f3b8c4681
--- /dev/null
+++ b/math/py-fenics-ufl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1657900969
+SHA256 (FEniCS-ufl-2022.1.0.post0_GH0.tar.gz) = 937e471e056bf73ac078fd3f46c72dfc8c2d1222be48d0f556dfba4699df9d10
+SIZE (FEniCS-ufl-2022.1.0.post0_GH0.tar.gz) = 313972
diff --git a/math/py-fenics-ufl/pkg-descr b/math/py-fenics-ufl/pkg-descr
new file mode 100644
index 000000000000..c8d549c2d6d3
--- /dev/null
+++ b/math/py-fenics-ufl/pkg-descr
@@ -0,0 +1,9 @@
+The Unified Form Language (UFL) is a domain specific language for
+declaration of finite element discretizations of variational forms.
+More precisely, it defines a flexible interface for choosing finite
+element spaces and defining expressions for weak forms in a notation
+close to mathematical notation.
+
+UFL is part of the FEniCS Project.
+
+WWW: https://github.com/FEniCS/ufl