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

Felix Yan felixonmars at archlinux.org
Tue Aug 21 14:30:38 UTC 2018


    Date: Tuesday, August 21, 2018 @ 14:30:37
  Author: felixonmars
Revision: 373137

upgpkg: python-tenacity 5.0.1-1

Modified:
  python-tenacity/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-21 14:23:21 UTC (rev 373136)
+++ PKGBUILD	2018-08-21 14:30:37 UTC (rev 373137)
@@ -3,8 +3,8 @@
 
 pkgbase=python-tenacity
 pkgname=('python-tenacity' 'python2-tenacity')
-pkgver=4.12.0
-pkgrel=2
+pkgver=5.0.1
+pkgrel=1
 pkgdesc='Retry code until it succeeeds'
 arch=('any')
 license=('Apache')
@@ -11,9 +11,9 @@
 url='https://github.com/jd/tenacity'
 makedepends=('python-setuptools' 'python2-setuptools' 'python2-futures' 'python2-monotonic'
              'python-pbr' 'python2-pbr')
-checkdepends=('python-nose' 'python2-nose' 'python-tornado' 'python2-tornado')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-tornado' 'python2-tornado')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/tenacity/archive/$pkgver.tar.gz")
-sha512sums=('d8cb4a9d3ad1d59b1642394ca4a7c43426f6a1db3aaceb4864de562f9063af124312a144e751190ea9c35167827438e6b43f1d54a607d021de1e9c3650682c2d')
+sha512sums=('b0a0ce2b6dd8cc70066ba7da4255792b9f6c2a0c636345040f7ee8201386061f2f86c3b5b931331f55ad7fd0ae63776c31cf05c437624edc88fc4e1324e5ab05')
 
 prepare() {
   cp -a tenacity-$pkgver{,-py2}
@@ -31,10 +31,10 @@
 
 check() {
   cd "$srcdir"/tenacity-$pkgver
-  python setup.py nosetests
+  python setup.py pytest
 
   cd "$srcdir"/tenacity-$pkgver-py2
-  python2 setup.py nosetests --ignore-files '.*asyncio.py'
+  python2 setup.py pytest --addopts '--ignore=tenacity/tests/test_asyncio.py'
 }
 
 package_python-tenacity() {



More information about the arch-commits mailing list