pkgname=python-sphinx pkgver=8.1.3 pkgrel=1 pkgdesc="Python documentation generator" arch=('x86_64') url="http://www.sphinx-doc.org" license=('(BSD-2-Clause') depends=( 'python-alabaster' 'python-babel' 'python-docutils' 'python-imagesize' 'python-jinja2' 'python-packaging' 'python-pygments' 'python-requests' 'python-snowballstemmer' 'python-sphinxcontrib-applehelp' 'python-sphinxcontrib-devhelp' 'python-sphinxcontrib-htmlhelp' 'python-sphinxcontrib-jsmath' 'python-sphinxcontrib-qthelp' 'python-sphinxcontrib-serializinghtml' ) makedepends=('python-build' 'python-flit-core' 'python-installer') source=(https://github.com/sphinx-doc/${pkgname#*-}/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 -d ${pkgdir} dist/*.whl }