blob: a2ce69229a2138c18cff0c669369e1476d41ed38 (
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
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: omni <omni+alpine@hack.org>
pkgname=mycli
pkgver=1.26.1
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="https://www.mycli.net/"
arch="noarch"
license="BSD-3-Clause"
depends="
python3
py3-pyaes
py3-click
py3-pygments
py3-prompt_toolkit
py3-pymysql
py3-sqlglot
py3-sqlparse
py3-configobj
py3-cryptography
py3-cli_helpers
py3-pyperclip
"
makedepends="python3-dev py3-setuptools py3-paramiko"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/m/mycli/mycli-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
# click 8.1 output differs
python3 -m pytest -v -k "not test_auto_escaped_col_names" test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/test
}
sha512sums="
4be94e294bca3302bb93edfdb8eb3fee7147d417e0257ee02584a7ecbc52f269835e4a77e8aed11daa790fd375c68169c24b14f4018e0ea9323cf49a05a840f8 mycli-1.26.1.tar.gz
"
|