mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
f66fba226b
closes #6366
32 lines
702 B
YAML
32 lines
702 B
YAML
distributable:
|
|
url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: aws-cloudformation/cfn-lint
|
|
|
|
dependencies:
|
|
pkgx.sh: 1
|
|
pyyaml.org: '*'
|
|
github.com/benjaminp/six: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: '*'
|
|
python.org: ~3.11
|
|
script:
|
|
# 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
|
|
|
|
provides:
|
|
- bin/cfn-lint
|
|
|
|
test:
|
|
script:
|
|
- cfn-lint test.yml
|
|
- cfn-lint -v | grep {{version}}
|