mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
576d004ab1
closes #5844
35 lines
938 B
YAML
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
|