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

Felix Yan felixonmars at archlinux.org
Mon Dec 3 09:25:41 UTC 2018


    Date: Monday, December 3, 2018 @ 09:25:40
  Author: felixonmars
Revision: 410877

upgpkg: python-oslo-context 2.22.0-1

Modified:
  python-oslo-context/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-03 09:21:09 UTC (rev 410876)
+++ PKGBUILD	2018-12-03 09:25:40 UTC (rev 410877)
@@ -3,8 +3,8 @@
 
 pkgbase=python-oslo-context
 pkgname=(python-oslo-context python2-oslo-context)
-pkgver=2.21.0
-pkgrel=2
+pkgver=2.22.0
+pkgrel=1
 pkgdesc="OpenStack Context library"
 arch=('any')
 url="https://pypi.python.org/pypi/oslo.context/$pkgver"
@@ -11,11 +11,10 @@
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-debtcollector'
              'python2-debtcollector')
-checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest'
-              'python-testrepository' 'python2-testrepository')
+checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest')
 options=('!emptydirs')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.context/archive/$pkgver.tar.gz")
-sha512sums=('af8943894134bcf7ce533f91a4dffe5d7347225fe4b58506d18b702df580073575a50e93fda9a632d445beb0f23a2dda42b7c58c1be5d786ab1420afe93b05dd')
+sha512sums=('f88cd618cd73a21787f1c49554f1d12863a1909724e6d29be2a5011c5103b54675c521049acb50b7ae8f69c7918b7947f3a84a75d806d267c30015e366d7c971')
 
 prepare() {
   cp -a oslo.context-$pkgver{,-py2}
@@ -33,10 +32,10 @@
 
 check() {
   cd "$srcdir"/oslo.context-$pkgver
-  python setup.py testr
+  stestr run
 
   cd "$srcdir"/oslo.context-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
+  PYTHON=python2 stestr2 run
 }
 
 package_python-oslo-context() {


More information about the arch-commits mailing list