From 4451725c60fd65c8d7ad5a7daeca1e625019a108 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 3 Jul 2025 20:53:57 +0100 Subject: gnu: python-colossus: Fix commit. The package was added in 90949015077fd230f9121a4e7c28c77de13491d7, where commit was mismatched with base32 hash. The hash 0lz4n4i4frgsdspmka4pk6q4zq6j1z37g5xx7pr3xzgl9qfiiad2 is valid and belongs to the source commit . Hash 0mfkgfp6f0ay6kndh7vk8l0g2ijr32k55x3pmj15lp9kd8k3ln4r was left from the package template based on python-coolest. * gnu/packages/astronomy.scm (python-colossus) [source]: Fix commit. [arguments] : Add 'pre-check. Change-Id: I6ee67e750ba65f881b6ab508d6094e4da7b8054d --- gnu/packages/astronomy.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 62198b162dc..2fd2c248bf0 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3043,7 +3043,7 @@ monochromatic sequential colormaps like @code{blue}, @code{green}, and (define-public python-colossus ;; There is no source distribution in PyPI and no version tags, use the ;; commit pointing to the version 1.3.8. - (let ((commit "0lz4n4i4frgsdspmka4pk6q4zq6j1z37g5xx7pr3xzgl9qfiiad2") + (let ((commit "e51408a3eaffef073da1df767160cb2441177cc0") (revision "0")) (package (name "python-colossus") @@ -3056,14 +3056,19 @@ monochromatic sequential colormaps like @code{blue}, @code{green}, and (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0mfkgfp6f0ay6kndh7vk8l0g2ijr32k55x3pmj15lp9kd8k3ln4r")))) + (base32 "0lz4n4i4frgsdspmka4pk6q4zq6j1z37g5xx7pr3xzgl9qfiiad2")))) (build-system pyproject-build-system) (arguments (list #:test-flags ;; TODO: Skip test files requiring not packaged lenstronomy. #~(list "--ignore=test/api/profiles/light_test.py" - "--ignore=test/api/profiles/mass_test.py"))) + "--ignore=test/api/profiles/mass_test.py") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) (native-inputs (list python-astropy-minimal python-jsonpickle -- cgit v1.2.3