# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Future Linux Team pkgname=python-sphinx pkgver=8.1.3 pkgrel=1 pkgdesc="Python documentation generator" arch=('x86_64') url="http://www.sphinx-doc.org/" license=('BSD') depends=('python-alabaster' 'python-babel' 'python-docutils' 'python-imagesize' 'python-jinja2' 'python-packaging' 'python-pygments' 'python-requests' 'python-snowballstemmer' 'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml}) makedepends=('python-build' 'python-flit-core' 'python-installer') source=(https://github.com/sphinx-doc/sphinx/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(0fcc28999fe8e4fcc49a4ab01e3e987f6fbb3af32995db74e6fc8f8d01dcaaca) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --skip-dependency-check --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir=${pkgdir} dist/*.whl }