pantry/projects/docutils.org/package.yml
Jacob Heider 576d004ab1 fix(docutils)
closes #5844
2024-04-09 17:19:26 -04:00

35 lines
938 B
YAML

distributable:
- 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
versions:
url: https://sourceforge.net/projects/docutils/files/docutils/
match: /docutils\/\d+\.\d+(\.\d+)?\/"/
strip:
- /docutils\//
- /\/"/
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ~3.11
script:
# python-venv.sh {{prefix}}/bin/docutils
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} docutils
provides:
- bin/docutils
test:
fixture: |
- This is a bullet list.
- Bullets can be "*", "+", or "-".
script: docutils $FIXTURE test.html