mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+asciidoc
This commit is contained in:
parent
d60a5090f9
commit
3a6ae50cbd
1 changed files with 23 additions and 0 deletions
23
projects/github.com/asciidoc-py/asciidoc-py/package.yml
Normal file
23
projects/github.com/asciidoc-py/asciidoc-py/package.yml
Normal file
|
@ -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) = '<h2 id="_hello_world">Hello World!</h2>'
|
Loading…
Reference in a new issue