pantry/projects/docutils.org/package.yml
2023-10-03 11:23:56 -04:00

29 lines
581 B
YAML

distributable:
url: https://downloads.sourceforge.net/project/docutils/docutils/{{version.marketing}}/docutils-{{version.marketing}}.tar.gz
strip-components: 1
versions:
url: https://sourceforge.net/projects/docutils/files/docutils/
match: /docutils\/\d+\.\d+(\.\d+)?\/"/
strip:
- /docutils\//
- /\/"/
dependencies:
python.org: ~3.11
build:
script: |
python-venv.sh {{prefix}}/bin/docutils
provides:
- bin/docutils
test:
fixture: |
- This is a bullet list.
- Bullets can be "*", "+", or "-".
script: |
docutils $FIXTURE test.html