1 # Maintainer: Filipe LaĆns (FFY00) <lains@archlinux.org>
3 _pkgname=sphinx-theme-builder
4 pkgname=python-$_pkgname
7 pkgdesc='Python build backend for Sphinx themes'
9 url='https://github.com/pradyunsg/sphinx-theme-builder'
11 depends=('python' 'python-packaging' 'python-rich' 'python-tomli' 'python-nodeenv' 'python-setuptools' 'python-pep621' 'python-pyproject-metadata')
12 optdepends=('python-build: CLI'
14 'python-sphinx-autobuild: CLI')
15 makedepends=('python-build' 'python-installer' 'python-flit-core')
16 checkdepends=('python-pytest' 'python-click' 'python-sphinx-autobuild')
17 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
18 sha512sums=('9900812cbb91a2fae666c010caef0fc2d250ff7ef8ae7b0105c72cee678e4be49784530c49c43d0260e22882ca7b89d4dd83da0c5a59cf3f944647f84e9fd6bf')
23 python -m build --wheel --no-isolation
35 python -m installer --destdir="$pkgdir" dist/*.whl
37 install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
40 # vim:set ts=2 sw=2 et: