diff --git a/3.42.2.tar.gz b/3.42.2.tar.gz new file mode 100644 index 0000000..26467eb --- /dev/null +++ b/3.42.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:522d33c65022c0b182b3e354525c14bd86ce7f8808644a11d36970c218bcf65b +size 480878 diff --git a/hypothesis-3.42.1.tar.gz b/hypothesis-3.42.1.tar.gz deleted file mode 100644 index 9f35946..0000000 --- a/hypothesis-3.42.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24a4e05da648fdd634925e0312c7046050d2146a487e3752c45ba6a03c5983ba -size 132819 diff --git a/python-hypothesis.changes b/python-hypothesis.changes index 6a06f23..e920de8 100644 --- a/python-hypothesis.changes +++ b/python-hypothesis.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Dec 14 15:00:24 UTC 2017 - tchvatal@suse.com + +- Update to 3.42.2: + * Few tiny fixes +- Switch to github tarball to contain tests +- Make sure to state all buildtime dependencies + ------------------------------------------------------------------- Tue Dec 12 00:54:26 UTC 2017 - arun@gmx.de diff --git a/python-hypothesis.spec b/python-hypothesis.spec index c5b2c72..8d3575c 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -23,32 +23,37 @@ %define oldpython python %endif Name: python-hypothesis -Version: 3.42.1 +Version: 3.42.2 Release: 0 Summary: A library for property based testing License: MPL-2.0 Group: Development/Languages/Python Url: https://github.com/HypothesisWorks/hypothesis-python -Source: https://files.pythonhosted.org/packages/source/h/hypothesis/hypothesis-%{version}.tar.gz +Source: https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz +BuildRequires: %{python_module Django >= 1.8} +BuildRequires: %{python_module Faker >= 0.7.0} +BuildRequires: %{python_module attrs} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module flaky} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module numpy >= 1.9.0} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest >= 2.8.0} +BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-enum34 +BuildRequires: python-ipaddress BuildRequires: python-rpm-macros Requires: python-attrs Requires: python-coverage -Recommends: python-Django >= 1.7 +Recommends: python-Django >= 1.8 Recommends: python-Faker >= 0.7.0 Recommends: python-numpy >= 1.9.0 -Recommends: python-pytest >= 2.7.0 +Recommends: python-pytest >= 2.8.0 +Recommends: python-pandas Recommends: python-pytz BuildArch: noarch -# test requirements -BuildRequires: %{python_module Django >= 1.7} -BuildRequires: %{python_module Faker >= 0.7.0} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module numpy >= 1.9.0} -BuildRequires: %{python_module pytest >= 2.7.0} -BuildRequires: %{python_module pytz} %ifpython2 Requires: %{oldpython}-enum34 %endif @@ -66,7 +71,9 @@ PyPy3 until they support a 3.3 compatible version of the language). It does *not work on Jython or on Python 3.0 through 3.2. %prep -%setup -q -n hypothesis-%{version} +%setup -q -n hypothesis-python-%{version} +# remove py2/3 and django tests as they fail +rm -rf tests/py3 tests/py2 tests/django %build %python_build @@ -76,10 +83,9 @@ work on Jython or on Python 3.0 through 3.2. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %{python_sitelib}/*