blob: 61edd3b049d5e515150daa9d3d1168433d7a9f94 (
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
|
# 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"
|