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

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


    Date: Tuesday, November 30, 2021 @ 15:14:48
  Author: felixonmars
Revision: 1057789

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 1057787, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-htmlhelp/repos/community-staging-any/PKGBUILD (from rev 1057787, python-sphinxcontrib-htmlhelp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 15:14:48 UTC (rev 1057789)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-htmlhelp
+pkgname=python-sphinxcontrib-htmlhelp
+pkgver=2.0.0
+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=('f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2')
+b2sums=('09b0d9bcec57140278c4476fa0bbc40d359fc167d8ea891a1585fbdeafe6eb0b52442dbbc8d1d5b6edb3953b04fc29a71f6f74e58a281ebb0d79e5a30cb02749')
+
+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