[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jan 10 12:03:27 UTC 2019
Date: Thursday, January 10, 2019 @ 12:03:26
Author: felixonmars
Revision: 421634
upgpkg: python-hypothesis 3.87.0-1
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-10 12:00:23 UTC (rev 421633)
+++ PKGBUILD 2019-01-10 12:03:26 UTC (rev 421634)
@@ -2,7 +2,7 @@
pkgbase=python-hypothesis
pkgname=('python-hypothesis' 'python2-hypothesis')
-pkgver=3.86.6
+pkgver=3.87.0
pkgrel=1
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
@@ -12,17 +12,15 @@
'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-pytest-xdist'
- 'python2-pytest-xdist' 'python-mock' 'python2-mock' 'python-pandas' 'python2-pandas'
- 'python-dpcontracts' 'python2-dpcontracts')
+ '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')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
-sha512sums=('3358ba4a0b28000b766eff76fd47b671b325384c31c1a77f50dd1bbed75d12ea38d667aa478d7750be65cb357d030d39a2c0b7a484678d87e30b9111ab9bf344')
+sha512sums=('124ac79fe0bba3e65a7557b8aac237d313fefe69f5e4d3e0ac43abcb970703feadd399bab052f8277bd25db554fcfd2533f3a0a98514f1a5bceea09318799485')
prepare() {
mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
- sed -i "/FutureWarning/a \ filterwarnings('ignore', category=DeprecationWarning, module='pandas.core')" hypothesis-$pkgver/hypothesis-python/tests/common/setup.py
-
cp -a hypothesis-$pkgver{,-py2}
rm -r hypothesis-$pkgver/hypothesis-python/tests/py2
@@ -42,13 +40,13 @@
check() {
cd "$srcdir"/hypothesis-$pkgver/hypothesis-python
mv tests/django ../
- python setup.py pytest --addopts -n16
+ python setup.py pytest
mv ../django tests/
PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m tests.django.manage test tests.django || warning "Tests failed"
cd "$srcdir"/hypothesis-$pkgver-py2/hypothesis-python
mv tests/django ../
- python2 setup.py pytest --addopts -n16
+ python2 setup.py pytest
mv ../django tests/
PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m tests.django.manage test tests.django
}
More information about the arch-commits
mailing list