[arch-commits] Commit in python-sphinx-jinja/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:01:39 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:01:38
  Author: foutrelis
Revision: 749238

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-jinja/repos/community-staging-any/
  python-sphinx-jinja/repos/community-staging-any/PKGBUILD
    (from rev 749237, python-sphinx-jinja/trunk/PKGBUILD)

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

Copied: python-sphinx-jinja/repos/community-staging-any/PKGBUILD (from rev 749237, python-sphinx-jinja/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:01:38 UTC (rev 749238)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-sphinx-jinja
+pkgver=1.1.1
+pkgrel=2
+pkgdesc='A sphinx extension to include jinja based templates based documentation into a sphinx doc'
+arch=(any)
+url='https://github.com/tardyp/sphinx-jinja'
+license=(MIT)
+depends=(python python-docutils python-jinja python-sphinx)
+makedepends=(python-setuptools python-pbr)
+checkdepends=(python-nose python-sphinx-testing)
+source=("https://files.pythonhosted.org/packages/source/s/sphinx-jinja/sphinx-jinja-$pkgver.tar.gz")
+sha256sums=('372406fe557be7c3f000ddd0ff130e7bb2d83f47df02e255fd24fe62d81ee143')
+
+build() {
+  cd sphinx-jinja-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sphinx-jinja-$pkgver
+  # Running tests with 'nosetests' fails with issues around namespace packages
+  python -m nose -v
+}
+
+package() {
+  cd sphinx-jinja-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list