psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

32 lines
909 B
Plaintext

# Contributor: Dhruvin Gandhi <contact@dhruvin.dev>
# Maintainer: Dhruvin Gandhi <contact@dhruvin.dev>
pkgname=py3-sphinx-click
_pyname=sphinx-click
pkgver=4.4.0
pkgrel=0
pkgdesc="Sphinx plugin to extract documentation from click-based applications"
url="https://github.com/click-contrib/sphinx-click"
arch="noarch"
license="MIT"
depends="python3 py3-sphinx py3-click py3-docutils"
makedepends="py3-setuptools py3-pbr"
checkdepends="py3-pytest py3-click py3-coverage"
source="https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
74a1dc653ccf2d424bfbd419291973822e4dea6a73d5a9e6033b48f585d53f2df3400936fa8c875b0fb4259a0f364ddf4d7bc4064e98c7ac47cd4114154f6d60 sphinx-click-4.4.0.tar.gz
"