Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-setupmeta for 
openSUSE:Factory checked in at 2022-05-04 15:11:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setupmeta (Old)
 and      /work/SRC/openSUSE:Factory/.python-setupmeta.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setupmeta"

Wed May  4 15:11:16 2022 rev:5 rq:974891 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setupmeta/python-setupmeta.changes        
2022-02-25 21:25:57.995647891 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-setupmeta.new.1538/python-setupmeta.changes  
    2022-05-04 15:11:38.564208333 +0200
@@ -1,0 +2,8 @@
+Wed May  4 09:36:16 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+- added patches
+  fix https://github.com/codrsquad/setupmeta/issues/75
+  + python-setupmeta-no-mock.patch
+
+-------------------------------------------------------------------

New:
----
  python-setupmeta-no-mock.patch

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

Other differences:
------------------
++++++ python-setupmeta.spec ++++++
--- /var/tmp/diff_new_pack.pNYdDP/_old  2022-05-04 15:11:39.108209002 +0200
+++ /var/tmp/diff_new_pack.pNYdDP/_new  2022-05-04 15:11:39.112209007 +0200
@@ -25,7 +25,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/zsimic/setupmeta
 Source:         
https://files.pythonhosted.org/packages/source/s/setupmeta/setupmeta-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
+# https://github.com/codrsquad/setupmeta/issues/75
+Patch0:         python-setupmeta-no-mock.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q -n setupmeta-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-setupmeta-no-mock.patch ++++++
Index: setupmeta-3.3.0/tests/test_commands.py
===================================================================
--- setupmeta-3.3.0.orig/tests/test_commands.py
+++ setupmeta-3.3.0/tests/test_commands.py
@@ -1,7 +1,7 @@
 import os
 import re
 
-from mock import patch
+from unittest.mock import patch
 from six import StringIO
 
 import setupmeta
Index: setupmeta-3.3.0/tests/test_model.py
===================================================================
--- setupmeta-3.3.0.orig/tests/test_model.py
+++ setupmeta-3.3.0/tests/test_model.py
@@ -1,7 +1,7 @@
 import os
 import sys
 
-from mock import patch
+from unittest.mock import patch
 
 import setupmeta
 from setupmeta.model import Definition, DefinitionEntry, is_setup_py_path
Index: setupmeta-3.3.0/tests/test_versioning.py
===================================================================
--- setupmeta-3.3.0.orig/tests/test_versioning.py
+++ setupmeta-3.3.0/tests/test_versioning.py
@@ -3,7 +3,7 @@ import sys
 
 import pep440
 import pytest
-from mock import patch
+from unittest.mock import patch
 
 import setupmeta
 import setupmeta.versioning

Reply via email to