+localstack.cloud/cli -- The LocalStack CLI packaged using pyinstaller (#3718)

* +localstack.cloud/cli -- The LocalStack CLI packaged using pyinstaller

* +localstack.cloud/cli -- add missing build dependency gnu.org/binutils
This commit is contained in:
Tobias Germer 2023-10-19 15:57:44 +02:00 committed by GitHub
parent 4d25e4a402
commit 37bc4ba445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
# https://localstack.cloud/
distributable:
url: https://github.com/localstack/localstack-cli/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: localstack/localstack-cli
strip: /^v/
build:
dependencies:
python.org: ^3.11
gnu.org/make: "*"
gnu.org/binutils: "*"
script: |
make venv
make all
mkdir -p "{{ prefix }}"/bin
mv dist-bin/localstack "{{ prefix }}"/bin
provides:
- bin/localstack
test:
script:
test "$(localstack --version)" = {{version}}