mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-18 04:02:30 +02:00
36 lines
920 B
Plaintext
36 lines
920 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=mycli
|
|
pkgver=1.21.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-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/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="ed7b971fdefd36f7a93b3b373b0b81e51f43b21ce53089e5ae6bfe828361f47b5d6b95c8d3974496546f014fd71ac14a6b4a79f570271fe192a14ab77c8084fd mycli-1.21.1.tar.gz"
|