[arch-commits] Commit in python-hypothesis/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 11 09:31:33 UTC 2017
Date: Sunday, June 11, 2017 @ 09:31:33
Author: felixonmars
Revision: 236184
upgpkg: python-hypothesis 3.11.1-1
Modified:
python-hypothesis/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-11 09:29:38 UTC (rev 236183)
+++ PKGBUILD 2017-06-11 09:31:33 UTC (rev 236184)
@@ -3,7 +3,7 @@
pkgbase=python-hypothesis
pkgname=('python-hypothesis' 'python2-hypothesis')
-pkgver=3.8.2
+pkgver=3.11.1
pkgrel=1
pkgdesc="Advanced Quickcheck style testing library for Python"
arch=('any')
@@ -11,14 +11,16 @@
url="https://hypothesis.readthedocs.org"
makedepends=('python-setuptools' 'python2-setuptools' 'python2-enum34')
checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'flake8' 'python2-flake8' 'python-pytz'
- 'python2-pytz' 'python-numpy' 'python2-numpy' 'python-fake-factory'
- 'python2-fake-factory' 'python-flaky' 'python2-flaky' 'python-pytest-benchmark'
- 'python2-pytest-benchmark' 'python-django' 'python2-django' 'python-pytest-xdist'
- 'python2-pytest-xdist')
+ 'python2-pytz' 'python-numpy' 'python2-numpy' 'python-faker' 'python2-faker'
+ 'python-flaky' 'python2-flaky' 'python-pytest-benchmark' 'python2-pytest-benchmark'
+ 'python-django' 'python2-django' 'python-pytest-xdist' 'python2-pytest-xdist')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis-python/archive/$pkgver.tar.gz")
-sha512sums=('9db0bdcb32eb39fe64add3942648d7d38d12392869aebdd0512668e241c2b182ce8c917ed1f65a262f3ddbc9a3fdd9fbaa7c220e06f5cc152f1c302c7fa8c2c1')
+sha512sums=('a1c5263a47cfef93c92a97e3f2b2815efc06129ad39b05ef35b48a9c4c0cd7d6e90c779ca6b76f862c79f5edb18bdcf1aa5b390c6ac189025b6b456aefe731aa')
prepare() {
+ # Always fail :/
+ sed -i 's/max_runs=5/max_runs=50/' hypothesis-python-$pkgver/tests/numpy/test_gen_data.py
+
cp -a hypothesis-python-$pkgver{,-py2}
rm -r hypothesis-python-$pkgver/tests/py2
@@ -52,7 +54,7 @@
package_python-hypothesis() {
depends=('python')
optdepends=('python-pytz: for datetime and django module'
- 'python-fake-factory: for fakefactory and django module'
+ 'python-faker: for fakefactory and django module'
'python-django: for django module'
'python-numpy: for numpy module'
'python-pytest: for pytest module')
@@ -64,7 +66,7 @@
package_python2-hypothesis() {
depends=('python2-enum34')
optdepends=('python2-pytz: for datetime and django module'
- 'python2-fake-factory: for fakefactory and django module'
+ 'python2-faker: for fakefactory and django module'
'python2-django: for django module'
'python2-numpy: for numpy module'
'python2-pytest: for pytest module')
More information about the arch-commits
mailing list