Initial packaging of asciinema (#3832)

* Initial packaging of asciinema

Signed-off-by: Jacob Torrey <jacob@thinkst.com>

* Removed duplicated deps in test

Signed-off-by: Jacob Torrey <jacob@thinkst.com>

* Rename to the canonical asciinema.org for the main package

Signed-off-by: Jacob Torrey <jacob@thinkst.com>

---------

Signed-off-by: Jacob Torrey <jacob@thinkst.com>
This commit is contained in:
Jacob Torrey 2023-10-25 23:50:42 +02:00 committed by GitHub
parent 1d6ef49102
commit 84dfa483ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,21 @@
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}}"