aports/community/py3-alive-progress/APKBUILD
2023-05-10 11:01:24 +02:00

35 lines
1.1 KiB
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-alive-progress
_commit=e42a5634eaf603b4a53dcecb2dae43b20b240a73
pkgver=3.1.2
pkgrel=1
pkgdesc="A new kind of Progress Bar, with real-time throughput"
url="https://github.com/rsalmei/alive-progress"
arch="noarch"
license="MIT"
depends="python3 py3-about-time py3-grapheme"
makedepends="py3-setuptools"
checkdepends="py3-click python3-dev py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rsalmei/alive-progress/archive/$_commit/alive-progress-$_commit.tar.gz
fix-license.patch"
builddir="$srcdir/alive-progress-$_commit"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
ec7c8b1072ff9758e5955812354365e6ccfd682f6b67ab714db7acd24478be01f7136c02e170ccdd2497c7613ba66ce88a052d3d7b9f05af3c36366169e88a65 py3-alive-progress-3.1.2.tar.gz
3aec0c6907027eb699aa6bb78420bc2c213e5157aad7079586d8915e70f20c0e63b52d7eb1171fdd6a8a1bb397e61c216919c7d45b4a104479d64f95ac0541e9 fix-license.patch
"