[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75015] [PATCH 20/38] gnu: python-cmyt: Update to 2.0.1.
From: |
Sharlatan Hellseher |
Subject: |
[bug#75015] [PATCH 20/38] gnu: python-cmyt: Update to 2.0.1. |
Date: |
Sat, 21 Dec 2024 20:22:40 +0000 |
* gnu/packages/astronomy.scm (python-cmyt): Update to 2.0.1.
[source]: Swap to git checkout containing tests.
[arguments]<phases>: Add 'relax-requirements.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatchling.
[description]: Adjust fill column.
Change-Id: I5eb5cf848c26e3fb9f16f7d611d06047387981e7
---
gnu/packages/astronomy.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 18894529c2..7e9b3e72d4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3732,28 +3732,39 @@ (define-public python-ci-watson
(define-public python-cmyt
(package
(name "python-cmyt")
- (version "2.0.0")
+ (version "2.0.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "cmyt" version))
+ (method git-fetch) ; no tests in the PyPI tarball
+ (uri (git-reference
+ (url "https://github.com/yt-project/cmyt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1zabmckr1z637pfqqvlkj0asfqqvx2x92163dby8x0c8yiqgdvjb"))))
+ (base32 "0d1szsgjd09ya53vx7g5ryz2jdxl19p9rvrm4xz8v53vbqrp18cv"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ ;; numpy>=1.26
+ ((">=1.26") ">=1.23")))))))
(native-inputs
(list python-colorspacious
python-pytest
python-pytest-mpl
- python-setuptools
- python-wheel))
+ python-hatchling))
(propagated-inputs
(list python-matplotlib
python-numpy))
(home-page "https://yt-project.org/")
(synopsis "Matplotlib colormaps from the yt project")
(description
- "This package provides a range of colormaps designed for scientific
-use with Matplotlib. It includes perceptually uniform sequential colormaps
such
+ "This package provides a range of colormaps designed for scientific use
+with Matplotlib. It includes perceptually uniform sequential colormaps such
as @code{abre}, @code{dusk}, @code{kepl}, and @code{octarine}, as well as
monochromatic sequential colormaps like @code{blue}, @code{green}, and
@code{red}, and others (@code{algae}, @code{pastel}, and @code{xray}).")
--
2.46.0
- [bug#75015] [PATCH 00/38] Astro update 2024/12, Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 03/38] gnu: Add julia-precompiletools., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 02/38] gnu: julia-dataapi: Update to 1.16.0., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 20/38] gnu: python-cmyt: Update to 2.0.1.,
Sharlatan Hellseher <=
- [bug#75015] [PATCH 06/38] gnu: Add julia-commonsolve., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 17/38] gnu: python-asdf: Update to 4.0.0., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 10/38] gnu: calceph: Update to 4.0.3., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 24/38] gnu: python-halotools: Update to 0.9.2., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 07/38] gnu: Add julia-compositionsbase., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 01/38] gnu: julia-preferences: Update to 1.4.3., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 15/38] gnu: python-astropy: Update to 6.1.7., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 26/38] gnu: python-pysiaf: Update to 0.24.1., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 16/38] gnu: python-asdf-standard: Adjust native inputs., Sharlatan Hellseher, 2024/12/21
- [bug#75015] [PATCH 35/38] gnu: python-specutils: Fix build., Sharlatan Hellseher, 2024/12/21