aports/testing/pgcli/APKBUILD
2017-06-02 10:26:18 +02:00

41 lines
988 B
Plaintext

# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=pgcli
pkgver=1.6.0
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="feaa5d3975363fb487868e423c5800cee28cc4c3b287ea25ec4197a8c9e54237b2d52d8a6087debaccfbed19a4346203d13b1f08e42d0bace7fbc2351d97bdea pgcli-1.6.0.tar.gz"