[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 10:54:21 UTC 2020
Date: Thursday, February 13, 2020 @ 10:54:21
Author: felixonmars
Revision: 570071
upgpkg: python-subunit2sql 1.10.0-4: disable tests for python2
Modified:
python-subunit2sql/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 10:54:17 UTC (rev 570070)
+++ PKGBUILD 2020-02-13 10:54:21 UTC (rev 570071)
@@ -4,7 +4,7 @@
pkgbase=python-subunit2sql
pkgname=(python-subunit2sql python2-subunit2sql)
pkgver=1.10.0
-pkgrel=3
+pkgrel=4
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,20 +14,18 @@
'python2-sqlalchemy' 'python-oslo-config' 'python2-oslo-config' 'python-dateutil'
'python2-dateutil' 'python-subunit' 'python2-subunit' 'python-oslo-db'
'python2-oslo-db')
-checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock'
- 'python-testresources' 'python2-testresources' 'python-testscenarios'
- 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency'
- 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql')
+checkdepends=('python-stestr' 'python-mock' 'python-testresources' 'python-testscenarios'
+ 'python-oslo-concurrency' 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz"
fix-migrations-test.patch)
sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363'
'0891880f0ff329a4236a73f88a90ffc4522c123b52e08675609816649934b20fc7ccbd9d5141341bc7a96c6acd32e40b227e61634fbd803e8b7c659e42ea0668')
+export PBR_VERSION=$pkgver
+
prepare() {
patch -Np1 -d subunit2sql-$pkgver <fix-migrations-test.patch
cp -a subunit2sql-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
}
build() {
@@ -39,11 +37,8 @@
}
check() {
- cd "$srcdir"/subunit2sql-$pkgver
+ cd subunit2sql-$pkgver
pifpaf run mysql pifpaf run postgresql stestr run
-
- cd "$srcdir"/subunit2sql-$pkgver-py2
- PYTHON=python2 pifpaf run mysql pifpaf run postgresql stestr2 run
}
package_python-subunit2sql() {
More information about the arch-commits
mailing list