From 632a47132f9f49c651579218f83993721e76a1dd Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 22 Jan 2019 13:33:00 -0200 Subject: [PATCH] python-hypothesis: update to 4.1.0. --- srcpkgs/python-hypothesis/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-hypothesis/template b/srcpkgs/python-hypothesis/template index 4b8f7e61b5..abaf22d61f 100644 --- a/srcpkgs/python-hypothesis/template +++ b/srcpkgs/python-hypothesis/template @@ -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