diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 15:35:53 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 15:52:13 +0100 |
commit | 068654e0e9428634f6f9cb26b0868543c23e30ad (patch) | |
tree | 63283975b1528ea0693f1317dc57b835e38e7a3d | |
parent | f9f378224d72f20f9de9a86af4f8fa0848e5c52b (diff) |
gnu: python-sparse: Move to python-science.
* gnu/packages/python-xyz.scm (python-sparse): Move from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: I52b814e264aa2fe28adeaec46b868f2e3b8279ec
-rw-r--r-- | gnu/packages/python-science.scm | 39 | ||||
-rw-r--r-- | gnu/packages/python-xyz.scm | 38 |
2 files changed, 39 insertions, 38 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 561f4f0936..e0ddeb6e4c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2020-2025 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2021 Greg Hogan <code@greghogan.com> +;;; Copyright © 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> ;;; Copyright © 2021 Roel Janssen <roel@gnu.org> ;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com> ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net> @@ -3081,6 +3082,44 @@ its software deployment plugins.") Snakemake and its storage plugins.") (license license:expat))) +(define-public python-sparse + (package + (name "python-sparse") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sparse" version)) + (sha256 + (base32 + "0rp29gp82qwwkq210pzh2qmlqhi2007nb7p7nwqmrkgmjq6cwxjc")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-numba python-numpy python-scipy)) + (native-inputs + (list python-dask + python-pytest + python-pytest-cov + python-setuptools + python-setuptools-scm-next + python-wheel)) + (home-page "https://github.com/pydata/sparse/") + (synopsis "Library for multi-dimensional sparse arrays") + (description + "This package implements sparse arrays of arbitrary dimension on top of +@code{numpy} and @code{scipy.sparse}. Sparse array is a matrix in which most +of the elements are zero. @code{python-sparse} generalizes the +@code{scipy.sparse.coo_matrix} and @code{scipy.sparse.dok_matrix} layouts, but +extends beyond just rows and columns to an arbitrary number of dimensions. +Additionally, this project maintains compatibility with the +@code{numpy.ndarray} interface rather than the @code{numpy.matrix} interface +used in @code{scipy.sparse}. These differences make this project useful in +certain situations where @code{scipy.sparse} matrices are not well suited, but +it should not be considered a full replacement. It lacks layouts that are not +easily generalized like @dfn{compressed sparse row/column}(CSR/CSC) and +depends on @code{scipy.sparse} for some computations.") + (license license:bsd-3))) + (define-public python-tdda (package (name "python-tdda") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4aa8aa2330..3f5264ebcd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10598,44 +10598,6 @@ objects.") "This is a Python library for color math and conversions.") (license license:bsd-3))) -(define-public python-sparse - (package - (name "python-sparse") - (version "0.15.5") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sparse" version)) - (sha256 - (base32 - "0rp29gp82qwwkq210pzh2qmlqhi2007nb7p7nwqmrkgmjq6cwxjc")))) - (build-system pyproject-build-system) - (propagated-inputs - (list python-numba python-numpy python-scipy)) - (native-inputs - (list python-dask - python-pytest - python-pytest-cov - python-setuptools - python-setuptools-scm-next - python-wheel)) - (home-page "https://github.com/pydata/sparse/") - (synopsis "Library for multi-dimensional sparse arrays") - (description - "This package implements sparse arrays of arbitrary dimension on top of -@code{numpy} and @code{scipy.sparse}. Sparse array is a matrix in which most -of the elements are zero. @code{python-sparse} generalizes the -@code{scipy.sparse.coo_matrix} and @code{scipy.sparse.dok_matrix} layouts, but -extends beyond just rows and columns to an arbitrary number of dimensions. -Additionally, this project maintains compatibility with the -@code{numpy.ndarray} interface rather than the @code{numpy.matrix} interface -used in @code{scipy.sparse}. These differences make this project useful in -certain situations where @code{scipy.sparse} matrices are not well suited, but -it should not be considered a full replacement. It lacks layouts that are not -easily generalized like @dfn{compressed sparse row/column}(CSR/CSC) and -depends on @code{scipy.sparse} for some computations.") - (license license:bsd-3))) - (define-public python-spectra (package (name "python-spectra") |