mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: python-cfn-lint: Update to 0.65.0.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 0.65.0. [arguments]<#:phases>: Add 'skip-network-test. [propagated-inputs]: Add python-importlib-resources, python-jschema-to-python, python-sarif-om. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
56d8907c5f
commit
35c92a6324
1 changed files with 10 additions and 2 deletions
|
@ -711,7 +711,7 @@ (define-public python-cbor2
|
||||||
(define-public python-cfn-lint
|
(define-public python-cfn-lint
|
||||||
(package
|
(package
|
||||||
(name "python-cfn-lint")
|
(name "python-cfn-lint")
|
||||||
(version "0.54.3")
|
(version "0.65.0")
|
||||||
(home-page "https://github.com/aws-cloudformation/cfn-lint")
|
(home-page "https://github.com/aws-cloudformation/cfn-lint")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -721,11 +721,16 @@ (define-public python-cfn-lint
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"106qf19n2k6sdjkb4006aidibd24qqiw901c1613xgjpnyw4dyl6"))))
|
"1rfacp39jssrbchrzb49vwrqyzhx5v7jfcgngqnb9r7qfs4bwi3w"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'skip-network-test
|
||||||
|
(lambda _
|
||||||
|
;; This test requires networking.
|
||||||
|
(substitute* "test/unit/module/formatters/test_formatters.py"
|
||||||
|
(("def test_sarif_formatter") "def _test_sarif_formatter"))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
|
@ -745,11 +750,14 @@ (define-public python-cfn-lint
|
||||||
(list python-pydot python-mock))
|
(list python-pydot python-mock))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-aws-sam-translator
|
(list python-aws-sam-translator
|
||||||
|
python-importlib-resources
|
||||||
|
python-jschema-to-python
|
||||||
python-jsonpatch
|
python-jsonpatch
|
||||||
python-jsonschema
|
python-jsonschema
|
||||||
python-junit-xml
|
python-junit-xml
|
||||||
python-networkx
|
python-networkx
|
||||||
python-pyyaml
|
python-pyyaml
|
||||||
|
python-sarif-om
|
||||||
python-six))
|
python-six))
|
||||||
(synopsis "Validate CloudFormation templates")
|
(synopsis "Validate CloudFormation templates")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue