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 bf50016eae
commit e5e7af6c49
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -11065,13 +11065,16 @@ objects.")
(version "3.0.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "colormath2" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/bkmgit/python-colormath2")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1yigkhvjgbl9nrlijn4iwcs6k7i5y58drix1331cd1hb9wzn35z7"))))
(base32 "0xxhmmx1mzjggapjmpz8v166lj86xrkq7kak83akcirnq0pz9ihv"))))
(build-system pyproject-build-system)
(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")
(synopsis "Color math and conversion library")
(description