Date: Saturday, December 3, 2022 @ 15:55:40 Author: arojas Revision: 1356348
Add python-sphinxcontrib-apidoc Added: python-sphinxcontrib-apidoc/ python-sphinxcontrib-apidoc/trunk/ python-sphinxcontrib-apidoc/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Added: python-sphinxcontrib-apidoc/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-apidoc/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-apidoc/trunk/PKGBUILD 2022-12-03 15:55:40 UTC (rev 1356348) @@ -0,0 +1,27 @@ +# Maintainer: +# Contributor: Liam Timms <[email protected]> +# Contributor: Patrice Peterson <runiq at archlinux dot us> + +pkgname=python-sphinxcontrib-apidoc +pkgver=0.3.0 +pkgrel=2 +pkgdesc='A Sphinx extension for running 'sphinx-apidoc' on each build' +arch=(any) +url='https://github.com/sphinx-contrib/apidoc' +license=(BSD) +depends=(python-sphinx python-pbr) +makedepends=(python-build python-installer python-setuptools python-wheel) +source=("https://pypi.io/packages/source/s/sphinxcontrib-apidoc/sphinxcontrib-apidoc-$pkgver.tar.gz") +sha256sums=('729bf592cf7b7dd57c4c05794f732dc026127275d785c2a5494521fdde773fb9') + +build() { + cd sphinxcontrib-apidoc-$pkgver + python -m build --wheel --no-isolation +} + + +package() { + cd sphinxcontrib-apidoc-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
