# Contributor: Duncan Bellamy <dunk@denkimushi.com> # Maintainer: Duncan Bellamy <dunk@denkimushi.com> pkgname=py3-sphinxcontrib-apidoc pkgver=0.3.0 pkgrel=2 pkgdesc="A Sphinx extension for running sphinx-apidoc on each build" url="https://github.com/sphinx-contrib/apidoc" # not compatible with current sphinx arch="" license="BSD-2-Clause" depends="py3-sphinx" makedepends="py3-pbr py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/s/sphinxcontrib-apidoc/sphinxcontrib-apidoc-$pkgver.tar.gz" builddir="$srcdir/sphinxcontrib-apidoc-$pkgver" build() { python3 setup.py build } check() { python3 -m pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="043f9b36eaff7b3f6d23c834dd3947e2b029c66010b3862f1658f03e0fb6c4aac3304f49465dd515a30107a685dc704a0e319675c9d7b27897445a2c315d07a1 sphinxcontrib-apidoc-0.3.0.tar.gz"