pantry/projects/aws.amazon.com/cli/package.yml

37 lines
962 B
YAML
Raw Normal View History

2023-02-28 00:48:29 +03:00
distributable:
url: https://github.com/aws/aws-cli/archive/{{version}}.tar.gz
strip-components: 1
display-name: aws/cli
2023-02-28 00:48:29 +03:00
versions:
github: aws/aws-cli/tags
dependencies:
sourceware.org/libffi: ^3
2024-01-05 00:17:27 +03:00
pkgx.sh: ^1
2023-02-28 00:48:29 +03:00
build:
dependencies:
2024-01-05 00:17:27 +03:00
rust-lang.org: '>=1.48.0' # needed for cryptography
rust-lang.org/cargo: '*'
python.org: '>=3.7<3.12'
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} aws
2023-02-28 00:48:29 +03:00
env:
# python includes are subdirectoried under the version
# frankly, python's versioning system causes a lot of
# issues for us despite its similarities to our own,
# due to versioning at the end of the path tree,
# instead of the beginning.
CPATH: $CPATH:{{deps.python.org.prefix}}/include/python{{deps.python.org.version.marketing}}
test:
2023-02-28 00:48:29 +03:00
# Pretty much anything else appears to require AWS credentials
aws --version
provides:
- bin/aws