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

Evangelos Foutras foutrelis at archlinux.org
Fri Oct 25 15:37:31 UTC 2019


    Date: Friday, October 25, 2019 @ 15:37:29
  Author: foutrelis
Revision: 519121

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sphinxcontrib-jsmath/repos/community-staging-any/PKGBUILD (from rev 519120, python-sphinxcontrib-jsmath/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:37:29 UTC (rev 519121)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinxcontrib-jsmath
+pkgname=python-sphinxcontrib-jsmath
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Sphinx extension which renders display math in HTML via JavaScript'
+arch=('any')
+url=https://github.com/sphinx-doc/sphinxcontrib-jsmath
+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=('a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8')
+
+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