python310Packages.ansible-later: 2.0.23 -> 3.0.1
Diff: https://github.com/thegeeklab/ansible-later/compare/refs/tags/v2.0.23...v3.0.1 Changelog: https://github.com/thegeeklab/ansible-later/releases/tag/v3.0.1
This commit is contained in:
parent
66a0a3842c
commit
be8d3f7142
@ -14,6 +14,7 @@
|
|||||||
, pytest-mock
|
, pytest-mock
|
||||||
, python-json-logger
|
, python-json-logger
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, toolz
|
, toolz
|
||||||
@ -23,7 +24,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ansible-later";
|
pname = "ansible-later";
|
||||||
version = "2.0.23";
|
version = "3.0.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -32,23 +33,29 @@ buildPythonPackage rec {
|
|||||||
owner = "thegeeklab";
|
owner = "thegeeklab";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-FQnyWC7d9h8Ya2BlaTGTrNXkHtJJLdeNL7qXP7scLFA=";
|
hash = "sha256-pYNL9G4A45IE6hZcihPICYfOzd5hH6Xqy0EYyBajbxQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
--replace 'version = "0.0.0"' 'version = "${version}"' \
|
||||||
--replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \
|
--replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" ""
|
||||||
--replace 'PyYAML = "6.0"' 'PyYAML = "*"' \
|
|
||||||
--replace 'unidiff = "0.7.3"' 'unidiff = "*"' \
|
|
||||||
--replace 'jsonschema = "' 'jsonschema = "^' \
|
|
||||||
--replace 'python-json-logger = "' 'python-json-logger = "^' \
|
|
||||||
--replace 'toolz = "0.11.2' 'toolz = "*' \
|
|
||||||
--replace 'yamllint = "' 'yamllint = "^'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"flake8"
|
||||||
|
"jsonschema"
|
||||||
|
"pathspec"
|
||||||
|
"python-json-logger"
|
||||||
|
"pyyaml"
|
||||||
|
"toolz"
|
||||||
|
"unidiff"
|
||||||
|
"yamllint"
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user