Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sure for openSUSE:Factory 
checked in at 2022-07-14 16:33:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sure (Old)
 and      /work/SRC/openSUSE:Factory/.python-sure.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sure"

Thu Jul 14 16:33:15 2022 rev:10 rq:988812 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes  2022-05-06 
18:58:11.493281274 +0200
+++ /work/SRC/openSUSE:Factory/.python-sure.new.1523/python-sure.changes        
2022-07-14 16:33:17.948573133 +0200
@@ -1,0 +2,6 @@
+Wed Jul 13 04:37:13 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Remove mock from BuildRequires.
+- Rebase python-sure-no-mock.patch to remove one missed import. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sure.spec ++++++
--- /var/tmp/diff_new_pack.ikJB4D/_old  2022-07-14 16:33:18.460573612 +0200
+++ /var/tmp/diff_new_pack.ikJB4D/_new  2022-07-14 16:33:18.464573616 +0200
@@ -22,12 +22,10 @@
 Release:        0
 Summary:        Utility belt for automated testing in python for python
 License:        GPL-3.0-or-later
-Group:          Development/Languages/Python
 URL:            https://github.com/gabrielfalcao/sure
 Source:         
https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
-# https://github.com/gabrielfalcao/sure/pull/161
+# Based on https://github.com/gabrielfalcao/sure/pull/161
 Patch0:         python-sure-no-mock.patch
-BuildRequires:  %{python_module mock >= 2.0.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.10.0}
@@ -44,8 +42,7 @@
 heavily inspired by should.js
 
 %prep
-%setup -q -n sure-%{version}
-%patch0 -p1
+%autosetup -p1 -n sure-%{version}
 sed -i '/^#!/d' sure/*.py
 sed -i 's/--cov=sure//' setup.cfg
 

++++++ python-sure-no-mock.patch ++++++
--- /var/tmp/diff_new_pack.ikJB4D/_old  2022-07-14 16:33:18.484573635 +0200
+++ /var/tmp/diff_new_pack.ikJB4D/_new  2022-07-14 16:33:18.484573635 +0200
@@ -1,6 +1,8 @@
---- a/sure/core.py
-+++ b/sure/core.py
-@@ -21,7 +21,10 @@
+Index: sure-2.0.0/sure/core.py
+===================================================================
+--- sure-2.0.0.orig/sure/core.py
++++ sure-2.0.0/sure/core.py
+@@ -21,7 +21,10 @@ import os
  try:
      from mock import _CallList
  except ImportError:
@@ -20,5 +22,17 @@
  anything = Anything()
  
  
-
+Index: sure-2.0.0/tests/test_assertion_builder.py
+===================================================================
+--- sure-2.0.0.orig/tests/test_assertion_builder.py
++++ sure-2.0.0/tests/test_assertion_builder.py
+@@ -17,7 +17,7 @@
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ from __future__ import unicode_literals
+ import re
+-import mock
++from unittest import mock
+ from collections import OrderedDict
+ 
+ from datetime import datetime, timedelta
 

Reply via email to