3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.clint: disable tests, fix build

Tests are no longer compatible with setuptools>=58
This commit is contained in:
Jonathan Ringer 2022-01-18 13:47:41 -08:00 committed by Martin Weinelt
parent b3ccdb92c6
commit 73d4782ed8

View file

@ -22,12 +22,18 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8";
propagatedBuildInputs = [ pillow blessings args ];
# nose-progressive and clint are not actively maintained
# no longer compatible as behavior demand 2to3, which was removed
# in setuptools>=58
doCheck = false;
checkInputs = [ mock nose nose_progressive pkgs.glibcLocales ];
checkPhase = ''
${python.interpreter} test_clint.py
'';
buildInputs = [ mock nose nose_progressive pkgs.glibcLocales ];
propagatedBuildInputs = [ pillow blessings args ];
pythonImportsCheck = [ "clint" ];
meta = with lib; {
homepage = "https://github.com/kennethreitz/clint";