diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-24 12:06:28 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-12-24 12:07:33 +0100 |
commit | d4c7f583017c66434aba907769809bec75a562e3 (patch) | |
tree | 77b161c38206957458b078c43d2558ab70dfe3e4 /pkgs/development/python-modules/numpy.nix | |
parent | 6cb2f765296b321351d57577e4abb6f6defa3981 (diff) | |
download | nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar.gz nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar.bz2 nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar.lz nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar.xz nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.tar.zst nixpkgs-d4c7f583017c66434aba907769809bec75a562e3.zip |
pythonPackages.numpy: 1.11.2 -> 1.11.3
Furthermore, we fix f2py and use NOSE_EXCLUDE to disable tests.
Diffstat (limited to 'pkgs/development/python-modules/numpy.nix')
-rw-r--r-- | pkgs/development/python-modules/numpy.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/numpy.nix b/pkgs/development/python-modules/numpy.nix index 14504d92543..16c919eb4b2 100644 --- a/pkgs/development/python-modules/numpy.nix +++ b/pkgs/development/python-modules/numpy.nix @@ -39,15 +39,18 @@ in buildPythonPackage (args // rec { runHook postCheck ''; + postInstall = '' + ln -s $out/bin/f2py* $out/bin/f2py + ''; + passthru = { blas = blas; }; - # The large file support test is disabled because it takes forever - # and can cause the machine to run out of disk space when run. - prePatch = '' - sed -i 's/test_large_file_support/donttest/' numpy/lib/tests/test_format.py - ''; + # Disable two tests + # - test_f2py: f2py isn't yet on path. + # - test_large_file_support: takes a long time and can cause the machine to run out of disk space + NOSE_EXCLUDE="test_f2py,test_large_file_support"; meta = { description = "Scientific tools for Python"; |