mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/mycli: upgrade to 1.9.0, modernize APKBUILD
This commit is contained in:
parent
a52f383ecd
commit
71921676d8
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user