aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-06 11:34:16 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-06 12:31:16 +0000
commitb6a5a824eb16dc5b2889c23f06215bfd6b334ae2 (patch)
treebb6ed84831078b71111a761e6f60c96d74130704
parent8c51780fa40ac38fec7d9b1bd34e3878ce2540f1 (diff)
downloadaports-b6a5a824eb16dc5b2889c23f06215bfd6b334ae2.tar.bz2
aports-b6a5a824eb16dc5b2889c23f06215bfd6b334ae2.tar.xz
testing/py-progressbar: upgrade to 2.3 and modernize
-rw-r--r--testing/py-progressbar/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/testing/py-progressbar/APKBUILD b/testing/py-progressbar/APKBUILD
index 79e603687e..2967a93557 100644
--- a/testing/py-progressbar/APKBUILD
+++ b/testing/py-progressbar/APKBUILD
@@ -2,40 +2,27 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-progressbar
_pkgname=progressbar
-pkgver=2.2
+pkgver=2.3
pkgrel=0
-pkgdesc="A Text progressbar library for Python"
+pkgdesc="Text progress bar library for Python"
url="http://code.google.com/p/python-progressbar/"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="8ea4e2c17a8ec9e7d153767c5f2a7b28 progressbar-2.2.tar.gz"
-sha256sums="dfee5201237ca0e942baa4d451fee8bf8a54065a337fabe7378b8585aeda56a3 progressbar-2.2.tar.gz"
-sha512sums="8cf66bb1eb377f86569ef78c2b9194f359f5a41344914d97911b91713ce5ff3edada822372fa0225664db68f3dd84e982e2bbdd5c375369909552b639fde5051 progressbar-2.2.tar.gz"
+sha512sums="06fdc8b6664642bd864be8023355316fba23bcc4deb0c5877c5dfa91da5d233301a8f39342f133cbb63f37a20de7b8b24910ac8073127fcbdf43b5200d60ed5f progressbar-2.3.tar.gz"