summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-11-15 20:40:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-11-15 20:40:23 (GMT)
commitefb79747938cfaaef3fbcccfb5c2bb1376b2e28b (patch)
treea89a4c57a8a7431f83a5f438f1769100690151e6 /abs
parentac10c6a6816b0746d18122a070f6a9c2641443ba (diff)
downloadlinhes_pkgbuild-efb79747938cfaaef3fbcccfb5c2bb1376b2e28b.zip
linhes_pkgbuild-efb79747938cfaaef3fbcccfb5c2bb1376b2e28b.tar.gz
linhes_pkgbuild-efb79747938cfaaef3fbcccfb5c2bb1376b2e28b.tar.bz2
python-sphinxcontrib-applehelp: 1.0.2
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/python-sphinxcontrib-applehelp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-sphinxcontrib-applehelp/PKGBUILD b/abs/core/python_modules/python-sphinxcontrib-applehelp/PKGBUILD
new file mode 100644
index 0000000..92bfa97
--- /dev/null
+++ b/abs/core/python_modules/python-sphinxcontrib-applehelp/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
+
+_name=sphinxcontrib-applehelp
+pkgname=python-sphinxcontrib-applehelp
+pkgver=1.0.2
+pkgrel=3
+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: