[arch-commits] Commit in (4 files)

Daniel M. Capella polyzen at archlinux.org
Thu Apr 11 15:11:32 UTC 2019


    Date: Thursday, April 11, 2019 @ 15:11:31
  Author: polyzen
Revision: 451118

Initial commit

Added:
  python-sphinxcontrib-qthelp/
  python-sphinxcontrib-qthelp/repos/
  python-sphinxcontrib-qthelp/trunk/
  python-sphinxcontrib-qthelp/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-sphinxcontrib-qthelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-qthelp/trunk/PKGBUILD	                        (rev 0)
+++ python-sphinxcontrib-qthelp/trunk/PKGBUILD	2019-04-11 15:11:31 UTC (rev 451118)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-qthelp
+pkgname=python-sphinxcontrib-qthelp
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='Sphinx extension which outputs QtHelp document'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-qthelp
+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=('79465ce11ae5694ff165becda529a600c754f4bc459778778c7017374d4d406f')
+
+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:


More information about the arch-commits mailing list