distributable:
  url: https://github.com/asciinema/asciinema/archive/refs/tags/v{{version}}.tar.gz
  strip-components: 1

display-name: asciinema

versions:
  github: asciinema/asciinema/tags  # reads github tags from github

dependencies:
  python.org: ^3.12

build:
  script: python-venv.sh {{prefix}}/bin/asciinema

provides:
  - bin/asciinema

test:
  script:
    test "$(asciinema --version)" = "asciinema {{version}}"
