gnu: python-cython: Use 'modify-phases'.
* gnu/packages/python.scm (python-cython)[arguments]: Use 'modify-phases'.master
parent
dd22efef0a
commit
b92f651be8
|
@ -3014,14 +3014,12 @@ is designed to have a low barrier to entry.")
|
||||||
`(("python" ,python)))
|
`(("python" ,python)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(alist-cons-before
|
(modify-phases %standard-phases
|
||||||
'check 'set-HOME
|
(add-before 'check 'set-HOME
|
||||||
;; some tests require access to "$HOME/.cython"
|
;; some tests require access to "$HOME/.cython"
|
||||||
(lambda* _ (setenv "HOME" "/tmp"))
|
(lambda _ (setenv "HOME" "/tmp")))
|
||||||
(alist-replace
|
(replace 'check
|
||||||
'check
|
(lambda _ (zero? (system* "python" "runtests.py" "-vv")))))))
|
||||||
(lambda _ (zero? (system* "python" "runtests.py" "-vv")))
|
|
||||||
%standard-phases))))
|
|
||||||
(home-page "http://cython.org/")
|
(home-page "http://cython.org/")
|
||||||
(synopsis "C extensions for Python")
|
(synopsis "C extensions for Python")
|
||||||
(description "Cython is an optimising static compiler for both the Python
|
(description "Cython is an optimising static compiler for both the Python
|
||||||
|
|
Reference in New Issue