mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 01:21:46 +01:00
38 lines
939 B
Plaintext
38 lines
939 B
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=mycli
|
|
pkgver=1.9.0
|
|
pkgrel=0
|
|
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
|
|
url="http://mycli.net"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python2
|
|
py-click
|
|
py-pygments
|
|
py-prompt_toolkit<1.1.0
|
|
py-pymysql
|
|
py-sqlparse
|
|
py-configobj>=5.0.6
|
|
py-crypto"
|
|
makedepends="python2-dev py-setuptools"
|
|
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"
|
|
python2 setup.py check
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="24a66892b91af5da99fdb147cb1660893f9c207ce741ad834f6cbe88a68a79e740e94d186ee1a913e12bdbfcded1187fc82b2fbc7188a35732e7d04ae298065c mycli-1.9.0.tar.gz"
|