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

Felix Yan felixonmars at archlinux.org
Wed Feb 26 22:49:24 UTC 2020


    Date: Wednesday, February 26, 2020 @ 22:49:24
  Author: felixonmars
Revision: 583498

upgpkg: python2-pytest 4.6.8-3: disable python2 tests

Modified:
  python2-pytest/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-26 22:49:11 UTC (rev 583497)
+++ PKGBUILD	2020-02-26 22:49:24 UTC (rev 583498)
@@ -3,7 +3,7 @@
 
 pkgname=python2-pytest
 pkgver=4.6.8
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple powerful testing with Python"
 arch=('any')
 license=('MIT')
@@ -12,10 +12,6 @@
          'python2-atomicwrites' 'python2-wcwidth' 'python2-funcsigs' 'python2-pathlib2'
          'python2-importlib-metadata')
 makedepends=('python2-setuptools-scm')
-checkdepends=('lsof' 'python2-nose' 'python2-mock' 'python2-requests' 'python2-hypothesis'
-              # Unlisted, but actually used. Check again after a while:
-              'python2-numpy' 'python2-twisted' 'python2-pytest-xdist' 'python2-decorator'
-              'python2-jinja' 'python2-pexpect')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest/archive/$pkgver.tar.gz"
         module-rewrite.patch::https://github.com/pytest-dev/pytest/pull/6313.patch)
 sha512sums=('b6280ba1dec3f49bb54639d87e22936f655b2e67829e658715e151d70916b826b19cbc43812c17ead748e7927d5aab0b28f1a3a1059548400c71cd3830956230'
@@ -36,14 +32,6 @@
   python2 setup.py build
 }
 
-check() {
-  # Skip test_collect_pyargs_with_testpaths because it mangles PYTHONPATH
-
-  cd pytest-$pkgver
-  python2 setup.py egg_info
-  PYTHONPATH="$PWD"/build/lib python2 src/pytest.py -k 'not test_collect_pyargs_with_testpaths'
-}
-
 package() {
   cd pytest-$pkgver
   python2 setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list