mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
|
|
pkgname=py3-alive-progress
|
|
_commit=e38a5f8dda3ec36e26d17bcb5dc93ab03bb9f29e
|
|
pkgver=3.0.1
|
|
pkgrel=0
|
|
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"
|
|
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="
|
|
610e7f55b95e2fd5ae309e22cb1896d7a295776db03ffc0045c5bc9c594d2a30f8a0ff6ff5726021c7b53062ad53ed98458dd7bb8b80ebdc757a7dacfa389788 py3-alive-progress-3.0.1.tar.gz
|
|
3aec0c6907027eb699aa6bb78420bc2c213e5157aad7079586d8915e70f20c0e63b52d7eb1171fdd6a8a1bb397e61c216919c7d45b4a104479d64f95ac0541e9 fix-license.patch
|
|
"
|