diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-03 20:53:57 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-03 21:26:05 +0100 |
commit | 4451725c60fd65c8d7ad5a7daeca1e625019a108 (patch) | |
tree | d477e595931911437039c084d743a30e2e101609 | |
parent | 0ded9cf362b1cd77cc49a370ee8338ac4edb29d1 (diff) |
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
<https://bitbucket.org/bdiemer/colossus/commits/e51408a3eaffef073da1df767160cb2441177cc0>.
Hash 0mfkgfp6f0ay6kndh7vk8l0g2ijr32k55x3pmj15lp9kd8k3ln4r was left from
the package template based on python-coolest.
* gnu/packages/astronomy.scm (python-colossus) [source]: Fix commit.
[arguments] <phases>: Add 'pre-check.
Change-Id: I6ee67e750ba65f881b6ab508d6094e4da7b8054d
-rw-r--r-- | gnu/packages/astronomy.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 62198b162d..2fd2c248bf 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 |