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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 18:54:29 UTC 2018


    Date: Thursday, October 25, 2018 @ 18:54:28
  Author: felixonmars
Revision: 399030

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-seqdiag/repos/community-any/
  python-sphinxcontrib-seqdiag/repos/community-any/PKGBUILD
    (from rev 399029, python-sphinxcontrib-seqdiag/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-seqdiag/repos/community-any/PKGBUILD (from rev 399029, python-sphinxcontrib-seqdiag/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-10-25 18:54:28 UTC (rev 399030)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sphinxcontrib-seqdiag
+pkgver=0.8.5
+pkgrel=1
+pkgdesc="A sphinx extension for embedding sequence diagram using seqdiag"
+url="https://github.com/blockdiag/sphinxcontrib-seqdiag"
+license=('BSD')
+arch=('any')
+depends=('blockdiag' 'seqdiag' 'python-sphinx')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-reportlab' 'python-sphinx-testing')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/blockdiag/sphinxcontrib-seqdiag/archive/$pkgver.tar.gz")
+sha512sums=('fcea0922453d72f31ea8bf8bdfd977bdb45d6bb21be71cccd0210a1ccec241651b1f70aaa24575f44be37550b08f6717f7257dff4e7db4185e86a56052f4db4d')
+
+build() {
+  cd sphinxcontrib-seqdiag-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sphinxcontrib-seqdiag-$pkgver
+  nosetests || warning "Tests failed"
+}
+
+package() {
+  cd sphinxcontrib-seqdiag-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list