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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 14:17:07 UTC 2020


    Date: Monday, November 9, 2020 @ 14:17:06
  Author: foutrelis
Revision: 746936

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 746935, python-sphinxcontrib-serializinghtml/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-serializinghtml/repos/community-staging-any/PKGBUILD (from rev 746935, python-sphinxcontrib-serializinghtml/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 14:17:06 UTC (rev 746936)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-serializinghtml
+pkgname=python-sphinxcontrib-serializinghtml
+pkgver=1.1.4
+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=('eaa0eccc86e982a9b939b2b82d12cc5d013385ba5eadcc7e4fed23f4405f77bc')
+
+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