[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 11 06:38:23 UTC 2018
Date: Friday, May 11, 2018 @ 06:38:22
Author: felixonmars
Revision: 320520
upgpkg: python-hypothesis 3.56.8-1
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-11 06:35:47 UTC (rev 320519)
+++ PKGBUILD 2018-05-11 06:38:22 UTC (rev 320520)
@@ -3,7 +3,7 @@
pkgbase=python-hypothesis
pkgname=('python-hypothesis' 'python2-hypothesis')
-pkgver=3.56.7
+pkgver=3.56.8
pkgrel=1
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
@@ -16,12 +16,11 @@
'python-flaky' 'python2-flaky' 'python-pytest-benchmark' 'python2-pytest-benchmark'
'python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist'
'python-mock' 'python2-mock' 'python-pandas' 'python2-pandas')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/$pkgver.tar.gz")
-sha512sums=('84a8edea85884b13d3e465b68c60b13f1928683f3fbf68339700d9c440383ab1a32c55b523e8e93f60f3a30961f75b598f2845e7d9845b6f58d83952b87d6da3')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz")
+sha512sums=('8a3834fa9f74ea351ff04d00ca1e17b97317a8733a5665f12b7ab8b132a6f10d5db7d05aa429a166d9cfe05d9cf4c5177c294108e3be77f0be5a5c3b1cdff499')
prepare() {
- # Make tests faster
- sed -i 's/ -n 2$/ -n 16/' hypothesis-$pkgver/hypothesis-python/tox.ini
+ mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
cp -a hypothesis-$pkgver{,-py2}
@@ -42,13 +41,13 @@
check() {
cd "$srcdir"/hypothesis-$pkgver/hypothesis-python
mv tests/django ../
- python setup.py pytest
+ python setup.py pytest --addopts -n16
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 ../
- python2 setup.py pytest
+ python2 setup.py pytest --addopts -n16
mv ../django tests/
PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m tests.django.manage test tests.django
}
More information about the arch-commits
mailing list