[arch-commits] Commit in python-oslotest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 27 14:28:38 UTC 2018
Date: Wednesday, June 27, 2018 @ 14:28:38
Author: felixonmars
Revision: 346370
upgpkg: python-oslotest 3.6.0-1
Modified:
python-oslotest/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-27 14:27:36 UTC (rev 346369)
+++ PKGBUILD 2018-06-27 14:28:38 UTC (rev 346370)
@@ -3,7 +3,7 @@
pkgbase=python-oslotest
pkgname=(python-oslotest python2-oslotest)
-pkgver=3.5.0
+pkgver=3.6.0
pkgrel=1
pkgdesc="Oslo test framework"
arch=('any')
@@ -10,13 +10,13 @@
url="https://github.com/openstack/oslotest"
license=('Apache')
makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-fixtures'
- 'python2-fixtures' 'python-subunit' 'python2-subunit' 'python-testrepository'
- 'python2-testrepository' 'python-testscenarios' 'python2-testscenarios'
+ 'python2-fixtures' 'python-subunit' 'python2-subunit' 'python-stestr'
+ 'python2-stestr' 'python-testscenarios' 'python2-testscenarios'
'python-testtools' 'python2-testtools' 'python-mock' 'python2-mock' 'python-mox3'
'python2-mox3' 'python-os-client-config' 'python2-os-client-config'
'python-debtcollector' 'python2-debtcollector')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslotest/archive/$pkgver.tar.gz")
-sha512sums=('7e6abec2154af980a80964c155e8b738476c68d8ddff6681c8271764d72ee9fb951e2bed3f5504f3bc28656be98dd73cec4b9dca8376f78a9366c459bd65eeff')
+sha512sums=('9dce5ddce5801e28944cba108ffb97c17ad92159cbbbc21466559d895dd37ca90674c30f814566c431c3917ba6208c38e0faee981267667cdf999f99e3f89562')
prepare() {
cp -a oslotest-$pkgver{,-py2}
@@ -34,14 +34,14 @@
check() {
cd "$srcdir"/oslotest-$pkgver
- python setup.py testr
+ stestr run
cd "$srcdir"/oslotest-$pkgver-py2
- PYTHON=python2 python2 setup.py testr
+ stestr2 run
}
package_python-oslotest() {
- depends=('python-fixtures' 'python-subunit' 'python-testrepository' 'python-testscenarios'
+ depends=('python-fixtures' 'python-subunit' 'python-stestr' 'python-testscenarios'
'python-testtools' 'python-mock' 'python-mox3' 'python-os-client-config'
'python-debtcollector')
@@ -50,7 +50,7 @@
}
package_python2-oslotest() {
- depends=('python2-fixtures' 'python2-subunit' 'python2-testrepository' 'python2-testscenarios'
+ depends=('python2-fixtures' 'python2-subunit' 'python2-stestr' 'python2-testscenarios'
'python2-testtools' 'python2-mock' 'python2-mox3' 'python2-os-client-config'
'python2-debtcollector')
More information about the arch-commits
mailing list