pythonPackages.numpy: 1.11.2 -> 1.11.3

Furthermore, we fix f2py and use NOSE_EXCLUDE to disable tests.
This commit is contained in:
Frederik Rietdijk
2016-12-24 12:06:28 +01:00
parent 6cb2f76529
commit d4c7f58301
2 changed files with 11 additions and 8 deletions

View File

@@ -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";