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:
|
|
|
|
# python-venv.sh {{prefix}}/bin/docutils
|
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
|
|
- bkpyvenv seal {{prefix}} docutils
|
2023-03-15 00:38:09 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/docutils
|
|
|
|
|
|
|
|
test:
|
|
|
|
fixture: |
|
|
|
|
- This is a bullet list.
|
|
|
|
- Bullets can be "*", "+", or "-".
|
2024-04-09 23:05:16 +03:00
|
|
|
script: docutils $FIXTURE test.html
|