diff options
author | Britney Fransen <brfransen@gmail.com> | 2020-11-15 20:45:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2020-11-15 20:45:16 (GMT) |
commit | 56d6008788d789704400c7d8dbd572575fc07905 (patch) | |
tree | 9a50c2811f96c853370d7c3b184c96aec455ef6e /abs | |
parent | 6f4de74bbd91489233207557c94fa50c8e8c5ba8 (diff) | |
download | linhes_pkgbuild-56d6008788d789704400c7d8dbd572575fc07905.zip linhes_pkgbuild-56d6008788d789704400c7d8dbd572575fc07905.tar.gz linhes_pkgbuild-56d6008788d789704400c7d8dbd572575fc07905.tar.bz2 |
python-sphinxcontrib-qthelp: 1.0.3
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/python-sphinxcontrib-qthelp/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-sphinxcontrib-qthelp/PKGBUILD b/abs/core/python_modules/python-sphinxcontrib-qthelp/PKGBUILD new file mode 100644 index 0000000..38ff257 --- /dev/null +++ b/abs/core/python_modules/python-sphinxcontrib-qthelp/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella <polyzen@archlinux.org> + +_name=sphinxcontrib-qthelp +pkgname=python-sphinxcontrib-qthelp +pkgver=1.0.3 +pkgrel=3 +pkgdesc='Sphinx extension which outputs QtHelp document' +arch=('any') +url=https://github.com/sphinx-doc/sphinxcontrib-qthelp +license=('BSD') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-sphinx') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72') + +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: |