blob: e2565a8e1382272f31097f8fdcc7513a80fe338f (
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
38
39
40
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
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"
|