aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mycli/APKBUILD
blob: b5c47def8dfc2522f131df87da80f50d51fc06a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=mycli
pkgver=1.9.0
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="http://mycli.net"
arch="noarch"
license="BSD"
depends="python2
	py-click
	py-pygments
	py-prompt_toolkit<1.1.0
	py-pymysql
	py-sqlparse
	py-configobj>=5.0.6
	py-crypto"
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
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="24a66892b91af5da99fdb147cb1660893f9c207ce741ad834f6cbe88a68a79e740e94d186ee1a913e12bdbfcded1187fc82b2fbc7188a35732e7d04ae298065c  mycli-1.9.0.tar.gz"