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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:19:28 UTC 2019


    Date: Monday, November 4, 2019 @ 07:19:28
  Author: felixonmars
Revision: 523483

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sphinxcontrib-seqdiag/repos/community-staging-any/PKGBUILD (from rev 523482, python-sphinxcontrib-seqdiag/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:19:28 UTC (rev 523483)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sphinxcontrib-seqdiag
+pkgver=0.8.5
+pkgrel=2
+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