mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
28 lines
584 B
YAML
28 lines
584 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
|
||
|
|
||
|
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
|