mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
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
|
||||
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 = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} setup.py test --addopts "--ignore=.eggs"
|
||||
${python.interpreter} setup.py test
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
@ -40,6 +40,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://progressbar-2.readthedocs.io/en/latest/";
|
||||
description = "Text progressbar library for python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ashgillman ];
|
||||
maintainers = with maintainers; [ ashgillman turion ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user