From nobody Fri Jul 15 16:27:38 2022 X-Original-To: dev-commits-ports-main@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 4Lkxbb27RDz4T3mL; Fri, 15 Jul 2022 16:27:39 +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 4Lkxbb1X3Hz3GWS; Fri, 15 Jul 2022 16:27:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657902459; 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=ikAFn4SuXeiqwnv/yDzouBOAHmfGyIRJq/FAKtuR4Ns=; b=UgsD9UZl6VxNT2YNrpBFlAnfoHX44a6GH+q4AbWOan4G7t9SwUCAX93oPhN9ptF8roSf8F OEXbAS4KECnAtvXE0sJpOC8dG8u/RFOnCD0MdWCkS3dZAopPvXtVHbe0fkRazOdf4Ka6nU S4KPK20O/jgWwT/HYerkFS+WnXGhbcWvOxlUdmByqW7qbBkUT98dxeEusDFhPOeF9ckDMP hQn49aVha/RMCK4JQPf9aR6OHhbivA3uUyOSRWs0xS3mQVVnAI1xntMVcRM0nqyWVs3ODC IOWvqFEABk3WHzxi4d/pdUpAIbQ+d+km3K69zywRmHlbwiNr2vWnHfpe/RMjmQ== 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 4Lkxbb0RBNzpDK; Fri, 15 Jul 2022 16:27:39 +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 26FGRcud024387; Fri, 15 Jul 2022 16:27:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26FGRcvg024386; Fri, 15 Jul 2022 16:27:38 GMT (envelope-from git) Date: Fri, 15 Jul 2022 16:27:38 GMT Message-Id: <202207151627.26FGRcvg024386@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: 97d8da685190 - main - math/py-fenics-ffcx: New port: FEniCS Form Compiler for finite element forms List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 97d8da68519022038a9860dfcb44d8176eecce76 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657902459; 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=ikAFn4SuXeiqwnv/yDzouBOAHmfGyIRJq/FAKtuR4Ns=; b=mUZpzhcIaThftJkFB7wu4C5n47hjRj7vArUmF5p2rKPeakR1XXmbdLeLjhEtwqlskgQhGg V4Q8cctcOUWdVzZeQ11tB3IFZNfDgqv2bC8iraqU8k3bvikQlbKoan0LCJZ93mJbAd6zPc mhJFUp0r6tGxX2H8syGiKZtMzwGH+0gNXBKrAhO3wTtOt12qrrU6N1MVxxikUVHUq20RM5 xDSNAeELAw/9kJOg6tCfDFFwNLnvwO/HOSE0rlHqLY8oWjogUEBYm7XR5kbKIAUMQIZf2x e5g0XR4fzYduAqBouEzKJA7yFH9N5w4ufVe4SdftApsY0er6dPV51cFgP5qWlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657902459; a=rsa-sha256; cv=none; b=KF5RTQc7WP5DZxU2meYNI2pZLoAfnM8++SWjtkdOLXuFzOrH/xVwod4MEByeuF1Bd5ZIun zJcjiQute1Ha+A3LC15l5EArvB7Nio0JyBCUI5VsU5t+D0kSQkQ9H5Af89rmMJom2wV37f OTBca2jeITRJcBG7OEBgB3KyeypYcftyIxtH6dlbvRir53rPFbp2oOi3VZdrstMReP0Luf Tk/vCvyPQtD7pw9cBQ/wrjHon4ad1ig2qzAu/D6ixR4wA62PhDsreftZPZ2/LSNA/G6bCf lPwivYSlwbLy/MKGQOM62gj1HO8O9DVipL7Royb18Zdbu9NZzCslUwChfNZVqg== 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=97d8da68519022038a9860dfcb44d8176eecce76 commit 97d8da68519022038a9860dfcb44d8176eecce76 Author: Yuri Victorovich AuthorDate: 2022-07-15 16:18:54 +0000 Commit: Yuri Victorovich CommitDate: 2022-07-15 16:27:35 +0000 math/py-fenics-ffcx: New port: FEniCS Form Compiler for finite element forms --- math/Makefile | 1 + math/py-fenics-ffcx/Makefile | 25 +++++++++++++++++++++++++ math/py-fenics-ffcx/distinfo | 3 +++ math/py-fenics-ffcx/files/patch-setup.cfg | 11 +++++++++++ math/py-fenics-ffcx/pkg-descr | 12 ++++++++++++ 5 files changed, 52 insertions(+) diff --git a/math/Makefile b/math/Makefile index 70d1eb434ff2..c5dad53e8a57 100644 --- a/math/Makefile +++ b/math/Makefile @@ -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 diff --git a/math/py-fenics-ffcx/Makefile b/math/py-fenics-ffcx/Makefile new file mode 100644 index 000000000000..dfb77b8c0bb3 --- /dev/null +++ b/math/py-fenics-ffcx/Makefile @@ -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 diff --git a/math/py-fenics-ffcx/distinfo b/math/py-fenics-ffcx/distinfo new file mode 100644 index 000000000000..322d93149110 --- /dev/null +++ b/math/py-fenics-ffcx/distinfo @@ -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 diff --git a/math/py-fenics-ffcx/files/patch-setup.cfg b/math/py-fenics-ffcx/files/patch-setup.cfg new file mode 100644 index 000000000000..e47ea78d5aa4 --- /dev/null +++ b/math/py-fenics-ffcx/files/patch-setup.cfg @@ -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 diff --git a/math/py-fenics-ffcx/pkg-descr b/math/py-fenics-ffcx/pkg-descr new file mode 100644 index 000000000000..3153e59c3398 --- /dev/null +++ b/math/py-fenics-ffcx/pkg-descr @@ -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