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

Felix Yan felixonmars at archlinux.org
Mon Sep 17 18:09:41 UTC 2018


    Date: Monday, September 17, 2018 @ 18:09:40
  Author: felixonmars
Revision: 382671

upgpkg: python-subunit2sql 1.10.0-1

Modified:
  python-subunit2sql/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-17 18:05:45 UTC (rev 382670)
+++ PKGBUILD	2018-09-17 18:09:40 UTC (rev 382671)
@@ -3,8 +3,8 @@
 
 pkgbase=python-subunit2sql
 pkgname=(python-subunit2sql python2-subunit2sql)
-pkgver=1.9.0
-pkgrel=2
+pkgver=1.10.0
+pkgrel=1
 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB"
 arch=('any')
 url="https://pypi.python.org/pypi/subunit2sql"
@@ -14,11 +14,12 @@
              'python2-sqlalchemy' 'python-oslo-config' 'python2-oslo-config' 'python-dateutil'
              'python2-dateutil' 'python-subunit' 'python2-subunit' 'python-oslo-db'
              'python2-oslo-db')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock'
+checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock'
               'python-testresources' 'python2-testresources' 'python-testscenarios'
-              'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency')
+              'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency'
+              'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz")
-sha512sums=('5ab4e7cfa0a722a7b13ea4a9589278ab6b9b712c5a828f5a666f1a0c48f6b1c93a9af6e61c0f98cff3d3d32d62d19b13198a5a6a7ed9be6326e747e151f66e73')
+sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363')
 
 prepare() {
   cp -a subunit2sql-$pkgver{,-py2}
@@ -36,10 +37,10 @@
 
 check() {
   cd "$srcdir"/subunit2sql-$pkgver
-  python setup.py testr || warning "Tests failed"
+  pifpaf run mysql pifpaf run postgresql stestr run
 
   cd "$srcdir"/subunit2sql-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+  PYTHON=python2 pifpaf run mysql pifpaf run postgresql stestr2 run
 }
 
 package_python-subunit2sql() {



More information about the arch-commits mailing list