mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 10:42:12 +01:00
39 lines
956 B
Plaintext
39 lines
956 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=mycli
|
|
pkgver=1.15.0
|
|
pkgrel=0
|
|
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
|
|
url="http://mycli.net"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python3
|
|
py3-click
|
|
py3-pygments
|
|
py3-prompt_toolkit<1.1.0
|
|
py3-pymysql
|
|
py3-sqlparse<0.3.0
|
|
py3-configobj
|
|
py3-cryptography
|
|
py3-cli_helpers"
|
|
makedepends="python3-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
python3 setup.py check
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="e4100a8fcc1e91f1a9fa336a6f1d4e02c3b334f83e37a078881decd84b0da2fa66e598162e26332c3832effdf1a4b720b3865a2c10caf924aa1d580635139657 mycli-1.15.0.tar.gz"
|