diff options
author | Thomas Boerger <thomas@webhippie.de> | 2017-07-21 08:33:14 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-29 11:17:04 +0000 |
commit | 96f2afedbf6e4e30747102d881bb13ebb118139e (patch) | |
tree | ed9c11f233c7e1e6c09e798829443e3809035f89 /testing/mycli/APKBUILD | |
parent | b93365ad89fe048997dfdcf5cb17b43548bdd3a4 (diff) | |
download | aports-96f2afedbf6e4e30747102d881bb13ebb118139e.tar.bz2 aports-96f2afedbf6e4e30747102d881bb13ebb118139e.tar.xz |
testing/mycli: upgrade to 1.11.0, switched to python3
Diffstat (limited to 'testing/mycli/APKBUILD')
-rw-r--r-- | testing/mycli/APKBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/testing/mycli/APKBUILD b/testing/mycli/APKBUILD index b5c47def8d..e96c44e46d 100644 --- a/testing/mycli/APKBUILD +++ b/testing/mycli/APKBUILD @@ -1,37 +1,38 @@ # Contributor: Thomas Boerger <thomas@webhippie.de> # Maintainer: Thomas Boerger <thomas@webhippie.de> pkgname=mycli -pkgver=1.9.0 +pkgver=1.11.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" +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" - python2 setup.py check + python3 setup.py check } build() { cd "$builddir" - python2 setup.py build + python3 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="24a66892b91af5da99fdb147cb1660893f9c207ce741ad834f6cbe88a68a79e740e94d186ee1a913e12bdbfcded1187fc82b2fbc7188a35732e7d04ae298065c mycli-1.9.0.tar.gz" +sha512sums="5bc98a82c4122038ff4634423f5b827dcc267ad69a4e266b5cf95174bba6714561f52639a83ee7dd122a0db93051d434310a642897069fcf83d4541165dd9f15 mycli-1.11.0.tar.gz" |