From 5c522a1abff0b60d3a3d526605ef41bbf354162e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 24 Aug 2025 17:49:23 +0200 Subject: [PATCH] gnu: python-fenics-ufl: Update to 2025.1.0. * gnu/packages/simulation.scm (python-fenics-ufl): Update to 2025.1.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Remove them. [native-inputs]: Add python-setuptools, python-wheel. [home-page, description]: Update. Signed-off-by: jgart --- gnu/packages/simulation.scm | 42 ++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index ff66647bc11..73ce62b6ccf 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -606,32 +606,26 @@ the complexity of that interface. Parallel support depends on the (define-public python-fenics-ufl (package (name "python-fenics-ufl") - (version "2019.1.0") + (version "2025.1.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "fenics-ufl" version)) - (sha256 - (base32 - "10dz8x3lm68x2w3kkqcjask38h0zkhhak26jdbkppr8g9y8wny7p")))) - (build-system python-build-system) - (inputs - (list python-numpy)) - (native-inputs - (list python-pytest)) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "py.test" "test")))))) - (home-page "https://bitbucket.org/fenics-project/ufl/") + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fenics/ufl") + (commit version))) + (file-name (git-file-name name version)) + (sha256 (base32 "1ybf6l2nn4ni4a77ad1f36nhd7ddcbbvyc5frdggsmcjdmds9bf3")))) + (build-system pyproject-build-system) + (inputs (list python-numpy)) + (native-inputs (list python-pytest python-setuptools python-wheel)) + (home-page "https://github.com/fenics/ufl") (synopsis "Unified language for form-compilers") - (description "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. + (description + "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.") (license license:lgpl3+)))