From 3a6ae50cbdb34512163e62f7c42544ffe1ea3794 Mon Sep 17 00:00:00 2001 From: Joe DeCapo Date: Tue, 2 May 2023 21:41:27 -0500 Subject: [PATCH] +asciidoc --- .../asciidoc-py/asciidoc-py/package.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/github.com/asciidoc-py/asciidoc-py/package.yml diff --git a/projects/github.com/asciidoc-py/asciidoc-py/package.yml b/projects/github.com/asciidoc-py/asciidoc-py/package.yml new file mode 100644 index 00000000..267f7b0b --- /dev/null +++ b/projects/github.com/asciidoc-py/asciidoc-py/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/asciidoc-py/asciidoc-py/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: asciidoc-py/asciidoc-py + +dependencies: + docbook.org: '*' + python.org: 3.11 + gnu.org/source-highlight: '*' + +build: + python-venv.sh {{prefix}}/bin/asciidoc + +provides: + - bin/asciidoc + +test: + script: + echo 'Hello World!' > text.txt + asciidoc -b html5 -o test.html test.txt + test $(cat test.html) = '

Hello World!

'