[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Feb 3 22:35:03 UTC 2019
Date: Sunday, February 3, 2019 @ 22:35:02
Author: felixonmars
Revision: 429526
upgpkg: python-hypothesis 4.5.0-1
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-03 21:40:21 UTC (rev 429525)
+++ PKGBUILD 2019-02-03 22:35:02 UTC (rev 429526)
@@ -2,7 +2,7 @@
pkgbase=python-hypothesis
pkgname=('python-hypothesis' 'python2-hypothesis')
-pkgver=4.4.6
+pkgver=4.5.0
pkgrel=1
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
@@ -17,7 +17,7 @@
'python2-dpcontracts' 'python-pytest-xdist' 'python2-pytest-xdist'
'python-lark-parser' 'python2-lark-parser')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('45cd0d0ae463009bbea8dfc0063840969e2548992becaaecad3aa1649d4c2db539b059d47bcd908a7b21cee621763130c2a555942f0fd6046fb2728694ab2d12')
+sha512sums=('5db8fc2c85cf44b2d6638503a5d44326a3e3f7fc8d9246b108eb1ce7eea57d71037fbedf6c8fdfc98faaf509a68a7bbbf08cc05030086d057834a0c9897bbf82')
prepare() {
mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
@@ -43,11 +43,12 @@
mv tests/django ../
python setup.py pytest
mv ../django tests/
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django || warning "Tests failed"
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django
cd "$srcdir"/hypothesis-$pkgver-py2/hypothesis-python
mv tests/django ../
- python2 setup.py pytest
+ # 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
}
More information about the arch-commits
mailing list