psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

30 lines
712 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-progress
pkgver=1.6
pkgrel=2
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 --skip-build --root="$pkgdir"
}
sha512sums="
e6afd7ecda8cfbda578b53a8f9ced9a017bfa42d3ffe0fbefbcbb3715024983543c919e5d8276b5cd79bebe9e7d9c2b7234e6d8cd20b3142058c28ee4418ff3a py3-progress-1.6.tar.gz
"