mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: python-numpy: Update to 1.15.1.
* gnu/packages/python.scm (python-numpy): Update to 1.15.1. [native-inputs]: Replace PYTHON-NOSE with PYTHON-PYTEST. [arguments]: Set PATH before running tests. Use INVOKE.
This commit is contained in:
parent
c0fdc5a53d
commit
d7c82e8e03
1 changed files with 8 additions and 5 deletions
|
@ -2807,7 +2807,7 @@ (define-public python2-rpython
|
||||||
(define-public python-numpy
|
(define-public python-numpy
|
||||||
(package
|
(package
|
||||||
(name "python-numpy")
|
(name "python-numpy")
|
||||||
(version "1.14.5")
|
(version "1.15.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -2816,14 +2816,14 @@ (define-public python-numpy
|
||||||
version "/numpy-" version ".tar.gz"))
|
version "/numpy-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0admjpkih63lm19zbbilq8ck4f6ny5kqi03dk3m6b2mnixsh4jhv"))))
|
"1yp75fkqk7abq3mrbqdf0pdmr2phkr2mnng0dbqqvvrmv7jwq71w"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("openblas" ,openblas)
|
`(("openblas" ,openblas)
|
||||||
("lapack" ,lapack)))
|
("lapack" ,lapack)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-cython" ,python-cython)
|
`(("python-cython" ,python-cython)
|
||||||
("python-nose" ,python-nose)
|
("python-pytest" ,python-pytest)
|
||||||
("gfortran" ,gfortran)))
|
("gfortran" ,gfortran)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -2868,9 +2868,12 @@ (define-public python-numpy
|
||||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||||
;; Make installed package available for running the tests
|
;; Make installed package available for running the tests
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
;; Make sure "f2py" etc is found.
|
||||||
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
|
||||||
|
":" (getenv "PATH")))
|
||||||
(with-directory-excursion "/tmp"
|
(with-directory-excursion "/tmp"
|
||||||
(zero? (system* "python" "-c"
|
(invoke "python" "-c"
|
||||||
"import numpy; numpy.test(verbose=2)"))))))))
|
"import numpy; numpy.test(verbose=2)")))))))
|
||||||
(home-page "http://www.numpy.org/")
|
(home-page "http://www.numpy.org/")
|
||||||
(synopsis "Fundamental package for scientific computing with Python")
|
(synopsis "Fundamental package for scientific computing with Python")
|
||||||
(description "NumPy is the fundamental package for scientific computing
|
(description "NumPy is the fundamental package for scientific computing
|
||||||
|
|
Loading…
Reference in a new issue