gnu: python-hy: Fix test suite.
* gnu/packages/python.scm (python-hy, python2-hy)[arguments]: Replace 'check' phase with custom command. [native-inputs]: Add python-coverage and python-nose.
This commit is contained in:
parent
8653c1d557
commit
15c37077bc
|
@ -8273,6 +8273,17 @@ with a new public API, and RPython support.")
|
|||
(base32
|
||||
"1msqv747iz12r73mz4qvsmlwkddwjvrahlrk7ysrcz07h7dsscxs"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Tests require write access to HOME.
|
||||
(setenv "HOME" "/tmp")
|
||||
(zero? (system* "nosetests")))))))
|
||||
(native-inputs
|
||||
`(("python-coverage" ,python-coverage)
|
||||
("python-nose" ,python-nose)))
|
||||
(propagated-inputs
|
||||
`(("python-astor" ,python-astor)
|
||||
("python-clint" ,python-clint)
|
||||
|
|
Loading…
Reference in New Issue