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

Felix Yan felixonmars at archlinux.org
Fri May 24 17:20:46 UTC 2019


    Date: Friday, May 24, 2019 @ 17:20:45
  Author: felixonmars
Revision: 469652

upgpkg: python-pytest-runner 5.1-1

Modified:
  python-pytest-runner/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-24 17:19:07 UTC (rev 469651)
+++ PKGBUILD	2019-05-24 17:20:45 UTC (rev 469652)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pytest-runner
 pkgname=('python-pytest-runner' 'python2-pytest-runner')
-pkgver=4.4
+pkgver=5.1
 pkgrel=1
 pkgdesc="Invoke py.test as distutils command with dependency resolution"
 arch=('any')
@@ -9,10 +9,9 @@
 license=('MIT')
 url="https://github.com/pytest-dev/pytest-runner"
 makedepends=('python-pytest' 'python2-pytest' 'python-setuptools-scm' 'python2-setuptools-scm')
-checkdepends=('python-pytest-virtualenv' 'python2-pytest-virtualenv' 'python-pytest-flake8'
-              'python2-pytest-flake8')
+checkdepends=('python-pytest-black' 'python-pytest-virtualenv' 'python-pytest-flake8')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-runner/archive/$pkgver.tar.gz")
-sha512sums=('a369bea32accebc0cb1184ca6fbc7c73c9385c2745f14e1102c3da96ce0a41b901d0b20eaef1e0eecb06f448414624b3edb14f34829c1dc8953c0d472dc38862')
+sha512sums=('79806b6370e2378b5f230181e265e3046739ebc3ece729d1e3805510b5fb2d34022d60b9071a5a036f3b2604ffedf14b403e9910f0c56a58adc5c51c84866146')
 
 prepare() {
   cp -a pytest-runner-$pkgver{,-py2}
@@ -29,13 +28,9 @@
 }
 
 check() {
-  cd "$srcdir"/pytest-runner-$pkgver
+  cd pytest-runner-$pkgver
   python setup.py egg_info
   PYTHONPATH="$PWD" pytest
-
-  cd "$srcdir"/pytest-runner-$pkgver-py2
-  python2 setup.py egg_info
-  PYTHONPATH="$PWD" pytest2
 }
 
 package_python-pytest-runner() {



More information about the arch-commits mailing list