Hello community,

here is the log from the commit of package python-PyHamcrest for 
openSUSE:Factory checked in at 2020-04-19 21:46:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyHamcrest (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyHamcrest.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyHamcrest"

Sun Apr 19 21:46:01 2020 rev:5 rq:788891 version:2.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyHamcrest/python-PyHamcrest.changes      
2019-11-22 10:26:23.741256363 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyHamcrest.new.2738/python-PyHamcrest.changes
    2020-04-19 21:46:16.059695286 +0200
@@ -1,0 +2,14 @@
+Thu Mar 26 16:28:58 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 2.0.2
+  * Make hamcrest package PEP 561 compatible, i.e. supply type hints for 
external use.
+  * Drop formal support for 2.x
+  * Drop formal support for 3.x < 3.5
+  * Made has_properties() report all mismatches, not just the first.
+  * Silence warnings.
+  * Type fixes.
+  * Remove obsolete dependencies.
+  * Add support up to Python 3.8
+- Removed upstreamed patch pytest4-02.patch
+
+-------------------------------------------------------------------

Old:
----
  V1.9.0.tar.gz
  pytest4-02.patch

New:
----
  V2.0.2.tar.gz

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

Other differences:
------------------
++++++ python-PyHamcrest.spec ++++++
--- /var/tmp/diff_new_pack.rahjPm/_old  2020-04-19 21:46:17.479698135 +0200
+++ /var/tmp/diff_new_pack.rahjPm/_new  2020-04-19 21:46:17.483698144 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyHamcrest
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-PyHamcrest
-Version:        1.9.0
+Version:        2.0.2
 Release:        0
 Summary:        Hamcrest framework for matcher objects
 License:        BSD-3-Clause
@@ -27,20 +28,12 @@
 #Source:         
https://files.pythonhosted.org/packages/source/P/PyHamcrest/PyHamcrest-%%{version}.tar.gz
 Source:         
https://github.com/hamcrest/PyHamcrest/archive/V%{version}.tar.gz
 Patch0:         0001-Add-boolean-matchers.patch
-# # PATCH-FIX-UPSTREAM pytest4.patch gh#hamcrest/PyHamcrest#123 [email protected]
-# # eliminate non-compatible test case
-# Patch1:         pytest4.patch
-# PATCH-FIX-UPSTREAM pytest4-02.patch gh#hamcrest/PyHamcrest#123 [email protected]
-# compatibility with pytest4+ (from gh#hamcrest/PyHamcrest#124)
-Patch1:         pytest4-02.patch
 BuildRequires:  %{python_module hypothesis >= 1.11}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.4}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-six >= 1.4
 Provides:       python-hamcrest = %{version}
 Obsoletes:      python-hamcrest < %{version}
 BuildArch:      noarch
@@ -55,8 +48,6 @@
 %setup -q -n PyHamcrest-%{version}
 %autopatch -p1
 
-rm pytest.ini
-
 %build
 %python_build
 

++++++ 0001-Add-boolean-matchers.patch ++++++
--- /var/tmp/diff_new_pack.rahjPm/_old  2020-04-19 21:46:17.503698184 +0200
+++ /var/tmp/diff_new_pack.rahjPm/_new  2020-04-19 21:46:17.503698184 +0200
@@ -16,11 +16,11 @@
  create mode 100644 tests/hamcrest_unit_test/bool/__init__.py
  create mode 100644 tests/hamcrest_unit_test/bool/bool_comparison_test.py
 
-diff --git a/README.rst b/README.rst
-index 8ef46bb..d2200f8 100644
---- a/README.rst
-+++ b/README.rst
-@@ -148,6 +148,11 @@ PyHamcrest comes with a library of useful matchers:
+Index: PyHamcrest-2.0.2/README.rst
+===================================================================
+--- PyHamcrest-2.0.2.orig/README.rst
++++ PyHamcrest-2.0.2/README.rst
+@@ -182,6 +182,11 @@ PyHamcrest comes with a library of usefu
    * ``greater_than``, ``greater_than_or_equal_to``, ``less_than``,
      ``less_than_or_equal_to`` - match numeric ordering
  
@@ -32,11 +32,11 @@
  * Text
  
    * ``contains_string`` - match part of a string
-diff --git a/src/hamcrest/library/__init__.py 
b/src/hamcrest/library/__init__.py
-index a5a7963..55dfcda 100644
---- a/src/hamcrest/library/__init__.py
-+++ b/src/hamcrest/library/__init__.py
-@@ -7,6 +7,7 @@ from hamcrest.library.integration import *
+Index: PyHamcrest-2.0.2/src/hamcrest/library/__init__.py
+===================================================================
+--- PyHamcrest-2.0.2.orig/src/hamcrest/library/__init__.py
++++ PyHamcrest-2.0.2/src/hamcrest/library/__init__.py
+@@ -6,6 +6,7 @@ from hamcrest.library.integration import
  from hamcrest.library.number import *
  from hamcrest.library.object import *
  from hamcrest.library.text import *
@@ -45,24 +45,22 @@
  __author__ = "Jon Reid"
  __copyright__ = "Copyright 2011 hamcrest.org"
 @@ -41,4 +42,6 @@ __all__ = [
-     'ends_with',
-     'starts_with',
-     'string_contains_in_order',
-+    'is_true',
-+    'is_false'
+     "ends_with",
+     "starts_with",
+     "string_contains_in_order",
++    "is_true",
++    "is_false",
  ]
-diff --git a/src/hamcrest/library/bool/__init__.py 
b/src/hamcrest/library/bool/__init__.py
-new file mode 100644
-index 0000000..7cf13a3
+Index: PyHamcrest-2.0.2/src/hamcrest/library/bool/__init__.py
+===================================================================
 --- /dev/null
-+++ b/src/hamcrest/library/bool/__init__.py
++++ PyHamcrest-2.0.2/src/hamcrest/library/bool/__init__.py
 @@ -0,0 +1 @@
 +from .bool_comparison import is_true, is_false
-diff --git a/src/hamcrest/library/bool/bool_comparison.py 
b/src/hamcrest/library/bool/bool_comparison.py
-new file mode 100644
-index 0000000..af7e1b6
+Index: PyHamcrest-2.0.2/src/hamcrest/library/bool/bool_comparison.py
+===================================================================
 --- /dev/null
-+++ b/src/hamcrest/library/bool/bool_comparison.py
++++ PyHamcrest-2.0.2/src/hamcrest/library/bool/bool_comparison.py
 @@ -0,0 +1,22 @@
 +from hamcrest.core.base_matcher import BaseMatcher
 +
@@ -86,14 +84,10 @@
 +
 +def is_false():
 +    return IsABool(False)
-diff --git a/tests/hamcrest_unit_test/bool/__init__.py 
b/tests/hamcrest_unit_test/bool/__init__.py
-new file mode 100644
-index 0000000..e69de29
-diff --git a/tests/hamcrest_unit_test/bool/bool_comparison_test.py 
b/tests/hamcrest_unit_test/bool/bool_comparison_test.py
-new file mode 100644
-index 0000000..e865365
+Index: PyHamcrest-2.0.2/tests/hamcrest_unit_test/bool/bool_comparison_test.py
+===================================================================
 --- /dev/null
-+++ b/tests/hamcrest_unit_test/bool/bool_comparison_test.py
++++ PyHamcrest-2.0.2/tests/hamcrest_unit_test/bool/bool_comparison_test.py
 @@ -0,0 +1,34 @@
 +from hamcrest import assert_that, equal_to
 +from hamcrest.core.string_description import StringDescription
@@ -129,6 +123,3 @@
 +        description = StringDescription()
 +        is_false().describe_to(description)
 +        assert_that(str(description), equal_to('False'))
--- 
-2.9.3
-

++++++ V1.9.0.tar.gz -> V2.0.2.tar.gz ++++++
++++ 8505 lines of diff (skipped)


Reply via email to