From efe87a4dc3c13017f8dd5986630ca66df9977834 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 21 Sep 2025 22:15:14 +0200 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index df60dac36ec6743ed34a018b3f5ce2a5c1fa0d29..a164e8134c80234e09218fb00d8954639ffe6efe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11041,13 +11041,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