gnu: python-ginga: Set HOME for sanity check.

* gnu/packages/astronomy.scm (python-ginga) [arguments] <#:phases>: Add
'set-home phase.

Change-Id: I7fc9b043ae8ac465645215dabc9d8643b8e08fe2
This commit is contained in:
Sharlatan Hellseher 2024-04-03 17:56:40 +01:00
parent 1968ad4036
commit b4306b66fd
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -723,7 +723,13 @@ series in Python.")
(lambda _
(substitute* "setup.cfg"
;; packaging>=23.1
((">=23.1") ">=21.3")))))))
((">=23.1") ">=21.3"))))
(add-before 'check 'set-home
(lambda _
;; Relax matplotlib warning: ... because the default path
;; (/homeless-shelter/.config/matplotlib) is not a writable
;; directory ...
(setenv "HOME" "/tmp"))))))
(propagated-inputs
(list opencv
python-astropy