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

Felix Yan felixonmars at archlinux.org
Tue Jun 5 14:18:01 UTC 2018


    Date: Tuesday, June 5, 2018 @ 14:18:01
  Author: felixonmars
Revision: 340519

upgpkg: python-pytest 3.6.1-1

Modified:
  python-pytest/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-05 14:08:33 UTC (rev 340518)
+++ PKGBUILD	2018-06-05 14:18:01 UTC (rev 340519)
@@ -4,7 +4,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')
@@ -19,7 +19,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=('39e3e48bb5f4d28e4e2e8b7ce75ef85270548e9ab6f0851b7cd42fd96b454ca56d3250b48cb803f777635077bff3aecabed277969e41c4f179f4b4be19276b8d')
+sha512sums=('37d725135ef1e0976f308dde541c593b7ad8347f988f0683dc89c113049a6560888f4e0605851898fc308781263f624506ff5f3a8bd44625aa142a0601e6b55e')
 
 prepare() {
   cp -a pytest-$pkgver{,-py2}
@@ -37,10 +37,10 @@
 
 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() {



More information about the arch-commits mailing list