mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
python310Packages.netcdf4: fix check phase
This commit is contained in:
parent
f69457a352
commit
6c87f5170b
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, pytest
|
||||
, python
|
||||
, setuptools
|
||||
, numpy
|
||||
, zlib
|
||||
@ -26,8 +26,6 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-A4KwL/aiiEGfb/7IXexA9FH0G4dVVHFUxXXd2fD0rlM=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
nativeBuildInputs = [ setuptools cython ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -41,12 +39,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test test/tst_*.py
|
||||
pushd test/
|
||||
NO_NET=1 NO_CDL=1 ${python.interpreter} run_all.py
|
||||
'';
|
||||
|
||||
# Tests need fixing.
|
||||
doCheck = false;
|
||||
|
||||
# Variables used to configure the build process
|
||||
USE_NCCONFIG="0";
|
||||
HDF5_DIR = lib.getDev hdf5;
|
||||
|
Loading…
Reference in New Issue
Block a user