Date: Thursday, April 11, 2019 @ 15:12:49 Author: polyzen Revision: 451120
Initial commit Added: python-sphinxcontrib-serializinghtml/ python-sphinxcontrib-serializinghtml/repos/ python-sphinxcontrib-serializinghtml/trunk/ python-sphinxcontrib-serializinghtml/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-sphinxcontrib-serializinghtml/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-serializinghtml/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-serializinghtml/trunk/PKGBUILD 2019-04-11 15:12:49 UTC (rev 451120) @@ -0,0 +1,33 @@ +# Maintainer: Daniel M. Capella <[email protected]> + +_name=sphinxcontrib-serializinghtml +pkgname=python-sphinxcontrib-serializinghtml +pkgver=1.1.3 +pkgrel=1 +pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and pickle)' +arch=('any') +url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml +license=('BSD') +depends=('python-sphinx') +makedepends=('python-setuptools') +checkdepends=('python-pytest') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('c0efb33f8052c04fd7a26c0a07f1678e8512e0faec19f4aa8f2473a8b81d5227') + +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:
