[arch-commits] Commit in (4 files)

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


    Date: Thursday, April 11, 2019 @ 15:03:32
  Author: polyzen
Revision: 451112

Initial commit

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

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

Added: python-sphinxcontrib-applehelp/trunk/PKGBUILD
===================================================================
--- python-sphinxcontrib-applehelp/trunk/PKGBUILD	                        (rev 0)
+++ python-sphinxcontrib-applehelp/trunk/PKGBUILD	2019-04-11 15:03:32 UTC (rev 451112)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Sphinx extension which outputs Apple help books'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
+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=('edaa0ab2b2bc74403149cb0209d6775c96de797dfd5b5e2a71981309efab3897')
+
+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