gnu: Cython: Update to 0.28.4.

* gnu/packages/python.scm (python-cython, python2-cython): Update to 0.28.4.
[arguments]: Use invoke.
This commit is contained in:
Leo Famulari 2018-06-12 16:03:43 -04:00 committed by Ricardo Wurmus
parent d3028f5b27
commit ccdc1690bd
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 3 deletions

View File

@ -2764,14 +2764,14 @@ and is very extensible.")
(define-public python-cython (define-public python-cython
(package (package
(name "python-cython") (name "python-cython")
(version "0.27") (version "0.28.4")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Cython" version)) (uri (pypi-uri "Cython" version))
(sha256 (sha256
(base32 (base32
"02y0pp1nx77b8s1mpxc6da2dccl6wd31pp4ksi9via479qcvacmr")))) "0imw9s2rbrh32clbl10csnwmig9p3nzkrd2baxxxfmnrsc42pb3n"))))
(build-system python-build-system) (build-system python-build-system)
;; we need the full python package and not just the python-wrapper ;; we need the full python package and not just the python-wrapper
;; because we need libpython3.3m.so ;; because we need libpython3.3m.so
@ -2784,7 +2784,7 @@ and is very extensible.")
;; some tests require access to "$HOME/.cython" ;; some tests require access to "$HOME/.cython"
(lambda _ (setenv "HOME" "/tmp") #t)) (lambda _ (setenv "HOME" "/tmp") #t))
(replace 'check (replace 'check
(lambda _ (zero? (system* "python" "runtests.py" "-vv"))))))) (lambda _ (invoke "python" "runtests.py" "-vv"))))))
(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