GNU bug report logs - #64291
[PATCH] gnu: Add python-scikit-fem.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Mon, 26 Jun 2023 00:45:01 UTC

Severity: normal

Tags: patch

Done: Vinicius Monego <monego <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add python-scikit-fem.
Date: Mon, 26 Jun 2023 00:43:39 +0000
* gnu/packages/python-science.scm (python-scikit-fem): New variable.
---
 gnu/packages/python-science.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 6bc2330a7d..bc5b701395 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -209,6 +209,33 @@ (define-public python-scikit-allel
 genetic variation data.")
     (license license:expat)))
 
+(define-public python-scikit-fem
+  (package
+    (name "python-scikit-fem")
+    (version "8.1.0")
+    (source (origin
+              (method git-fetch)        ; no tests in PyPI
+              (uri (git-reference
+                    (url "https://github.com/kinnala/scikit-fem")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1zpn0wpsvls5nkrav5a43z77yg9nc09dpyy9ri0dpmpm2ndh2mhs"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; Examples below require python-autograd and python-pyamg.
+     (list #:test-flags #~(list "-k" "not TestEx32 and not TestEx45")))
+    (propagated-inputs (list python-meshio python-numpy python-scipy))
+    (native-inputs (list python-pytest))
+    (home-page "https://scikit-fem.readthedocs.io/en/latest/")
+    (synopsis "Library for performing finite element assembly")
+    (description
+     "@code{scikit-fem} is a library for performing finite element assembly.
+Its main purpose is the transformation of bilinear forms into sparse matrices
+and linear forms into vectors.")
+    (license license:bsd-3)))
+
 (define-public python-scikit-fuzzy
   (package
     (name "python-scikit-fuzzy")
-- 
2.34.1





This bug report was last modified 1 year and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.