mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 10:01:38 +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.11.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="5bc98a82c4122038ff4634423f5b827dcc267ad69a4e266b5cf95174bba6714561f52639a83ee7dd122a0db93051d434310a642897069fcf83d4541165dd9f15 mycli-1.11.0.tar.gz"
|