void-packages/srcpkgs/python3-Sphinx/template
2020-07-10 21:35:45 +07:00

32 lines
1 KiB
Bash

# Template file for 'python3-Sphinx'
pkgname=python3-Sphinx
version=3.1.2
revision=1
archs=noarch
wrksrc=Sphinx-${version}
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Jinja2 python3-docutils python3-Pygments
python3-snowballstemmer python3-Babel python3-alabaster python3-imagesize
python3-requests python3-packaging python3-sphinxcontrib-applehelp
python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp
python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp
python3-sphinxcontrib-serializinghtml"
checkdepends="$depends python3-html5lib python3-mypy ImageMagick gettext
python3-pytest"
short_desc="Python 3 documentation generator"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause"
homepage="http://sphinx-doc.org"
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
checksum=b9daeb9b39aa1ffefc2809b43604109825300300b987a24f45976c001ba1a8fd
conflicts="python-Sphinx>=0"
do_check() {
PYTHONPATH=$(pwd)/build/lib pytest
}
post_install() {
vlicense LICENSE
}