blob: 510fe5cca5b3840443536802984fca43eeeae014 (
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
42
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=pgcli
pkgver=3.5.0
pkgrel=1
pkgdesc="Postgres CLI with autocompletion and syntax highlighting"
options="!check" # Tests fail
url="https://www.pgcli.com"
arch="noarch"
license="BSD-3-Clause"
depends="python3
py3-cli_helpers>1.0.0
py3-click
py3-configobj
py3-humanize
py3-pendulum
py3-pgspecial
py3-prompt_toolkit>2.0.0
py3-psycopg
py3-pygments
py3-setproctitle
py3-sqlparse<0.5.0
py3-wcwidth"
checkdepends="pytest py3-mock"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pgcli/pgcli-$pkgver.tar.gz"
check() {
python3 -m pytest tests
}
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
d72cec375fd85aa83e90a3b88877b32df2143c47968c9531417dddb0e7de5463827668a5af78e4dddce3ddc1cf9baa97ada7271bd3844f7dea047adc7fca076f pgcli-3.5.0.tar.gz
"
|