aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mycli
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-17 17:57:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-17 17:57:51 +0000
commit71921676d83f94a5daeb00ccc38e2ad471a7e39e (patch)
tree26d5183a524c5b3143dcb25c111dde29d8fe417c /testing/mycli
parenta52f383ecd950f3bd4c794cc42e9699db244988e (diff)
downloadaports-71921676d83f94a5daeb00ccc38e2ad471a7e39e.tar.bz2
aports-71921676d83f94a5daeb00ccc38e2ad471a7e39e.tar.xz
testing/mycli: upgrade to 1.9.0, modernize APKBUILD
Diffstat (limited to 'testing/mycli')
-rw-r--r--testing/mycli/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/testing/mycli/APKBUILD b/testing/mycli/APKBUILD
index 1d10daff47..b5c47def8d 100644
--- a/testing/mycli/APKBUILD
+++ b/testing/mycli/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=mycli
-pkgver=1.7.1
+pkgver=1.9.0
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="http://mycli.net"
@@ -19,16 +19,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="016facc75d562ce41e4dd3242f918c6a mycli-1.7.1.tar.gz"
-sha256sums="56ee9a06bcfa3a64ee1ed555bddc69d9e4b5d31dee98bde6cc2712c5c3f5422d mycli-1.7.1.tar.gz"
-sha512sums="343b31630f509e9c175014c4534ea7ffc56fee08fbfe5376430e6f85630617b66063bf4224ef93bd920892af2d83377013f467525954ebcd0e253e6b32272d88 mycli-1.7.1.tar.gz"
+sha512sums="24a66892b91af5da99fdb147cb1660893f9c207ce741ad834f6cbe88a68a79e740e94d186ee1a913e12bdbfcded1187fc82b2fbc7188a35732e7d04ae298065c mycli-1.9.0.tar.gz"