python-hypothesis: update to 4.1.0.
This commit is contained in:
parent
6efe7534b7
commit
632a47132f
1 changed files with 4 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-hypothesis'
|
||||
pkgname=python-hypothesis
|
||||
version=4.0.1
|
||||
version=4.1.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="hypothesis-hypothesis-python-${version}"
|
||||
|
@ -17,15 +17,12 @@ license="MPL-2.0"
|
|||
homepage="https://hypothesis.works/"
|
||||
changelog="https://github.com/HypothesisWorks/hypothesis/raw/master/hypothesis-python/docs/changes.rst"
|
||||
distfiles="https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-${version}.tar.gz"
|
||||
checksum=3326b1dbd0509604ab5eb1c137bf36171b586ee507fa4582a023bc067396c58a
|
||||
checksum=85a643133bae801d78613a398bbdd3678e596eb87f24df1eca7e8cdf6fa36618
|
||||
|
||||
do_check() {
|
||||
# pytest doesn't recognize -n switch
|
||||
sed -i 's/ -n 2$//' tox.ini
|
||||
|
||||
# In python3 mock is actually unittest.mock
|
||||
sed -i 's/from mock/from unittest.mock/' tests/cover/test_regressions.py
|
||||
sed -i 's/from mock/from unittest.mock/' tests/cover/test_reflection.py
|
||||
vsed -e 's/from mock/from unittest.mock/' -i tests/cover/test_regressions.py
|
||||
vsed -e 's/from mock/from unittest.mock/' -i tests/cover/test_reflection.py
|
||||
|
||||
# Add variables that will be used by python to find the local
|
||||
# hypothesis build
|
||||
|
|
Loading…
Reference in a new issue