ansible-lint: 4.2.0 -> 4.3.5
This commit is contained in:
parent
8781030dfa
commit
8218431da9
@ -4,30 +4,31 @@
|
|||||||
, isPy27
|
, isPy27
|
||||||
, ansible
|
, ansible
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, six
|
|
||||||
, nose
|
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, ruamel_yaml
|
, ruamel_yaml
|
||||||
, pathlib2
|
, rich
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytestcov
|
||||||
|
, pytest_xdist
|
||||||
|
, git
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansible-lint";
|
pname = "ansible-lint";
|
||||||
version = "4.2.0";
|
version = "4.3.5";
|
||||||
# pip is not able to import version info on raumel.yaml
|
# pip is not able to import version info on raumel.yaml
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "eb925d8682d70563ccb80e2aca7b3edf84fb0b768cea3edc6846aac7abdc414a";
|
sha256 = "0mjn0drw3cx4pfl9qll5j7wib5r8msihs5yl8ri9fkfcbz7k1hmy";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ pyyaml six ansible ruamel_yaml ]
|
propagatedBuildInputs = [ pyyaml ansible ruamel_yaml rich ];
|
||||||
++ lib.optionals isPy27 [ pathlib2 ];
|
checkInputs = [ pytestCheckHook pytestcov pytest_xdist git ];
|
||||||
checkInputs = [ nose ];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs bin/ansible-lint
|
patchShebangs bin/ansible-lint
|
||||||
@ -42,7 +43,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PATH=$out/bin:$PATH nosetests test
|
pytest -k 'not test_run_playbook_github and not test_run_single_role_path_no_trailing_slash_script'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user