python310Packages.ansible-doctor: 1.4.1 -> 1.4.4

Clean up some version replacements that are no longer necessary, updated
ones that cannot be, and added a new one on pathspec.
This commit is contained in:
Theodore Ni 2022-09-16 16:56:58 -07:00
parent 54b441e0d3
commit 4c6cfe61e6
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "ansible-doctor";
version = "1.4.1";
version = "1.4.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "thegeeklab";
repo = "ansible-doctor";
rev = "refs/tags/v${version}";
hash = "sha256-kfBEV3PXU+C7FD9xiBMvdamb3b2KXp+Qi23/xUnoXHM=";
hash = "sha256-blCBlSCp7W6tlCa5381ex7yq37iY9v6u7ITHmJEUxl0=";
};
nativeBuildInputs = [
@ -52,13 +52,9 @@ buildPythonPackage rec {
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.6.0"' 'jsonschema = "*"' \
--replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' \
--replace 'python-json-logger = "2.0.2"' 'python-json-logger = "*"'
--replace 'jsonschema = "4.15.0"' 'jsonschema = "*"' \
--replace 'nested-lookup = "0.2.25"' 'nested-lookup = "*"' \
--replace 'pathspec = "0.10.1"' 'pathspec = "*"'
'';
# Module has no tests