Date: Thursday, October 25, 2018 @ 18:54:01 Author: felixonmars Revision: 399029
addpkg: python-sphinxcontrib-seqdiag 0.8.5-1 Added: python-sphinxcontrib-seqdiag/ python-sphinxcontrib-seqdiag/repos/ python-sphinxcontrib-seqdiag/trunk/ python-sphinxcontrib-seqdiag/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: python-sphinxcontrib-seqdiag/trunk/PKGBUILD =================================================================== --- python-sphinxcontrib-seqdiag/trunk/PKGBUILD (rev 0) +++ python-sphinxcontrib-seqdiag/trunk/PKGBUILD 2018-10-25 18:54:01 UTC (rev 399029) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <[email protected]> + +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 +}
