[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/17: gnu: Add python-orthopy.
From: |
guix-commits |
Subject: |
14/17: gnu: Add python-orthopy. |
Date: |
Mon, 4 Dec 2023 16:50:35 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit d3ed7bb5e311502d43ccca95ef9032dcde76c911
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sat Nov 4 15:02:38 2023 +0000
gnu: Add python-orthopy.
* gnu/packages/maths.scm (python-orthopy): New variable.
Change-Id: I75e528f30d285666b8012a9cbc5cbb7e28aaf764
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index c13be6feb1..9363c536c2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -174,6 +174,7 @@
#:use-module (gnu packages scheme)
#:use-module (gnu packages serialization)
#:use-module (gnu packages shells)
+ #:use-module (gnu packages simulation)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages swig)
@@ -3716,6 +3717,47 @@ monomials over such volumes in a fast, numerically
stable way, using
recurrence relations.")
(license license:gpl3+)))
+(define-public python-orthopy
+ (package
+ (name "python-orthopy")
+ (version "0.9.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/diego-hayashi/orthopy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00s2rwjdlq38zkf7wl1gvm2aw057r30266lkzfxkrfzr4i705xnq"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-importlib-metadata
+ python-ndim
+ python-numpy
+ python-sympy))
+ (native-inputs (list ;python-cplot ;only used in deselected tests
+ python-matplotx
+ python-meshio
+ python-meshzoo
+ python-pytest
+ python-scipy))
+ (arguments
+ (list
+ #:test-flags
+ ;; These tests fails with unexpected keyword arguments
+ ;; in calls to cplot.
+ #~(list "--deselect" "tests/test_u3.py::test_write_single"
+ "--deselect" "tests/test_u3.py::test_write_tree")))
+ (home-page "https://github.com/diego-hayashi/orthopy")
+ (synopsis "Tools for orthogonal polynomials, Gaussian quadrature")
+ (description "@code{orthopy} provides various orthogonal polynomial
+classes for lines, triangles, quadrilaterals, disks, spheres, hexahedra,
+and n-cubes. All computations are done using numerically stable
+recurrence schemes. Furthermore, all functions are fully vectorized and
+can return results in exact arithmetic.")
+ (license license:gpl3+)))
+
(define-public slepc
(package
(name "slepc")
- branch master updated (33f9d3cc36 -> 3178b1a442), guix-commits, 2023/12/04
- 02/17: substitute: Do not exit when failing to find a nar., guix-commits, 2023/12/04
- 04/17: gnu: abseil-cpp: Update to 20230802.1., guix-commits, 2023/12/04
- 03/17: gnu: wxwidgets: Update to 3.2.3., guix-commits, 2023/12/04
- 06/17: gnu: Add python-meshzoo., guix-commits, 2023/12/04
- 07/17: gnu: Add python-matplotx., guix-commits, 2023/12/04
- 08/17: gnu: Add python-npx., guix-commits, 2023/12/04
- 10/17: gnu: Add python-perfplot., guix-commits, 2023/12/04
- 14/17: gnu: Add python-orthopy.,
guix-commits <=
- 15/17: gnu: Add python-quadpy., guix-commits, 2023/12/04
- 05/17: gnu: beep: Add phase install-rules., guix-commits, 2023/12/04
- 09/17: gnu: Add python-cplot., guix-commits, 2023/12/04
- 13/17: gnu: Add python-ndim., guix-commits, 2023/12/04
- 01/17: daemon: Simplify “empty status” substitute error message., guix-commits, 2023/12/04
- 11/17: gnu: Add python-pyfma., guix-commits, 2023/12/04
- 12/17: gnu: Add python-accupy., guix-commits, 2023/12/04
- 17/17: monad-repl: Add REPL commands to inspect package arguments., guix-commits, 2023/12/04
- 16/17: doc: Recommend building in ‘guix shell -CPW’., guix-commits, 2023/12/04