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

Felix Yan felixonmars at archlinux.org
Tue Sep 25 00:30:52 UTC 2018


    Date: Tuesday, September 25, 2018 @ 00:30:51
  Author: felixonmars
Revision: 384701

upgpkg: python-oslo-concurrency 3.28.0-1

Modified:
  python-oslo-concurrency/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-25 00:28:55 UTC (rev 384700)
+++ PKGBUILD	2018-09-25 00:30:51 UTC (rev 384701)
@@ -3,8 +3,8 @@
 
 pkgbase=python-oslo-concurrency
 pkgname=(python-oslo-concurrency python2-oslo-concurrency)
-pkgver=3.27.0
-pkgrel=2
+pkgver=3.28.0
+pkgrel=1
 pkgdesc="OpenStack library for all concurrency-related code"
 arch=('any')
 url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver"
@@ -13,11 +13,12 @@
              'python2-oslo-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils'
              'python2-oslo-utils' 'python-fasteners' 'python2-fasteners' 'python2-enum34')
 checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
-              'python2-oslo-config' 'python-eventlet' 'python2-eventlet' 'python-testrepository'
-              'python2-testrepository')
+              'python2-oslo-config' 'python-eventlet' 'python2-eventlet' 'python-dnspython'
+              'python2-dnspython')
+# dnspython were added for FS#60185
 options=('!emptydirs')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
-sha512sums=('9b17243e18e3550c8251de02d37e650feea390dcd70573b2fe0a74af66ccaea199e3cc4b53f2b8e3d774d825118ef6f67cd23842b2f683f51ef1d6d4d39fe175')
+sha512sums=('a893078694ea2860a06fe2e7a92fbec81e0081c92ecf57bfabe381346673c4c3cd7c3788ec9a2ae4912662a2b2236ebb11c799e15f733030cbd06f01fffe0afd')
 
 prepare() {
   cp -a oslo.concurrency-$pkgver{,-py2}
@@ -35,10 +36,10 @@
 
 check() {
   cd "$srcdir"/oslo.concurrency-$pkgver
-  python setup.py testr || warning "Tests failed"
+  stestr run || warning "1 failure about raising rlimit"
 
   cd "$srcdir"/oslo.concurrency-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+  PYTHON=python2 stestr2 run || warning "1 failure about raising rlimit"
 }
 
 package_python-oslo-concurrency() {



More information about the arch-commits mailing list