# 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/

dependencies:
  pkgx.sh: ^1

build:
  dependencies:
    python.org: ^3.11
  script:
    - bkpyvenv stage {{prefix}} {{version}}
    - ${{prefix}}/venv/bin/pip install -r requirements.txt
    - bkpyvenv seal {{prefix}} localstack

provides:
  - bin/localstack

test:
  - localstack --version
  - test "$(localstack --version)" = {{version}}
