aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pgcli
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pgcli')
-rw-r--r--testing/pgcli/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/pgcli/APKBUILD b/testing/pgcli/APKBUILD
new file mode 100644
index 0000000000..a5a42ab324
--- /dev/null
+++ b/testing/pgcli/APKBUILD
@@ -0,0 +1,37 @@
+# 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="python
+ 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="python-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"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$builddir"
+ python 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"