mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 02:02:08 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Contributor: Thomas Boerger <thomas@webhippie.de>
|
|
# Maintainer: Thomas Boerger <thomas@webhippie.de>
|
|
pkgname=mycli
|
|
pkgver=1.7.1
|
|
pkgrel=0
|
|
pkgdesc="MySQL CLI with autocompletion and syntax highlighting"
|
|
url="http://mycli.net"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python
|
|
py-click
|
|
py-pygments
|
|
py-prompt_toolkit<1.1.0
|
|
py-pymysql
|
|
py-sqlparse
|
|
py-configobj>=5.0.6
|
|
py-crypto"
|
|
makedepends="python-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"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="016facc75d562ce41e4dd3242f918c6a mycli-1.7.1.tar.gz"
|
|
sha256sums="56ee9a06bcfa3a64ee1ed555bddc69d9e4b5d31dee98bde6cc2712c5c3f5422d mycli-1.7.1.tar.gz"
|
|
sha512sums="343b31630f509e9c175014c4534ea7ffc56fee08fbfe5376430e6f85630617b66063bf4224ef93bd920892af2d83377013f467525954ebcd0e253e6b32272d88 mycli-1.7.1.tar.gz"
|