gnu: python-colormath2: Fix tests.

* gnu/packages/python-xyz.scm (python-colormath2): Fix tests.
[source]: Switch to git-fetch.
[native-inputs]: Remove python-pytest; add python-nose2.

Change-Id: I969d0271cc9d7cdb9a662e0a007f2c895a331ace
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Hugo Buddelmeijer 2025-09-21 22:15:14 +02:00 committed by Sharlatan Hellseher
parent f63ac0979d
commit efe87a4dc3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11041,13 +11041,16 @@ objects.")
(version "3.0.3") (version "3.0.3")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "colormath2" version)) (uri (git-reference
(url "https://github.com/bkmgit/python-colormath2")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1yigkhvjgbl9nrlijn4iwcs6k7i5y58drix1331cd1hb9wzn35z7")))) (base32 "0xxhmmx1mzjggapjmpz8v166lj86xrkq7kak83akcirnq0pz9ihv"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(propagated-inputs (list python-networkx python-numpy)) (propagated-inputs (list python-networkx python-numpy))
(native-inputs (list python-pytest python-setuptools)) (native-inputs (list python-nose2 python-setuptools))
(home-page "https://github.com/bkmgit/python-colormath2") (home-page "https://github.com/bkmgit/python-colormath2")
(synopsis "Color math and conversion library") (synopsis "Color math and conversion library")
(description (description