Date: Thursday, April 11, 2019 @ 15:08:50 Author: polyzen Revision: 451116
Initial commit Added: python-sphinxcontrib-htmlhelp/ python-sphinxcontrib-htmlhelp/repos/ python-sphinxcontrib-htmlhelp/trunk/ python-sphinxcontrib-htmlhelp/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-sphinxcontrib-htmlhelp/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-htmlhelp/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-htmlhelp/trunk/PKGBUILD 2019-04-11 15:08:50 UTC (rev 451116) @@ -0,0 +1,33 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +_name=sphinxcontrib-htmlhelp +pkgname=python-sphinxcontrib-htmlhelp +pkgver=1.0.1 +pkgrel=1 +pkgdesc='Sphinx extension which renders HTML help files' +arch=('any') +url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp +license=('BSD') +depends=('python-sphinx') +makedepends=('python-setuptools') +checkdepends=('python-html5lib' 'python-pytest') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('0d691ca8edf5995fbacfe69b191914256071a94cbad03c3688dca47385c9206c') + +build() { + cd $_name-$pkgver + python setup.py build +} + +check() { + cd $_name-$pkgver + pytest +} + +package() { + cd $_name-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et: