Hello community,

here is the log from the commit of package python-hypothesis for 
openSUSE:Factory checked in at 2018-10-01 09:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hypothesis (Old)
 and      /work/SRC/openSUSE:Factory/.python-hypothesis.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-hypothesis"

Mon Oct  1 09:06:53 2018 rev:28 rq:637683 version:3.71.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hypothesis/python-hypothesis.changes      
2018-09-07 15:35:06.126819355 +0200
+++ /work/SRC/openSUSE:Factory/.python-hypothesis.new/python-hypothesis.changes 
2018-10-01 09:06:54.655815755 +0200
@@ -1,0 +2,14 @@
+Sun Sep  9 22:39:31 CEST 2018 - MatÄ›j Cepl <[email protected]>
+
+- Add multibuild to allow running tests.
+
+-------------------------------------------------------------------
+Sat Sep  8 19:08:09 UTC 2018 - Arun Persaud <[email protected]>
+
+- specfile:
+  * updated pytest version, specified pytz version (from setup.py)
+
+- update to version 3.71.0:
+  * many changes, see https://hypothesis.readthedocs.io/en/latest/changes.html
+
+-------------------------------------------------------------------

Old:
----
  hypothesis-python-3.66.6.tar.gz

New:
----
  _multibuild
  hypothesis-python-3.71.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-hypothesis.spec ++++++
--- /var/tmp/diff_new_pack.DuF0mb/_old  2018-10-01 09:06:55.011815450 +0200
+++ /var/tmp/diff_new_pack.DuF0mb/_new  2018-10-01 09:06:55.015815446 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,11 +23,20 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 %bcond_without python2
-# Unfortunately we cannot test by default, because of the circular
-# dependency on pytest
+
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define test 1
+%bcond_without test
+%else
 %bcond_with test
+%endif
+%if %{with test}
+Name:           python-hypothesis-%{flavor}
+%else
 Name:           python-hypothesis
-Version:        3.66.6
+%endif
+Version:        3.71.0
 Release:        0
 Summary:        A library for property based testing
 License:        MPL-2.0
@@ -43,8 +52,8 @@
 Recommends:     python-Faker >= 0.7.0
 Recommends:     python-numpy >= 1.9.0
 Recommends:     python-pandas
-Recommends:     python-pytest >= 2.8.0
-Recommends:     python-pytz
+Recommends:     python-pytest >= 3.0.0
+Recommends:     python-pytz >= 2014.1
 BuildArch:      noarch
 %if %{with test}
 # SECTION test requirements
@@ -52,7 +61,8 @@
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest >= 2.8.0}
+BuildRequires:  %{python_module pytest >= 3.0.0}
+BuildRequires:  python3-Django
 %endif
 # /SECTION
 %if %{with python2}
@@ -82,23 +92,28 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %{python_expand \
 $python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/hypothesis/
 $python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/hypothesis/
 %fdupes %{buildroot}%{$python_sitelib}
 }
+%endif
 
-%if %{with test}
 %check
+%if %{with test} && ! %{with python2}
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} test
+py.test-%{$python_bin_suffix} tests
 }
+rm -rf %{buildroot}%{_datarootdir}/python*
 %endif
 
 %files %{python_files}
-%doc ../CITATION README.rst
 %license ../LICENSE.txt
+%if !%{with test}
+%doc ../CITATION README.rst
 %{python_sitelib}/hypothesis*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
++++++ hypothesis-python-3.66.6.tar.gz -> hypothesis-python-3.71.0.tar.gz ++++++
++++ 16913 lines of diff (skipped)


Reply via email to