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

Felix Yan felixonmars at archlinux.org
Fri Jul 20 03:31:59 UTC 2018


    Date: Friday, July 20, 2018 @ 03:31:59
  Author: felixonmars
Revision: 362503

upgpkg: python-oslo-i18n 3.21.0-1

Modified:
  python-oslo-i18n/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-20 03:30:36 UTC (rev 362502)
+++ PKGBUILD	2018-07-20 03:31:59 UTC (rev 362503)
@@ -4,8 +4,8 @@
 
 pkgbase=python-oslo-i18n
 pkgname=(python-oslo-i18n python2-oslo-i18n)
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.21.0
+pkgrel=1
 pkgdesc="Oslo i18n library"
 arch=('any')
 url="https://pypi.python.org/pypi/oslo.i18n/$pkgver"
@@ -13,10 +13,10 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
              'python2-babel')
 checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
-              'python2-oslo-config' 'python-testrepository' 'python2-testrepository')
+              'python2-oslo-config')
 options=('!emptydirs')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.i18n/archive/$pkgver.tar.gz")
-sha512sums=('d639970e657340db7df50e884ffa69d02168875b5085d056ab4112523877ac93ca55cc5c14c73f3bff1d68fb2ecd581d91a30437acec51678ff3b47e6c8716ce')
+sha512sums=('e6335b700280bc4b6f6484a08b006735b4a178236d62f3e857fe1d59bd60fc03627282d5ec748a1ba09a4b44a58d29e0b2523cf01fddcc328b50e3f0685347e7')
 
 prepare() {
   cp -a oslo.i18n-$pkgver{,-py2}
@@ -34,10 +34,10 @@
 
 check() {
   cd "$srcdir"/oslo.i18n-$pkgver
-  python setup.py testr
+  stestr run
 
   cd "$srcdir"/oslo.i18n-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
+  PYTHON=python2 stestr2 run
 }
 
 package_python-oslo-i18n() {



More information about the arch-commits mailing list