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

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


    Date: Friday, July 20, 2018 @ 03:10:58
  Author: felixonmars
Revision: 362484

upgpkg: python-debtcollector 1.20.0-1

Modified:
  python-debtcollector/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-20 03:05:44 UTC (rev 362483)
+++ PKGBUILD	2018-07-20 03:10:58 UTC (rev 362484)
@@ -3,8 +3,8 @@
 
 pkgbase=python-debtcollector
 pkgname=('python-debtcollector' 'python2-debtcollector')
-pkgver=1.19.0
-pkgrel=2
+pkgver=1.20.0
+pkgrel=1
 arch=('any')
 pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
 url='http://docs.openstack.org/developer/debtcollector'
@@ -11,10 +11,9 @@
 license=('Apache')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
              'python2-babel' 'python-wrapt' 'python2-wrapt' 'python2-funcsigs')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-testrepository'
-              'python2-testrepository')
+checkdepends=('python-oslotest' 'python2-oslotest')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/debtcollector/archive/$pkgver.tar.gz")
-sha512sums=('90e11584c22bc0947599fc5b7ecd44eae9cb82f6a26b32aa6a56a1698dde47ad1a00fe90d10dc46ddb816c19445a4563c22d2360ae1688c76ffb5695f6048b59')
+sha512sums=('d3237ec7b3c889ea17ce0950a9df773436963fdc54fa5509b06c48fe9e52e480d8a5545eef11af2a2b3289a0af3d9e79661bc8621f30ec32af2eb25653963980')
 
 prepare() {
   cp -a debtcollector-$pkgver{,-py2}
@@ -32,10 +31,10 @@
 
 check() {
   cd "$srcdir"/debtcollector-$pkgver
-  python setup.py testr
+  stestr run
 
   cd "$srcdir"/debtcollector-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
+  stestr2 run
 }
 
 package_python-debtcollector() {



More information about the arch-commits mailing list