[arch-commits] Commit in python-sphinxcontrib-qthelp/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 16:13:03 UTC 2019


    Date: Friday, October 25, 2019 @ 16:13:02
  Author: foutrelis
Revision: 519419

archrelease: copy trunk to community-staging-any

Added:
  python-sphinxcontrib-qthelp/repos/community-staging-any/
  python-sphinxcontrib-qthelp/repos/community-staging-any/PKGBUILD
    (from rev 519417, python-sphinxcontrib-qthelp/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-qthelp/repos/community-staging-any/PKGBUILD (from rev 519417, python-sphinxcontrib-qthelp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:13:02 UTC (rev 519419)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-qthelp
+pkgname=python-sphinxcontrib-qthelp
+pkgver=1.0.2
+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=('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