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

27 lines
592 B
YAML

distributable:
url: https://github.com/sphinx-doc/sphinx/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: sphinx-doc/sphinx
dependencies:
python.org: '>=3.8<3.12'
build: |
python-venv.sh {{prefix}}/bin/sphinx-build
cd "{{prefix}}"/bin
ln sphinx-build sphinx-apidoc
ln sphinx-build sphinx-autogen
ln sphinx-build sphinx-quickstart
provides:
- bin/sphinx-apidoc
- bin/sphinx-autogen
- bin/sphinx-build
- bin/sphinx-quickstart
test: |
sphinx-quickstart -pPorject -aAuthor -v1.0 -q .
sphinx-build . ./build
test -f build/index.html