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

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


    Date: Tuesday, November 30, 2021 @ 15:15:01
  Author: felixonmars
Revision: 1057793

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sphinxcontrib-serializinghtml/repos/community-staging-any/PKGBUILD (from rev 1057792, python-sphinxcontrib-serializinghtml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 15:15:01 UTC (rev 1057793)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-serializinghtml
+pkgname=python-sphinxcontrib-serializinghtml
+pkgver=1.1.5
+pkgrel=2
+pkgdesc='Sphinx extension which outputs "serialized" HTML files (json and pickle)'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-serializinghtml
+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=('aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952')
+b2sums=('e2da8b1e1300a327b8d508ce98e7c0d3eff1e0cea28cd874df4fbd9ed0bd4de6c17e107e622ec72e00bb237025ae26b2c5aaa33b2156cee2fad7c8f8d2c65ed5')
+
+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