From edb1f06ebfdfde17117cce9fc2d082dd79a00136 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Aug 31 2015 16:37:18 +0000 Subject: Update to 1.10.6 - Enable tests --- diff --git a/.gitignore b/.gitignore index 8253c29..9ff0114 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /hypothesis-1.9.0.tar.gz /hypothesis-1.10.0.tar.gz +/hypothesis-1.10.6.tar.gz diff --git a/python-hypothesis.spec b/python-hypothesis.spec index 69aaade..11d776d 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,7 +1,7 @@ %global pkgname hypothesis Name: python-%{pkgname} -Version: 1.10.0 +Version: 1.10.6 Release: 1%{?dist} Summary: A library for property based testing @@ -17,9 +17,9 @@ BuildRequires: python-sphinx BuildRequires: numpy BuildRequires: pytest BuildRequires: pytz -BuildRequires: python-django +#BuildRequires: python-django BuildRequires: python-flake8 -BuildRequires: python3-django +#BuildRequires: python3-django BuildRequires: python3-flake8 BuildRequires: python3-numpy BuildRequires: python3-pytest @@ -71,8 +71,12 @@ mv %{pkgname}-%{version} python2 rm -rf python2/tests/django # remove fakefactory tests, not packaged yet rm -rf python2/tests/fakefactory +# remove slow tests +rm -rf python2/tests/nocover cp -a python2 python3 +# remove py2-specific tests +rm -rf python3/tests/py2 %build @@ -105,11 +109,11 @@ popd # tests are really expensive to run # disable for now pushd python2 -#{__python2} setup.py test +%{__python2} setup.py test popd pushd python3 -#{__python3} setup.py test +%{__python3} setup.py test popd @@ -126,6 +130,10 @@ popd %changelog +* Mon Aug 31 2015 Michel Alexandre Salim - 1.10.6-1 +- Update to 1.10.6 +- Enable tests + * Fri Aug 7 2015 Michel Alexandre Salim - 1.10.0-1 - Update to 1.10 diff --git a/sources b/sources index 78fd37d..2013ff1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e60eed80b83bd60215657220fb00440d hypothesis-1.10.0.tar.gz +2d400e88338895973e44654d5b66433c hypothesis-1.10.6.tar.gz