mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python2-numpy: Do not inherit native-inputs.
* gnu/packages/python-xyz.scm (python2-numpy)[native-inputs]: Do not inherit from Python 3 variant; use only python2-cython, python2-pytest, and gfortran. [arguments]: Add phase 'delete-failing-test.
This commit is contained in:
parent
36f18626a9
commit
ec4892c742
1 changed files with 13 additions and 1 deletions
|
@ -5358,7 +5358,19 @@ capabilities.")
|
||||||
version "/numpy-" version ".tar.gz"))
|
version "/numpy-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0lg1cycxzi4rvvrd5zxinpdz0ni792fpx6xjd75z1923zcac8qrb")))))))
|
"0lg1cycxzi4rvvrd5zxinpdz0ni792fpx6xjd75z1923zcac8qrb"))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments numpy)
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(add-after 'unpack 'delete-failing-test
|
||||||
|
(lambda _
|
||||||
|
;; There's just one failing test here.
|
||||||
|
(delete-file "numpy/linalg/tests/test_linalg.py")))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python-cython" ,python2-cython)
|
||||||
|
("python-pytest" ,python2-pytest)
|
||||||
|
("gfortran" ,gfortran))))))
|
||||||
|
|
||||||
;; Needed by python-numba, see https://github.com/numba/numba/issues/7176
|
;; Needed by python-numba, see https://github.com/numba/numba/issues/7176
|
||||||
(define-public python-numpy-1.20
|
(define-public python-numpy-1.20
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue