blob: 136f0eae26f275493ebfc76fa46c99266c949ad4 (
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
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=mycli
pkgver=1.7.1
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="http://mycli.net"
arch="noarch"
license="BSD"
depends="python
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"
build() {
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="016facc75d562ce41e4dd3242f918c6a mycli-1.7.1.tar.gz"
sha256sums="56ee9a06bcfa3a64ee1ed555bddc69d9e4b5d31dee98bde6cc2712c5c3f5422d mycli-1.7.1.tar.gz"
sha512sums="343b31630f509e9c175014c4534ea7ffc56fee08fbfe5376430e6f85630617b66063bf4224ef93bd920892af2d83377013f467525954ebcd0e253e6b32272d88 mycli-1.7.1.tar.gz"
|