# Compiling Time: 0.02 SBU
# Maintainer: DeX77 <dex+fw@dragonslave.de>

pkgname=sphinx-jquery
pkgver=4.1
pkgrel=2
pkgdesc="Extension to include jQuery on newer Sphinx releases"
depends=('python3-sphinx')
makedepends=('python3-flit_core' 'python3-build' 'python3-installer' 'python3-wheel')
groups=('devel-extra')
archs=('x86_64')
_F_archive_name="sphinxcontrib-jquery"
_F_pypi_name="sphinxcontrib-jquery"
Finclude pypi
_F_cd_path="$_F_pypi_name-$pkgver"
sha1sums=('4044974d0e0d806e2f559ed6d9b78b9555792961')
_F_python_version=python3

build() {
        Fcd
        Fpatchall
        Fexec python3 -m build --wheel --no-isolation || Fdie
        Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie
}

# optimization OK
