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