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

Daniel M. Capella polyzen at archlinux.org
Thu Apr 11 20:44:16 UTC 2019


    Date: Thursday, April 11, 2019 @ 20:44:15
  Author: polyzen
Revision: 451163

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-applehelp/repos/community-any/
  python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD
    (from rev 451162, python-sphinxcontrib-applehelp/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-applehelp/repos/community-any/PKGBUILD (from rev 451162, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-11 20:44:15 UTC (rev 451163)
@@ -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