diff options
author | Michał Polański <michal@polanski.me> | 2020-03-02 21:16:33 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-03 02:16:19 -0300 |
commit | fcdbb5bac71604d2d5bca3114ac36ce7581ba6cf (patch) | |
tree | 3e134e0c825490598d21d68fc3a76f61de66f169 /testing/mycli | |
parent | 67c1099099ed5306ac6d437a8f26ba444f78dc1b (diff) | |
download | aports-fcdbb5bac71604d2d5bca3114ac36ce7581ba6cf.tar.bz2 aports-fcdbb5bac71604d2d5bca3114ac36ce7581ba6cf.tar.xz |
testing/mycli: enable tests
Diffstat (limited to 'testing/mycli')
-rw-r--r-- | testing/mycli/APKBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/mycli/APKBUILD b/testing/mycli/APKBUILD index 8c82a6ec3e..72bfbb386c 100644 --- a/testing/mycli/APKBUILD +++ b/testing/mycli/APKBUILD @@ -7,7 +7,6 @@ pkgdesc="MySQL CLI with autocompletion and syntax highlighting" url="https://www.mycli.net" arch="noarch" license="BSD-3-Clause" -options="!check" # builders /dev/tty not accessible depends="python3 py3-click py3-pygments @@ -19,17 +18,16 @@ depends="python3 py3-cli_helpers" makedepends="python3-dev py3-setuptools" checkdepends="py3-pytest py3-mock" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz - " - -check() { - python3 -m pytest test -} +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/m/mycli/mycli-$pkgver.tar.gz" build() { python3 setup.py build } +check() { + python3 -m pytest -v test +} + package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } |