aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mycli/APKBUILD
blob: d4dd9a416b3c36af4a9acaeae5230ce8a89b495a (plain) (blame)
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.23.2
pkgrel=0
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
url="https://www.mycli.net/"
arch="noarch"
license="BSD-3-Clause"
depends="
	python3
	py3-click
	py3-pygments
	py3-prompt_toolkit
	py3-pymysql
	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() {
	python3 -m pytest -v test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1bb1b80493732e6d1b6fa4ef81ad5b9f12c083e474ab4eafced4bdc25c5e643bff06d12a06029c7e167c99e9a548bd01bedf2f3da5823d0144f8e3ea0d08c5f3  mycli-1.23.2.tar.gz"