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

Felix Yan felixonmars at archlinux.org
Wed Apr 25 11:33:28 UTC 2018


    Date: Wednesday, April 25, 2018 @ 11:33:28
  Author: felixonmars
Revision: 317910

upgpkg: python-tenacity 4.11.0-1

Modified:
  python-tenacity/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-25 11:32:56 UTC (rev 317909)
+++ PKGBUILD	2018-04-25 11:33:28 UTC (rev 317910)
@@ -3,7 +3,7 @@
 
 pkgbase=python-tenacity
 pkgname=('python-tenacity' 'python2-tenacity')
-pkgver=4.10.0
+pkgver=4.11.0
 pkgrel=1
 pkgdesc='Retry code until it succeeeds'
 arch=('any')
@@ -13,12 +13,10 @@
              'python-pbr' 'python2-pbr')
 checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/tenacity/archive/$pkgver.tar.gz")
-sha512sums=('38dc730145b0f2906a1cf7e0388d0ff1b66daa2555ffac4439d9235a8da77f0c97961338255879f6a6f33a17df46bab64589177db412057e7c781f985054723c')
+sha512sums=('68e0751bb00e4006ac9e0144b3c970917ce55c6003c7ff40951a84b590efe5e070a38ea87957cee06ec0a03f3a568332a5701fe3da6196f3133f3ec9eb6f0d47')
 
 prepare() {
   cp -a tenacity-$pkgver{,-py2}
-  sed -i '/monotonic/d' tenacity-$pkgver/requirements.txt
-  sed -i 's/from monotonic import monotonic/from time import monotonic/' tenacity-$pkgver/tenacity/{__init__,async,tornadoweb}.py
 
   export PBR_VERSION=$pkgver
 }
@@ -36,7 +34,7 @@
   python setup.py nosetests
 
   cd "$srcdir"/tenacity-$pkgver-py2
-  python2 setup.py nosetests --ignore-files '.*async.py'
+  python2 setup.py nosetests --ignore-files '.*asyncio.py'
 }
 
 package_python-tenacity() {



More information about the arch-commits mailing list