diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-26 13:32:20 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-26 13:52:05 +0200 |
commit | 3dbf99710607f4bc47f11f74d70905ac345a687c (patch) | |
tree | 3c68e06ea79549a5fd362187e4e2a04e4fbe6988 /testing/py3-progressbar | |
parent | 816753c3c244abe6e38b10b219943e629117d3ea (diff) | |
download | aports-3dbf99710607f4bc47f11f74d70905ac345a687c.tar.bz2 aports-3dbf99710607f4bc47f11f74d70905ac345a687c.tar.xz |
testing/py-progressbar: upgrade to python3
Diffstat (limited to 'testing/py3-progressbar')
-rw-r--r-- | testing/py3-progressbar/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-progressbar/APKBUILD b/testing/py3-progressbar/APKBUILD new file mode 100644 index 0000000000..16d35188b0 --- /dev/null +++ b/testing/py3-progressbar/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-progressbar +_pkgname=progressbar +pkgver=2.3 +pkgrel=1 +pkgdesc="Text progress bar library for Python" +url="https://code.google.com/p/python-progressbar/" +arch="noarch" +license="LGPL-2.0-or-later" +provides="py-progressbar" # for backwards compatibility +replaces="py-progressbar=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3" +depends_dev="" +makedepends="python3-dev 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="06fdc8b6664642bd864be8023355316fba23bcc4deb0c5877c5dfa91da5d233301a8f39342f133cbb63f37a20de7b8b24910ac8073127fcbdf43b5200d60ed5f progressbar-2.3.tar.gz" |