blob: e96c44e46de7e5dacd5147e4d8a9848f53f71b68 (
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
38
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=mycli
pkgver=1.11.0
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="http://mycli.net"
arch="noarch"
license="BSD"
depends="python3
py3-click
py3-pygments
py3-prompt_toolkit<1.1.0
py3-pymysql
py3-sqlparse<0.3.0
py3-configobj
py3-cryptography
py3-cli_helpers"
makedepends="python3-dev"
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"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="5bc98a82c4122038ff4634423f5b827dcc267ad69a4e266b5cf95174bba6714561f52639a83ee7dd122a0db93051d434310a642897069fcf83d4541165dd9f15 mycli-1.11.0.tar.gz"
|