Subject: [PATCH 5/7] gnu: Remove python-fenics-dijitso.

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

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

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

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 5aef3da133..b32bf997df 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -554,56 +554,6 @@ (define-public esmini
 some support for generating and analysing traffic scenarios..")
     (license license:mpl2.0)))
 
-(define-public python-fenics-dijitso
-  (package
-    (name "python-fenics-dijitso")
-    (version "2019.1.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "fenics-dijitso" version))
-       (sha256
-        (base32 "0lhqsq8ypdak0ahr2jnyvg07yrqp6wicjxi6k56zx24wp3qg60sc"))))
-    (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'build 'mpi-setup
-            #$%openmpi-setup)
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (setenv "HOME" "/tmp")
-                (with-directory-excursion "test"
-                  ;; Disable parallel tests to avoid race condition.  See
-                  ;; https://github.com/pytest-dev/pytest-cov/issues/237.
-                  (substitute* "runtests.sh"
-                    (("for p in 1 4 8 16; do") "for p in 1; do"))
-                  (invoke "./runtests.sh"))))))))
-    (native-inputs
-     (list python-pytest
-           python-pytest-cov
-           python-setuptools
-           python-wheel))
-    (inputs
-     (list openmpi python-numpy))
-    (propagated-inputs
-     (list python-mpi4py))
-    (home-page "https://bitbucket.org/fenics-project/dijitso/")
-    (synopsis "Distributed just-in-time building of shared libraries")
-    (description
-     "Dijitso provides a core component of the @code{FEniCS} framework,
-namely the just-in-time compilation of C++ code that is generated from
-Python modules.  It is called from within a C++ library, using ctypes
-to import the dynamic shared library directly.
-
-As long as the compiled code can provide a simple factory function to
-a class implementing a predefined C++ interface, there is no limit to
-the complexity of that interface.  Parallel support depends on the
-@code{mpi4py} interface.")
-    (license license:lgpl3+)))
-
 (define-public python-fenics-ufl
   (package
     (name "python-fenics-ufl")
-- 
2.49.0