mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 15:41:51 +01:00
39 lines
976 B
Plaintext
39 lines
976 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=pgcli
|
|
pkgver=3.1.0
|
|
pkgrel=2
|
|
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="7f14a331f6aa2d8d97e8cb14fb53a174ffcf4d93bf4ad067953d296d8c3a12c4514a45a7ff0ce249ac8c67a2859859fc25b76593ad4f563c67a3525fcecae8bc pgcli-3.1.0.tar.gz"
|