mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
Test failures while building latest version:
> E AssertionError: assert {Schema(quote...al_tables=())} == {Function(sche...context=None)}
> E AssertionError: assert {FromClauseIt...al_tables=())} == {Table(schema=...able_refs=())}
Ref: GH-8783
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=pgcli
|
|
pkgver=2.1.1
|
|
pkgrel=0
|
|
pkgdesc="Postgres CLI with autocompletion and syntax highlighting"
|
|
url="https://www.pgcli.com"
|
|
arch=""
|
|
license="BSD"
|
|
depends="python3
|
|
py3-pgspecial
|
|
py3-click
|
|
py3-pygments
|
|
py3-prompt_toolkit>2.0.0
|
|
py3-psycopg2
|
|
py3-sqlparse<0.3.0
|
|
py3-configobj
|
|
py3-humanize
|
|
py3-wcwidth
|
|
py3-cli_helpers>1.0.0
|
|
py3-setproctitle"
|
|
checkdepends="pytest py3-mock"
|
|
makedepends="python3-dev"
|
|
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"
|
|
python3 -m pytest tests
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="5fe43d82c9ac840ceb9d458d193dfe37af31ac429c58754cfc24bd5377ebc76e0f72a3a7a04f07a41a329ee9170b86365bf5e7ca387b1433e8ac94299fc574aa pgcli-2.1.1.tar.gz"
|