initial import
This commit is contained in:
34
python-sphinxcontrib-serializinghtml/PKGBUILD
Normal file
34
python-sphinxcontrib-serializinghtml/PKGBUILD
Normal file
@@ -0,0 +1,34 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_srcname=sphinxcontrib-serializinghtml
|
||||
pkgname=python-sphinxcontrib-serializinghtml
|
||||
pkgver=1.1.4
|
||||
pkgrel=0
|
||||
pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and pickle)'
|
||||
arch=('any')
|
||||
url='https://github.com/sphinx-doc/sphinxcontrib-serializinghtml'
|
||||
license=('Simplified-BSD')
|
||||
makedepends=('python-setuptools')
|
||||
# checkdepends=('python-pytest' 'python-sphinx')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/archive/$pkgver.tar.gz")
|
||||
sha512sums=('a2db5836eb56358637c20b932856e1da133490eb6eff2cb2ad516ba58519c1f4fd20ce2890c08991311ae8a35bc7af9bcb0f77a9692fe0e30477622d22f04f62')
|
||||
|
||||
build() {
|
||||
cd $_srcname-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
# check() {
|
||||
# cd $_srcname-$pkgver
|
||||
# pytest
|
||||
# }
|
||||
|
||||
package() {
|
||||
cd $_srcname-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
# License
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||
install -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
Reference in New Issue
Block a user