[arch-commits] Commit in python-progress/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Mar 6 21:20:57 UTC 2019


    Date: Wednesday, March 6, 2019 @ 21:20:56
  Author: eschwartz
Revision: 437902

upgpkg: python-progress 1.5-1

upstream release
add testsuite

Modified:
  python-progress/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-06 20:33:36 UTC (rev 437901)
+++ PKGBUILD	2019-03-06 21:20:56 UTC (rev 437902)
@@ -4,8 +4,8 @@
 _pkgname=progress
 pkgbase=python-progress
 pkgname=('python-progress' 'python2-progress')
-pkgver=1.4
-pkgrel=2
+pkgver=1.5
+pkgrel=1
 pkgdesc="Easy to use progress bars for Python"
 arch=('any')
 url="https://github.com/verigak/${_pkgname}"
@@ -12,7 +12,7 @@
 license=('ISC')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('617c0442f2de21a029c75ce6fef17b46535829336ed497edc3e5835402e4f0ea')
+sha256sums=('e90987f203a91a80550d4d68b4e74bfc901ce0e246631a1291427097cffb891b')
 
 build() {
     cd "${srcdir}"/${_pkgname}-${pkgver}
@@ -21,6 +21,13 @@
     python2 setup.py build
 }
 
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python test_progress.py
+    python2 test_progress.py
+}
+
 package_python-progress() {
     depends=('python')
 


More information about the arch-commits mailing list