mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=pgcli
|
|
pkgver=1.1.0
|
|
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"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="107771bb1ee8f7cb7a5b97966d76a143 pgcli-1.1.0.tar.gz"
|
|
sha256sums="d4a2491b0fad140d4fdf63928224f7bc1a84f6fda99a791b05ecca2752b44d5a pgcli-1.1.0.tar.gz"
|
|
sha512sums="0ae31670bce636be320b234ddee65241993f8f6ab2c40db61f5c09215051e2412bfc30821314d4f2e2517d49db6e35a3b16751974cf74c017276f9d2ba9af2ce pgcli-1.1.0.tar.gz"
|