diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 18:00:02 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 18:00:02 +0000 |
commit | 3e37a4a0cf9c955dbfd253bcd0eda322e9ab71ee (patch) | |
tree | a39cf4694e22cfb86b33ecdeb07e25b2913606da /testing | |
parent | 71921676d83f94a5daeb00ccc38e2ad471a7e39e (diff) | |
download | aports-3e37a4a0cf9c955dbfd253bcd0eda322e9ab71ee.tar.bz2 aports-3e37a4a0cf9c955dbfd253bcd0eda322e9ab71ee.tar.xz |
testing/pgcli: upgrade to 1.5.1, modernize APKBUILD
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pgcli/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/testing/pgcli/APKBUILD b/testing/pgcli/APKBUILD index 64c59aa8d0..e2565a8e13 100644 --- a/testing/pgcli/APKBUILD +++ b/testing/pgcli/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Thomas Boerger <thomas@webhippie.de> # Maintainer: Thomas Boerger <thomas@webhippie.de> pkgname=pgcli -pkgver=1.1.0 +pkgver=1.5.1 pkgrel=0 pkgdesc="Postgres CLI with autocompletion and syntax highlighting" url="http://pgcli.com" @@ -22,16 +22,19 @@ 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" +check() { + cd "$builddir" + python2 setup.py check +} + build() { cd "$builddir" - python2 setup.py build || return 1 + python2 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="107771bb1ee8f7cb7a5b97966d76a143 pgcli-1.1.0.tar.gz" -sha256sums="d4a2491b0fad140d4fdf63928224f7bc1a84f6fda99a791b05ecca2752b44d5a pgcli-1.1.0.tar.gz" -sha512sums="0ae31670bce636be320b234ddee65241993f8f6ab2c40db61f5c09215051e2412bfc30821314d4f2e2517d49db6e35a3b16751974cf74c017276f9d2ba9af2ce pgcli-1.1.0.tar.gz" +sha512sums="cf81f6c99e2a6ac8b84d299c312f0d838043493ca3c0dbb6eb2b976e50f7607cd2932d05467ccae98da7dd12c2d5d604807c1b421bb467fd51086fbdc538cc13 pgcli-1.5.1.tar.gz" |