[arch-commits] Commit in python-osc-lib/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 20 03:22:25 UTC 2018
Date: Friday, July 20, 2018 @ 03:22:25
Author: felixonmars
Revision: 362494
upgpkg: python-osc-lib 1.11.0-1
Modified:
python-osc-lib/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-20 03:22:20 UTC (rev 362493)
+++ PKGBUILD 2018-07-20 03:22:25 UTC (rev 362494)
@@ -4,8 +4,8 @@
pkgbase=python-osc-lib
pkgname=(python-osc-lib python2-osc-lib)
-pkgver=1.10.0
-pkgrel=2
+pkgver=1.11.0
+pkgrel=1
pkgdesc="OpenStackClient Library"
arch=('any')
url="https://docs.openstack.org/osc-lib/latest/"
@@ -19,7 +19,7 @@
checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock'
'python2-requests-mock' 'python-testrepository' 'python2-testrepository')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/osc-lib/archive/$pkgver.tar.gz")
-sha512sums=('fed6caed0a6ddc1afd0912fb2e8327592d7c8fe9274b92a47a6b17f957ffccb355d534397cc2c708279b079928973503e3bdebad5f8c0fd2ee47557b9e426ce1')
+sha512sums=('6b837b99b6fb59e2db3964d0c0ac14f0f457c80bcffe958f8e1b258ada82d93e1738a2763805f0af99ed0951136f687c85907179cab813c0a75e2694476dbaea')
prepare() {
cp -a osc-lib-$pkgver{,-py2}
@@ -37,10 +37,10 @@
check() {
cd "$srcdir"/osc-lib-$pkgver
- python setup.py testr || warning "Tests failed"
+ stestr run || warning "Tests failed"
cd "$srcdir"/osc-lib-$pkgver-py2
- PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+ PYTHON=python2 stestr2 run || warning "Tests failed"
}
package_python-osc-lib() {
More information about the arch-commits
mailing list