2023-09-08 13:01:06 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
2024-06-07 19:33:49 +03:00
|
|
|
|
2023-09-08 13:01:06 +03:00
|
|
|
versions:
|
|
|
|
github: aws-cloudformation/cfn-lint
|
2024-06-07 19:33:49 +03:00
|
|
|
|
2023-09-08 13:01:06 +03:00
|
|
|
dependencies:
|
2024-06-07 19:33:49 +03:00
|
|
|
pkgx.sh: 1
|
2023-09-08 13:01:06 +03:00
|
|
|
pyyaml.org: '*'
|
|
|
|
github.com/benjaminp/six: '*'
|
2024-06-07 19:33:49 +03:00
|
|
|
|
2023-09-08 13:01:06 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: '*'
|
2024-06-07 19:33:49 +03:00
|
|
|
python.org: ~3.11
|
2023-09-08 13:01:06 +03:00
|
|
|
script:
|
2024-06-07 19:33:49 +03:00
|
|
|
# wrong version shipped
|
|
|
|
- run: sed -i 's/__version__ = ".*"/__version__ = "{{version}}"/' version.py
|
|
|
|
working-directory: src/cfnlint
|
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
|
|
- bkpyvenv seal {{prefix}} cfn-lint
|
|
|
|
|
2023-09-08 13:01:06 +03:00
|
|
|
provides:
|
|
|
|
- bin/cfn-lint
|
2024-06-07 19:33:49 +03:00
|
|
|
|
2023-09-08 13:01:06 +03:00
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- cfn-lint test.yml
|
2024-06-07 19:33:49 +03:00
|
|
|
- cfn-lint -v | grep {{version}}
|