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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 15:14:38 UTC 2021


    Date: Tuesday, November 30, 2021 @ 15:14:37
  Author: felixonmars
Revision: 1057785

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sphinxcontrib-applehelp/repos/community-staging-any/PKGBUILD (from rev 1057784, python-sphinxcontrib-applehelp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 15:14:37 UTC (rev 1057785)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.2
+pkgrel=7
+pkgdesc='Sphinx extension which outputs Apple help books'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-applehelp
+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=('a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58')
+
+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