summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-31 16:28:59 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-31 18:18:33 +0200
commit0765fc944f327486540c3d03300d643bda9a1b6b (patch)
tree110fc829414367cf08a47662afa29bea4e424802
parent7dd55a26b1983c676a33b8938459dd6c4934d502 (diff)
python-xyz: Add python-array-api-extra.
* guix-science/packages/python-xyz.scm (python-array-api-extra): New variable.
-rw-r--r--guix-science/packages/python-xyz.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm
index 1863309..1ac5d8e 100644
--- a/guix-science/packages/python-xyz.scm
+++ b/guix-science/packages/python-xyz.scm
@@ -66,6 +66,36 @@ filesystem abstraction, convenience functions for creating loggers, or an
66application preference manager.") 66application preference manager.")
67 (license license:bsd-3))) 67 (license license:bsd-3)))
68 68
69(define-public python-array-api-extra
70 (package
71 (name "python-array-api-extra")
72 (version "0.9.2") ;compatible with python-array-api-compat@1.12
73 (source
74 (origin
75 (method git-fetch)
76 (uri (git-reference
77 (url "https://github.com/data-apis/array-api-extra")
78 (commit (string-append "v" version))))
79 (file-name (git-file-name name version))
80 (sha256
81 (base32 "0qmxpn693hnbzdzikb0ik48sjazp5ycv2q2cb5yjg7xi39lj601a"))))
82 (build-system pyproject-build-system)
83 (arguments
84 (list
85 #:tests? #f)) ;FIXME: requires pytest-thread-unsafe
86 (propagated-inputs (list python-array-api-compat))
87 (native-inputs (list python-hatchling))
88 (home-page "https://data-apis.org/array-api-extra/")
89 (synopsis "Extra array functions built on top of the array API standard")
90 (description
91 "This is a library housing extra array functions built on top of the Python
92array API standard. The intended users of this library are “array-consuming”
93libraries which are using array-api-compat to make their own library’s functions
94array-agnostic. In this library, they will find a set of tools which provide
95extra functionality on top of the array API standard, which other
96array-consuming libraries in a similar position have themselves found useful.")
97 (license license:expat)))
98
69(define-public python-bracex 99(define-public python-bracex
70 (package 100 (package
71 (name "python-bracex") 101 (name "python-bracex")