pythonPackages.progressbar2: Fix checkPhase
This commit is contained in:
parent
80b6b9b706
commit
b79c4eca5c
@ -29,10 +29,10 @@ buildPythonPackage rec {
|
|||||||
pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
|
pytest sphinx flake8 pytestpep8 pytest-flakes pytestcov
|
||||||
pytestcache freezegun
|
pytestcache freezegun
|
||||||
];
|
];
|
||||||
# ignore tests on the nix wrapped setup.py and don't flake .eggs directory
|
# ignore tests on the nix wrapped setup.py
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
${python.interpreter} setup.py test --addopts "--ignore=.eggs"
|
${python.interpreter} setup.py test
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -40,6 +40,6 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
|
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
|
||||||
description = "Text progressbar library for python";
|
description = "Text progressbar library for python";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ashgillman ];
|
maintainers = with maintainers; [ ashgillman turion ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user