fix(docutils)

closes #5844
This commit is contained in:
Jacob Heider 2024-04-09 16:05:16 -04:00 committed by Jacob Heider
parent 482b457423
commit 576d004ab1

View file

@ -1,6 +1,9 @@
distributable: distributable:
url: https://downloads.sourceforge.net/project/docutils/docutils/{{version.marketing}}/docutils-{{version.marketing}}.tar.gz - url: https://downloads.sourceforge.net/project/docutils/docutils/{{version.marketing}}/docutils-{{version.marketing}}.tar.gz
strip-components: 1 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: versions:
url: https://sourceforge.net/projects/docutils/files/docutils/ url: https://sourceforge.net/projects/docutils/files/docutils/
@ -10,12 +13,16 @@ versions:
- /\/"/ - /\/"/
dependencies: dependencies:
python.org: ~3.11 pkgx.sh: ^1
build: build:
script: | dependencies:
python-venv.sh {{prefix}}/bin/docutils 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: provides:
- bin/docutils - bin/docutils
@ -24,6 +31,4 @@ test:
fixture: | fixture: |
- This is a bullet list. - This is a bullet list.
- Bullets can be "*", "+", or "-". - Bullets can be "*", "+", or "-".
script: docutils $FIXTURE test.html
script: |
docutils $FIXTURE test.html