blob: 6b4d049b0cc95e5b1972cdba5fbded2be60cbbae (
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
28
29
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-progressbar
_pkgname=progressbar
pkgver=2.5
pkgrel=3
pkgdesc="Text progress bar library for Python"
url="https://github.com/niltonvolpato/python-progressbar"
arch="noarch"
license="BSD-3-Clause LGPL-2.1-or-later"
replaces="py-progressbar" # for backwards compatibility
provides="py-progressbar=$pkgver-r$pkgrel" # for backwards compatibility
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="86a56a573b903b947baac98b26f88e40072603007fdf5cda3e4a7e797fe4c4c42fd1a4b1ddb1c9ca9a062659d3647c428e33949e2df9e20b0f56a9a4099de51b progressbar-2.5.tar.gz"
|