summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-11-15 20:41:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-11-15 20:41:35 (GMT)
commit2110f5644f13e491067b96f4a69a2fe443036d39 (patch)
tree2ce10e65b7bed151f06da490229aa6a0cf229437 /abs/core/python_modules
parentefb79747938cfaaef3fbcccfb5c2bb1376b2e28b (diff)
downloadlinhes_pkgbuild-2110f5644f13e491067b96f4a69a2fe443036d39.zip
linhes_pkgbuild-2110f5644f13e491067b96f4a69a2fe443036d39.tar.gz
linhes_pkgbuild-2110f5644f13e491067b96f4a69a2fe443036d39.tar.bz2
python-sphinxcontrib-devhelp: 1.0.2
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r--abs/core/python_modules/python-sphinxcontrib-devhelp/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-sphinxcontrib-devhelp/PKGBUILD b/abs/core/python_modules/python-sphinxcontrib-devhelp/PKGBUILD
new file mode 100644
index 0000000..105a41d
--- /dev/null
+++ b/abs/core/python_modules/python-sphinxcontrib-devhelp/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
+
+_name=sphinxcontrib-devhelp
+pkgname=python-sphinxcontrib-devhelp
+pkgver=1.0.2
+pkgrel=3
+pkgdesc='Sphinx extension which outputs Devhelp document'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-devhelp
+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=('ff7f1afa7b9642e7060379360a67e9c41e8f3121f2ce9164266f61b9f4b338e4')
+
+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: