aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pgcli/APKBUILD
blob: fb9e84b958dbd06c391e81c55d9d9e107214bb8b (plain)
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
38
39
40
41
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=pgcli
pkgver=1.7.0
pkgrel=0
pkgdesc="Postgres CLI with autocompletion and syntax highlighting"
url="http://pgcli.com"
arch="noarch"
license="BSD"
depends="python3
	py3-pgspecial
	py3-click
	py3-pygments
	py3-prompt_toolkit<1.1.0
	py3-psycopg2
	py3-sqlparse<0.3.0
	py3-configobj
	py3-humanize
	py3-wcwidth
	py3-cli_helpers<1.0.0
	py3-setproctitle"
makedepends="python3-dev"
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"
	python3 setup.py check
}

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="1918ffc2922067fb9fb150e645cb4c9bcb7505ab5c9733fe794a828a9060f3182918936407eb71cb52fe05b2e72531b04961076fab6a8090429c5d25401a069c  pgcli-1.7.0.tar.gz"