Merge pull request #200203 from fabaff/ansible-doctor-bump
python310Packages.ansible-doctor: 1.4.5 -> 1.4.6
This commit is contained in:
commit
d257e3983d
|
@ -12,12 +12,13 @@
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, python-json-logger
|
, python-json-logger
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, ruamel-yaml
|
, ruamel-yaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansible-doctor";
|
pname = "ansible-doctor";
|
||||||
version = "1.4.5";
|
version = "1.4.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -26,11 +27,19 @@ buildPythonPackage rec {
|
||||||
owner = "thegeeklab";
|
owner = "thegeeklab";
|
||||||
repo = "ansible-doctor";
|
repo = "ansible-doctor";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Bqe5dqD9VEgkkIGtpkLnCf3KTziCYb5HQdMJaskALWE=";
|
hash = "sha256-76IYH9IWeHU+PAtpLFGT5f8oG2roY3raW0NC3KUnFls=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace 'version = "0.0.0"' 'version = "${version}"'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -50,17 +59,6 @@ buildPythonPackage rec {
|
||||||
rm $out/lib/python*/site-packages/LICENSE
|
rm $out/lib/python*/site-packages/LICENSE
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
|
||||||
--replace 'Jinja2 = "3.1.2"' 'Jinja2 = "*"' \
|
|
||||||
--replace 'anyconfig = "0.13.0"' 'anyconfig = "*"' \
|
|
||||||
--replace 'environs = "9.5.0"' 'environs = "*"' \
|
|
||||||
--replace 'jsonschema = "4.15.0"' 'jsonschema = "*"' \
|
|
||||||
--replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' \
|
|
||||||
--replace 'python-json-logger = "2.0.4"' 'python-json-logger = "*"'
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Module has no tests
|
# Module has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue