aports/testing/smassh/APKBUILD
2024-11-21 02:55:52 +00:00

34 lines
839 B
Text

maintainer="Hoang Nguyen <folliekazetani@protonmail.com>"
pkgname=smassh
pkgver=3.1.6
pkgrel=0
pkgdesc="TUI-based typing test application inspired by MonkeyType"
url="https://github.com/kraanzu/smassh"
arch="noarch"
license="GPL-3.0-or-later"
depends="
python3
py3-click
py3-platformdirs
py3-requests
py3-textual
"
makedepends="py3-gpep517 py3-poetry-core"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/kraanzu/smassh/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no testsuite
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
8797ace1b6025b76066855ab5a631668713827a8a261b801497eff1ffceee8a5941f356db28ae16521d6dd5c285085e3ca3796a41723f0b3da1fe36b42c6c85e smassh-3.1.6.tar.gz
"