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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:36:19 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:36:19
  Author: foutrelis
Revision: 520057

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sphinxcontrib-trio/repos/community-staging-any/PKGBUILD (from rev 520056, python-sphinxcontrib-trio/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:36:19 UTC (rev 520057)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-sphinxcontrib-trio
+_pyname=${pkgname/python-/}
+pkgver=1.1.0
+pkgrel=2
+pkgdesc='Make Sphinx better at documenting Python functions and methods'
+url='https://github.com/python-trio/sphinxcontrib-trio'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-sphinx')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-lxml' 'python-cssselect')
+source=(https://github.com/python-trio/sphinxcontrib-trio/archive/v${pkgver}/${_pyname}-${pkgver}.tar.gz)
+sha512sums=('0d119cb8a1669dcb10f4498d87dae70496b64976618783c7b49f8177b03eb15d7fb8833f21b395f62288e3e619dd98a620677d316bafbcc0bc716115a9b574c2')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH=. py.test
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list