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

Felix Yan felixonmars at archlinux.org
Fri Feb 21 13:49:03 UTC 2020


    Date: Friday, February 21, 2020 @ 13:49:02
  Author: felixonmars
Revision: 577541

archrelease: copy trunk to community-testing-any

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

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

Copied: python-sphinxcontrib-seqdiag/repos/community-testing-any/PKGBUILD (from rev 577540, python-sphinxcontrib-seqdiag/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-21 13:49:02 UTC (rev 577541)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sphinxcontrib-seqdiag
+pkgver=2.0.0
+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=('c75ab1239ebbe3a16ade03de9bffcf7d4d2247f19745bc8f2d9fb9ea5c7f73befe19ed7249688e26d78827bdb5b53b8ac8157c4032cd3e904f539a70de11a4f6')
+
+build() {
+  cd sphinxcontrib-seqdiag-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sphinxcontrib-seqdiag-$pkgver
+  python setup.py nosetests
+}
+
+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