pantry/projects/aws.amazon.com/cli/package.yml
Max Howell 17cec0aae1
aws/cli needs ffi
Our tests don’t expose this since our build env comes with ffi and all our test envs had the same ffi. But ubuntu 2023 has a bumped version, hence I discovered it.

/cc @jheider
2023-06-07 08:20:04 -04:00

33 lines
888 B
YAML

distributable:
url: https://github.com/aws/aws-cli/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: aws/aws-cli/tags
dependencies:
python.org: ">=3.7"
sourceware.org/libffi: ^3
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: "*"
rust-lang.org: ">=1.48.0" # needed for cryptography
rust-lang.org/cargo: "*"
script: |
python-venv.sh {{prefix}}/bin/aws
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: |
# Pretty much anything else appears to require AWS credentials
aws --version
provides:
- bin/aws