git: 7fa71b25cf40 - main - math/py-fenics-ufl: New port: FEniCS Unified Form Language

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 15 Jul 2022 16:27:37 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7fa71b25cf407c537c94a340a490ae636a445477

commit 7fa71b25cf407c537c94a340a490ae636a445477
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-15 16:07:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-15 16:27:35 +0000

    math/py-fenics-ufl: New port: FEniCS Unified Form Language
---
 math/Makefile                |  1 +
 math/py-fenics-ufl/Makefile  | 24 ++++++++++++++++++++++++
 math/py-fenics-ufl/distinfo  |  3 +++
 math/py-fenics-ufl/pkg-descr |  9 +++++++++
 4 files changed, 37 insertions(+)

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