[arch-commits] Commit in python-os-service-types/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 8 16:11:50 UTC 2018


    Date: Wednesday, August 8, 2018 @ 16:11:50
  Author: felixonmars
Revision: 370359

upgpkg: python-os-service-types 1.3.0-1

Modified:
  python-os-service-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-08 16:09:57 UTC (rev 370358)
+++ PKGBUILD	2018-08-08 16:11:50 UTC (rev 370359)
@@ -4,18 +4,17 @@
 
 pkgbase=python-os-service-types
 pkgname=(python-os-service-types python2-os-service-types)
-pkgver=1.2.0
-pkgrel=3
+pkgver=1.3.0
+pkgrel=1
 pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
 arch=('any')
 url="https://pypi.python.org/pypi/os-service-types/$pkgver"
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock'
-              'python-testrepository' 'python2-testrepository')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock')
 options=('!emptydirs')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
-sha512sums=('f7e0aedfcf18514bb8a112a27363971361dfa4abeb05ec32f206197f07bbc55c119cf6b47058977925e77306658a83aab7619aa3a97f3581976e81ae5abef056')
+sha512sums=('b6c539d5b9facd7f400c1aeef69b9e5f5ef4acc9f7afdde6e8332838e31055a9a5f3cc521f5546bc84051eee9cf93acb02c58eb83e608ab7dbe247dc44133cb7')
 
 prepare() {
   echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
@@ -35,10 +34,10 @@
 
 check() {
   cd "$srcdir"/os-service-types-$pkgver
-  python setup.py testr
+  stestr run
 
   cd "$srcdir"/os-service-types-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
+  PYTHON=python2 stestr2 run
 }
 
 package_python-os-service-types() {



More information about the arch-commits mailing list