aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-progress/APKBUILD
blob: ccfb8d92f507f4ddcd5d99ed656ba1271b0c011d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-progress
pkgver=1.5
pkgrel=0
pkgdesc="Easy to use progress bars for Python3"
url="https://github.com/verigak/progress"
arch="noarch"
license="ISC"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/verigak/progress/archive/$pkgver.tar.gz"
builddir="$srcdir/progress-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 test_progress.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ca8f43c22294b16ea09fc05c2d8857509ed40e8fa02b0eb8db585e228add1fc8e67d45e22a9947b3be6ed0c317b07e86f16cf01e529767c80700c3ded61e80a0  py3-progress-1.5.tar.gz"