python3Packages.python-jenkins: remove deprecated unittest2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
14ff007ff6
commit
56e02acbb2
|
@ -10,8 +10,8 @@
|
||||||
, multi_key_dict
|
, multi_key_dict
|
||||||
, testscenarios
|
, testscenarios
|
||||||
, requests
|
, requests
|
||||||
, unittest2
|
|
||||||
, requests-mock
|
, requests-mock
|
||||||
|
, stestr
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -33,16 +33,16 @@ buildPythonPackage rec {
|
||||||
buildInputs = [ mock ];
|
buildInputs = [ mock ];
|
||||||
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
|
propagatedBuildInputs = [ pbr pyyaml setuptools six multi_key_dict requests ];
|
||||||
|
|
||||||
checkInputs = [ unittest2 testscenarios requests-mock ];
|
checkInputs = [ stestr testscenarios requests-mock ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
unit2
|
stestr run
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python bindings for the remote Jenkins API";
|
description = "Python bindings for the remote Jenkins API";
|
||||||
homepage = "https://pypi.python.org/pypi/python-jenkins";
|
homepage = "https://pypi.python.org/pypi/python-jenkins";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ gador ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue