From 84dfa483ee38d47b4e86d3586a14f129bc97d9f0 Mon Sep 17 00:00:00 2001 From: Jacob Torrey Date: Wed, 25 Oct 2023 23:50:42 +0200 Subject: [PATCH] Initial packaging of asciinema (#3832) * Initial packaging of asciinema Signed-off-by: Jacob Torrey * Removed duplicated deps in test Signed-off-by: Jacob Torrey * Rename to the canonical asciinema.org for the main package Signed-off-by: Jacob Torrey --------- Signed-off-by: Jacob Torrey --- projects/asciinema.org/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/asciinema.org/package.yml diff --git a/projects/asciinema.org/package.yml b/projects/asciinema.org/package.yml new file mode 100644 index 00000000..ceb55a54 --- /dev/null +++ b/projects/asciinema.org/package.yml @@ -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}}"