[arch-commits] Commit in python-pytest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 27 21:05:12 UTC 2018
Date: Tuesday, November 27, 2018 @ 21:05:11
Author: felixonmars
Revision: 410108
upgpkg: python-pytest 4.0.1-1
Modified:
python-pytest/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-27 21:04:11 UTC (rev 410107)
+++ PKGBUILD 2018-11-27 21:05:11 UTC (rev 410108)
@@ -3,7 +3,7 @@
pkgbase=python-pytest
pkgname=('python-pytest' 'python2-pytest')
-pkgver=4.0.0
+pkgver=4.0.1
pkgrel=1
pkgdesc="Simple powerful testing with Python"
arch=('any')
@@ -18,7 +18,7 @@
'python2-pytest-xdist' 'python-twisted' 'python2-twisted' 'python-requests'
'python2-requests' 'python-hypothesis' 'python2-hypothesis')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz")
-sha512sums=('7d2e96a7d117947b7531dfc3500e7317db2a840af599259a38b49ebb2b652d5357c5643a73c054e9aae8851acf889484a329cae071903dbba6292986cfabc877')
+sha512sums=('7b8d9cb60012392371d15845251e0c27441616b1db1e111317625f9c92548982439aad6ed88c472948f041614cb53081adb0a416c8b80b4d3dc1c221b97e8c7a')
prepare() {
cp -a pytest-$pkgver{,-py2}
@@ -35,11 +35,13 @@
}
check() {
+ # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
+
cd "$srcdir"/pytest-$pkgver
- PYTHONPATH="$PWD"/build/lib python src/pytest.py
+ PYTHONPATH="$PWD"/build/lib python src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
cd "$srcdir"/pytest-$pkgver-py2
- PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
+ PYTHONPATH="$PWD"/build/lib python2 src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
}
package_python-pytest() {
More information about the arch-commits
mailing list