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

Felix Yan felixonmars at archlinux.org
Sat May 25 04:50:52 UTC 2019


    Date: Saturday, May 25, 2019 @ 04:50:52
  Author: felixonmars
Revision: 469710

upgpkg: python-hypothesis 4.23.6-2

disable python2 tests

Modified:
  python-hypothesis/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 04:46:07 UTC (rev 469709)
+++ PKGBUILD	2019-05-25 04:50:52 UTC (rev 469710)
@@ -3,7 +3,7 @@
 pkgbase=python-hypothesis
 pkgname=('python-hypothesis' 'python2-hypothesis')
 pkgver=4.23.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Advanced Quickcheck style testing library for Python"
 arch=('any')
 license=('MPL')
@@ -10,12 +10,9 @@
 url="https://hypothesis.readthedocs.org"
 makedepends=('python-setuptools' 'python2-setuptools' 'python-attrs' 'python2-attrs'
              'python-coverage' 'python2-coverage' 'python2-enum34')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'flake8' 'python2-flake8' 'python-pytz'
-              'python2-pytz' 'python-numpy' 'python2-numpy' 'python-faker' 'python2-faker'
-              'python-flaky' 'python2-flaky' 'python-django' 'python2-django' 'python-mock'
-              'python2-mock' 'python-pandas' 'python2-pandas' 'python-dpcontracts'
-              'python2-dpcontracts' 'python-pytest-xdist' 'python2-pytest-xdist'
-              'python-lark-parser' 'python2-lark-parser')
+checkdepends=('python-pytest-runner' 'flake8' 'python-pytz' 'python-numpy' 'python-faker'
+              'python-flaky' 'python-django' 'python-mock' 'python-pandas' 'python-dpcontracts'
+              'python-pytest-xdist' 'python-lark-parser')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
 sha512sums=('f4e105a82b960d4f7e143f706ca0a11d909df42219c25d530ce296df47a1eea0d23dba6bfc2d01fb19ae3c406f9c5e675d55618e4111ec6bb201d46a63c5a347')
 
@@ -39,18 +36,11 @@
 }
 
 check() {
-  cd "$srcdir"/hypothesis-$pkgver/hypothesis-python
+  cd hypothesis-$pkgver/hypothesis-python
   mv tests/django ../
   python setup.py pytest
   mv ../django tests/
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django
-
-  cd "$srcdir"/hypothesis-$pkgver-py2/hypothesis-python
-  mv tests/django ../
-  # https://github.com/python/typing/issues/612
-  python2 setup.py pytest || warning "Tests failed"
-  mv ../django tests/
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m tests.django.manage test tests.django
 }
 
 package_python-hypothesis() {



More information about the arch-commits mailing list