[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: Add python-numpoly.
From: |
guix-commits |
Subject: |
08/10: gnu: Add python-numpoly. |
Date: |
Sat, 30 Sep 2023 10:11:26 -0400 (EDT) |
monego pushed a commit to branch master
in repository guix.
commit 04b31ce1f84033dc2624f444b690656427c92288
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Sun Jul 30 11:21:12 2023 -0300
gnu: Add python-numpoly.
* gnu/packages/python-science.scm (python-numpoly): New variable.
---
gnu/packages/python-science.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 4a010b4127..36863a781d 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -630,6 +630,31 @@ Python module with the same interface, but (hopefully)
faster.")
written in C.")
(license license:bsd-2)))
+(define-public python-numpoly
+ (package
+ (name "python-numpoly")
+ (version "1.2.11")
+ (source (origin
+ (method git-fetch) ;; PyPI is missing some Pytest fixtures
+ (uri (git-reference
+ (url "https://github.com/jonathf/numpoly")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01g21v91f4d66xd0bvap0n6d6485w2fnq1636gx6h2s42550rlbd"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-importlib-metadata python-numpy))
+ (native-inputs (list python-pytest python-sympy))
+ (home-page "https://numpoly.readthedocs.io/en/master/")
+ (synopsis "Polynomials as a numpy datatype")
+ (description "Numpoly is a generic library for creating, manipulating and
+evaluating arrays of polynomials based on @code{numpy.ndarray objects}.")
+ ;; Tests fail with dtype mismatches on 32-bit architectures, suggesting
+ ;; that numpoly only supports 64 bit platforms.
+ (supported-systems '("x86_64-linux" "aarch64-linux" "powerpc64le-linux"))
+ (license license:bsd-2)))
+
(define-public python-baycomp
(package
(name "python-baycomp")
- branch master updated (ee5de9cdf2 -> 9f41aa021f), guix-commits, 2023/09/30
- 02/10: gnu: Add primesieve., guix-commits, 2023/09/30
- 03/10: gnu: Add cminpack., guix-commits, 2023/09/30
- 07/10: gnu: ceres: Propagate eigen and gflags., guix-commits, 2023/09/30
- 08/10: gnu: Add python-numpoly.,
guix-commits <=
- 09/10: gnu: Add python-chaospy., guix-commits, 2023/09/30
- 10/10: gnu: Add python-openturns., guix-commits, 2023/09/30
- 01/10: gnu: Add hmat., guix-commits, 2023/09/30
- 05/10: gnu: Add pagmo., guix-commits, 2023/09/30
- 04/10: gnu: Add bonmin., guix-commits, 2023/09/30
- 06/10: gnu: Add spectra., guix-commits, 2023/09/30