aports/testing/py3-halo/APKBUILD
2024-08-06 14:35:25 +02:00

31 lines
907 B
Text

# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-halo
_pyname=halo
pkgver=0.0.31
pkgrel=5
pkgdesc="Python library for terminal spinners"
url="https://github.com/manrajgrover/halo"
arch="noarch"
license="MIT"
depends="python3 py3-log-symbols py3-spinners py3-termcolor py3-colorama py3-six"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://pypi.python.org/packages/source/h/halo/halo-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # no tests
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
0c8f97d0153f46691f57f31755c3b8f69634c565cdfb42b91423b305b9e5a523b511f33fd44bb7206f6b1a90d34c8a9baf19e83874acb2504b476f8e8e5ad6a8 halo-0.0.31.tar.gz
"