me
/
guix
Archived
1
0
Fork 0

gnu: python-cython: Use 'modify-phases'.

* gnu/packages/python.scm (python-cython)[arguments]: Use 'modify-phases'.
master
Efraim Flashner 2016-08-11 17:07:55 +03:00
parent dd22efef0a
commit b92f651be8
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 6 additions and 8 deletions

View File

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