mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
a9c4623960
commit
f66fba226b
|
@ -1,20 +1,31 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz
|
url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: aws-cloudformation/cfn-lint
|
github: aws-cloudformation/cfn-lint
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
python.org: ~3.11
|
pkgx.sh: 1
|
||||||
pyyaml.org: '*'
|
pyyaml.org: '*'
|
||||||
github.com/benjaminp/six: '*'
|
github.com/benjaminp/six: '*'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org: '*'
|
rust-lang.org: '*'
|
||||||
|
python.org: ~3.11
|
||||||
script:
|
script:
|
||||||
- python-venv.sh {{prefix}}/bin/cfn-lint
|
# 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:
|
provides:
|
||||||
- bin/cfn-lint
|
- bin/cfn-lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- cfn-lint test.yml
|
- cfn-lint test.yml
|
||||||
- cfn-lint -v | grep {{version}}
|
- cfn-lint -v | grep {{version}}
|
||||||
|
|
Loading…
Reference in a new issue