1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
2 # Contributor: fzerorubigd <fzero@rubi.gd>
4 pkgname=python-pgspecial
7 pkgdesc='Meta-commands handler for PostgreSQL'
9 url='https://github.com/dbcli/pgspecial'
17 makedepends=('git' 'python-setuptools')
18 checkdepends=('python-pytest' 'python-configobj')
19 _commit='d071787d9ed8da3424e43213e6695476923aebdc'
20 source=("$pkgname::git+$url.git#commit=$_commit")
26 git describe --tags | sed 's/^v//'
38 PYTHONPATH="$(pwd):$PYTHONPATH" pytest --ignore tests/test_specials.py
44 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
47 install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.rst
50 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" License.txt