mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-23 00:32:22 +01:00
41 lines
978 B
Plaintext
41 lines
978 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=pgcli
|
|
pkgver=3.3.1
|
|
pkgrel=0
|
|
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-pgspecial
|
|
py3-click
|
|
py3-pygments
|
|
py3-prompt_toolkit>2.0.0
|
|
py3-psycopg2
|
|
py3-sqlparse<0.5.0
|
|
py3-configobj
|
|
py3-humanize
|
|
py3-wcwidth
|
|
py3-cli_helpers>1.0.0"
|
|
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="
|
|
972f2c1eedea81b62031864dba4bbc35115ff3c5894e07822e8aa037dd6079ce231aae70918e90eb88cb3cda06e940c168d2b5bd28b9dc19c8a3fa15ecfefc12 pgcli-3.3.1.tar.gz
|
|
"
|