aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pgcli/APKBUILD
blob: 33338e1aa6ec4179aa2139beb6fd494ee3425bf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=pgcli
pkgver=1.1.0
pkgrel=0
pkgdesc="Postgres CLI with autocompletion and syntax highlighting"
url="http://pgcli.com"
arch="noarch"
license="BSD"
depends="python
	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"

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="107771bb1ee8f7cb7a5b97966d76a143  pgcli-1.1.0.tar.gz"
sha256sums="d4a2491b0fad140d4fdf63928224f7bc1a84f6fda99a791b05ecca2752b44d5a  pgcli-1.1.0.tar.gz"
sha512sums="0ae31670bce636be320b234ddee65241993f8f6ab2c40db61f5c09215051e2412bfc30821314d4f2e2517d49db6e35a3b16751974cf74c017276f9d2ba9af2ce  pgcli-1.1.0.tar.gz"