[arch-commits] Commit in python-sphinxcontrib-htmlhelp/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 14:17:24 UTC 2020
Date: Monday, November 9, 2020 @ 14:17:23
Author: felixonmars
Revision: 746942
archrelease: copy trunk to community-staging-any
Added:
python-sphinxcontrib-htmlhelp/repos/community-staging-any/
python-sphinxcontrib-htmlhelp/repos/community-staging-any/PKGBUILD
(from rev 746939, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-sphinxcontrib-htmlhelp/repos/community-staging-any/PKGBUILD (from rev 746939, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 14:17:23 UTC (rev 746942)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-htmlhelp
+pkgname=python-sphinxcontrib-htmlhelp
+pkgver=1.0.3
+pkgrel=2
+pkgdesc='Sphinx extension which renders HTML help files'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-htmlhelp
+license=('BSD')
+makedepends=('python-setuptools')
+checkdepends=('python-html5lib' 'python-pytest' 'python-sphinx')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('e8f5bb7e31b2dbb25b9cc435c8ab7a79787ebf7f906155729338f3156d93659b')
+
+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