2023-03-15 00:38:09 +03:00
|
|
|
distributable:
|
2024-04-09 23:05:16 +03:00
|
|
|
- url: https://downloads.sourceforge.net/project/docutils/docutils/{{version.marketing}}/docutils-{{version.marketing}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
# 0.21 named its source distribution oddly
|
|
|
|
- url: https://downloads.sourceforge.net/project/docutils/docutils/{{version.marketing}}/docutils-{{version.marketing}}.post1.tar.gz
|
|
|
|
strip-components: 1
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://sourceforge.net/projects/docutils/files/docutils/
|
|
|
|
match: /docutils\/\d+\.\d+(\.\d+)?\/"/
|
|
|
|
strip:
|
|
|
|
- /docutils\//
|
|
|
|
- /\/"/
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
dependencies:
|
2024-04-09 23:05:16 +03:00
|
|
|
pkgx.sh: ^1
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
build:
|
2024-04-09 23:05:16 +03:00
|
|
|
dependencies:
|
|
|
|
python.org: ~3.11
|
|
|
|
script:
|
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
2024-06-30 21:32:08 +03:00
|
|
|
- bkpyvenv seal {{prefix}} $BINS
|
|
|
|
env:
|
|
|
|
BINS:
|
|
|
|
- docutils
|
|
|
|
- rst2html
|
|
|
|
- rst2html4
|
|
|
|
- rst2html5
|
|
|
|
- rst2latex
|
|
|
|
- rst2man
|
|
|
|
- rst2odt
|
|
|
|
- rst2pseudoxml
|
|
|
|
- rst2s5
|
|
|
|
- rst2xetex
|
|
|
|
- rst2xml
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/docutils
|
2024-06-30 21:32:08 +03:00
|
|
|
- bin/rst2html
|
|
|
|
- bin/rst2html4
|
|
|
|
- bin/rst2html5
|
|
|
|
- bin/rst2latex
|
|
|
|
- bin/rst2man
|
|
|
|
- bin/rst2odt
|
|
|
|
- bin/rst2pseudoxml
|
|
|
|
- bin/rst2s5
|
|
|
|
- bin/rst2xetex
|
|
|
|
- bin/rst2xml
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
fixture: |
|
|
|
|
- This is a bullet list.
|
|
|
|
- Bullets can be "*", "+", or "-".
|
2024-04-09 23:05:16 +03:00
|
|
|
script: docutils $FIXTURE test.html
|