blob: ce5f445f15ed405197418f0c35d1dff21d94e8f6 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Yongchun Jiang <JSpringYC@gmail.com>
# Contributor: Yongchun Jiang <JSpringYC@gmail.com>
# Packager: Yongchun Jiang <JSpringYC@gmail.com>
pkgname=mycli-git
_pkgname=mycli
pkgver=1.24.2.r0.g832086b
pkgrel=2
# epoch=
pkgdesc="A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting."
arch=("any")
url="mycli.net"
license=("BSD")
# groups=()
depends=(
"python"
"python-click"
"python-cryptography"
"python-pygments"
"python-prompt_toolkit"
"python-pymysql"
"python-sqlparse"
"python-configobj"
"python-cli_helpers"
"python-pyperclip"
"python-pyaes"
)
makedepends=("python-setuptools")
optdepends=("python-paramiko: SSH support")
provides=("mycli")
conflicts=("mycli")
# replaces=()
# backup=()
# options=()
# install=
source=("git+https://github.com/dbcli/mycli")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags | sed 's/v*//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname"
install -D -m 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
python setup.py install --root="$pkgdir" --optimize=1
}
|