Date: Monday, August 14, 2017 @ 01:36:25 Author: felixonmars Revision: 250094
upgpkg: python-pytest-xdist 1.19.1-2 Fix dependency on pytest-forked Modified: python-pytest-xdist/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-08-14 01:01:44 UTC (rev 250093) +++ PKGBUILD 2017-08-14 01:36:25 UTC (rev 250094) @@ -4,13 +4,13 @@ pkgbase=python-pytest-xdist pkgname=('python-pytest-xdist' 'python2-pytest-xdist') pkgver=1.19.1 -pkgrel=1 +pkgrel=2 pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing modes' arch=('any') license=('MIT') url='https://bitbucket.org/pytest-dev/pytest-xdist' makedepends=('python-pytest' 'python2-pytest' 'python-setuptools_scm' 'python2-setuptools_scm' - 'python-execnet' 'python2-execnet') + 'python-execnet' 'python2-execnet' 'python-pytest-forked' 'python2-pytest-forked') source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver.tar.gz") sha512sums=('3c61f7f23bcb0f4fa761c0ab77b48117452c4f4db53699cb55ccc62a28279e15356d6f9cbd7b9f14fc69ae981fac4f18bcac3d214149d8ecef6a02d2293c6ca6') @@ -30,19 +30,18 @@ check() { # Hack entry points by installing it - # https://github.com/pytest-dev/pytest-xdist/issues/163 cd "$srcdir"/pytest-xdist-$pkgver python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test || warning "Tests failed" + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test cd "$srcdir"/pytest-xdist-$pkgver-py2 python2 setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 || warning "Tests failed" + PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2 } package_python-pytest-xdist() { - depends=('python-pytest' 'python-execnet') + depends=('python-pytest-forked' 'python-execnet') cd pytest-xdist-$pkgver python setup.py install --root="$pkgdir" --optimize=1 @@ -50,7 +49,7 @@ } package_python2-pytest-xdist() { - depends=('python2-pytest' 'python2-execnet') + depends=('python2-pytest-forked' 'python2-execnet') cd pytest-xdist-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1