[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: python-cython: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
03/03: gnu: python-cython: Use 'modify-phases'. |
Date: |
Thu, 11 Aug 2016 19:45:49 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit b92f651be82f0398ee6982f1274e9047a3ed16d5
Author: Efraim Flashner <address@hidden>
Date: Thu Aug 11 17:07:55 2016 +0300
gnu: python-cython: Use 'modify-phases'.
* gnu/packages/python.scm (python-cython)[arguments]: Use 'modify-phases'.
---
gnu/packages/python.scm | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 76e3ff2..9d5ff74 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3014,14 +3014,12 @@ is designed to have a low barrier to entry.")
`(("python" ,python)))
(arguments
`(#:phases
- (alist-cons-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))))
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ ;; some tests require access to "$HOME/.cython"
+ (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