git » python-pytest.git » commit 370be63

upgpkg: 3.6.1-1

author Felix Yan
2018-06-05 14:18:01 UTC
committer Felix Yan
2018-06-05 14:18:01 UTC
parent dba7fcb15752a4e6811f5c5693c3483155c62590

upgpkg: 3.6.1-1

PKGBUILD +4 -4

diff --git a/PKGBUILD b/PKGBUILD
index 4169825..8022808 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgbase=python-pytest
 pkgname=('python-pytest' 'python2-pytest')
-pkgver=3.6.0
+pkgver=3.6.1
 pkgrel=1
 pkgdesc="Simple powerful testing with Python"
 arch=('any')
@@ -18,7 +18,7 @@ checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' '
               '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=('39e3e48bb5f4d28e4e2e8b7ce75ef85270548e9ab6f0851b7cd42fd96b454ca56d3250b48cb803f777635077bff3aecabed277969e41c4f179f4b4be19276b8d')
+sha512sums=('37d725135ef1e0976f308dde541c593b7ad8347f988f0683dc89c113049a6560888f4e0605851898fc308781263f624506ff5f3a8bd44625aa142a0601e6b55e')
 
 prepare() {
   cp -a pytest-$pkgver{,-py2}
@@ -36,10 +36,10 @@ build() {
 
 check() {
   cd "$srcdir"/pytest-$pkgver
-  python setup.py test
+  PYTHONPATH="$PWD"/build/lib python src/pytest.py
 
   cd "$srcdir"/pytest-$pkgver-py2
-  python2 setup.py test
+  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py
 }
 
 package_python-pytest() {