pantry/projects/aws.amazon.com/sam/package.yml
Andrii Riabchenko 226c3d07cc new file: projects/aws.amazon.com/sam/package.yml
new file:   projects/aws.amazon.com/sam/template.yml
2024-03-13 14:31:01 -04:00

25 lines
526 B
YAML

distributable:
url: https://github.com/aws/aws-sam-cli/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: aws/aws-sam-cli
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ^3.11
rust-lang.org: '*'
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} sam
provides:
- bin/sam
test:
- sam --version | grep {{version}}
- sam validate --region us-east-1 2>&1 | grep 'is a valid SAM Template'