mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 19:11:55 +01:00
38 lines
990 B
Plaintext
38 lines
990 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=mycli
|
|
pkgver=1.20.1
|
|
pkgrel=1
|
|
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
|
|
url="https://www.mycli.net"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
options="!check" # builders /dev/tty not accessible
|
|
depends="python3
|
|
py3-click
|
|
py3-pygments
|
|
py3-prompt_toolkit>2.0.5
|
|
py3-pymysql
|
|
py3-sqlparse<0.4.0
|
|
py3-configobj
|
|
py3-cryptography
|
|
py3-cli_helpers"
|
|
makedepends="python3-dev py3-setuptools"
|
|
checkdepends="py3-pytest py3-mock"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz
|
|
"
|
|
|
|
check() {
|
|
python3 -m pytest test
|
|
}
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="9b25136b02f6147b84fb39f3baa315aa79b735facdabe35dfb049f171491b3a2e7166797ebcfe637e9e4de31675334ac66bdcea9cdd3cbc145f072d676c19c0c mycli-1.20.1.tar.gz"
|