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

Felix Yan felixonmars at archlinux.org
Tue Sep 25 01:26:11 UTC 2018


    Date: Tuesday, September 25, 2018 @ 01:26:10
  Author: felixonmars
Revision: 384741

upgpkg: python-oslo-serialization 2.28.0-1

Modified:
  python-oslo-serialization/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-25 01:25:03 UTC (rev 384740)
+++ PKGBUILD	2018-09-25 01:26:10 UTC (rev 384741)
@@ -2,8 +2,8 @@
 
 pkgbase=python-oslo-serialization
 pkgname=(python-oslo-serialization python2-oslo-serialization)
-pkgver=2.27.0
-pkgrel=2
+pkgver=2.28.0
+pkgrel=1
 pkgdesc="Oslo Serialization library"
 arch=('any')
 url="http://docs.openstack.org/developer/oslo.serialization"
@@ -11,10 +11,9 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
              'python2-babel' 'python-msgpack' 'python2-msgpack' 'python-oslo-utils'
              'python2-oslo-utils' 'python-pytz' 'python2-pytz')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python2-ipaddress'
-              'python-testrepository' 'python2-testrepository')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python2-ipaddress')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.serialization/archive/$pkgver.tar.gz")
-sha512sums=('46cec3ad6b2bf256484539d38cb38dc71c234e8101be08416ea8c6253f388014904faf81254d768fc27f6611bf0e9e03f580c0c7dc9187a2db3debf9075ecee1')
+sha512sums=('ee2f93fbfc5a5925fc6d7dbb5d622304e30e14d44e36372e5f90ce3daddb7aa7fea831b23548917ac983ebbe95b11e8435dc275d73e518b3c441a924bb4b1fc1')
 
 export PBR_VERSION=$pkgver
 
@@ -32,10 +31,10 @@
 
 check() {
   cd "$srcdir"/oslo.serialization-$pkgver
-  python setup.py testr || warning "Tests failed"
+  stestr run || warning "Tests failed"
 
   cd "$srcdir"/oslo.serialization-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
+  PYTHON=python2 stestr2 run
 }
 
 package_python-oslo-serialization() {



More information about the arch-commits mailing list