# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=pgcli pkgver=1.5.1 pkgrel=0 pkgdesc="Postgres CLI with autocompletion and syntax highlighting" url="http://pgcli.com" arch="noarch" license="BSD" depends="python2 py-pgspecial py-click py-pygments py-prompt_toolkit<1.1.0 py-psycopg2 py-sqlparse py-configobj>=5.0.6 py-humanize py-wcwidth py-setproctitle" makedepends="python2-dev py-setuptools" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" check() { cd "$builddir" python2 setup.py check } build() { cd "$builddir" python2 setup.py build } package() { cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="cf81f6c99e2a6ac8b84d299c312f0d838043493ca3c0dbb6eb2b976e50f7607cd2932d05467ccae98da7dd12c2d5d604807c1b421bb467fd51086fbdc538cc13 pgcli-1.5.1.tar.gz"