gnu: python-spectra: Update to 0.1.0.

* gnu/packages/python-xyz.scm (python-spectra): Update to 0.1.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Replace python-colormath by python-colormath2.
[native-inputs]: Add python-pytest, python-setuptools, python-wheel.

Change-Id: Ia0a5e817fd8b927d7a0d728fb552614eae7d22c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-12 15:52:21 +02:00 committed by Sharlatan Hellseher
parent 3e2902485c
commit f604ac060e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -10799,24 +10799,18 @@ objects.")
(define-public python-spectra
(package
(name "python-spectra")
(version "0.0.11")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "spectra" version))
(sha256
(base32
"1f322x914bhkg6r5gv1vmnir3iy0k5kih0fd2gp3rdkw32jn5cwf"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "nosetests" "-v"))))))
(base32 "0gva48a1rn5yxj6dgy76dnndqaf09k5q2l9r41h2a66b84rf6c3a"))))
(build-system pyproject-build-system)
(propagated-inputs
(list python-colormath))
(list python-colormath2))
(native-inputs
(list python-nose))
(list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/jsvine/spectra")
(synopsis "Color scales and color conversion")
(description