Subject: [PATCH 4/7] gnu: Remove python-fenics-ffc.

From: Andreas Enge <[email-masked]>
Date: Mon, 31 Mar 2025 23:52:53 +0200

* gnu/packages/simulation.scm (python-fenics-ffc): Delete variable.

Change-Id: I4308e0e9a7232e320988962bd7a908f7c9d01a47
---
 gnu/packages/simulation.scm | 48 -------------------------------------
 1 file changed, 48 deletions(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index c5345c934f..5aef3da133 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -691,54 +691,6 @@ (define-public python-fenics-fiat
 FIAT is part of the FEniCS Project.")
     (license license:lgpl3+)))
 
-(define-public python-fenics-ffc
-  (package
-    (name "python-fenics-ffc")
-    (version "2019.1.0.post0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "fenics-ffc" version))
-        (sha256
-          (base32
-            "1f2a44ha65fg3a1prrbrsz4dgvibsv0j5c3pi2m52zi93bhwwgg9"))))
-    (build-system python-build-system)
-    (native-inputs
-     (list python-pytest))
-    (propagated-inputs
-     (list python-fenics-dijitso python-fenics-fiat python-fenics-ufl))
-    (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (setenv "HOME" (getcwd))
-             (with-directory-excursion "test"
-               ;; FIXME: the tests in subdirectory
-               ;; 'unit/ufc/finite_element' require the ffc_factory
-               ;; extension module.  This module, located in the 'libs'
-               ;; subdirectory, needs to be built and made accessible
-               ;; prior to running the tests.
-               (invoke "py.test" "unit/" "--ignore=unit/ufc/")
-               (with-directory-excursion "uflacs"
-                 (invoke "py.test" "unit/")))
-             #t)))))
-    (home-page "https://bitbucket.org/fenics-project/ffc/")
-    (synopsis "Compiler for finite element variational forms")
-    (description "The FEniCS Form Compiler (FFC) is a compiler for
-finite element variational forms.  From a high-level description of
-the form, 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.  FFC may be used either
-from the command line (by invoking the @code{ffc} command) or as a
-Python module (@code{import ffc}).
-
-FFC is part of the FEniCS Project.")
-    ;; There are two files released with a public domain licence;
-    ;; ufc.h and ufc_geometry.h, in subdirectory 'ffc/backends/ufc'.
-    (license (list license:public-domain license:lgpl3+))))
-
 (define-public fullswof-2d
   (let ((revision 505)
         (release "1.09.01"))
-- 
2.49.0