gnu: python-ginga: Set HOME for sanity check.
* gnu/packages/astronomy.scm (python-ginga) [arguments] <#:phases>: Add 'set-home phase. Change-Id: I7fc9b043ae8ac465645215dabc9d8643b8e08fe2master
parent
1968ad4036
commit
b4306b66fd
gnu/packages
|
@ -723,7 +723,13 @@ series in Python.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.cfg"
|
(substitute* "setup.cfg"
|
||||||
;; packaging>=23.1
|
;; 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
|
(propagated-inputs
|
||||||
(list opencv
|
(list opencv
|
||||||
python-astropy
|
python-astropy
|
||||||
|
|
Reference in New Issue