blob: c3753dc09e80972147764eb45358b90772cff2f2 (
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.15.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="e4100a8fcc1e91f1a9fa336a6f1d4e02c3b334f83e37a078881decd84b0da2fa66e598162e26332c3832effdf1a4b720b3865a2c10caf924aa1d580635139657 mycli-1.15.0.tar.gz"
|