unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 64291@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#64291] [PATCH] gnu: Add python-scikit-fem.
Date: Mon, 26 Jun 2023 00:43:39 +0000	[thread overview]
Message-ID: <20230626004339.124208-1-monego@posteo.net> (raw)

* 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





             reply	other threads:[~2023-06-26  0:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-26  0:43 Vinicius Monego [this message]
2023-07-18 11:42 ` [bug#64291] [PATCH] gnu: Add python-scikit-fem Ludovic Courtès
2023-07-29 18:44   ` bug#64291: " Vinicius Monego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230626004339.124208-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=64291@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).