Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dukpy for openSUSE:Factory 
checked in at 2022-04-30 00:45:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dukpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-dukpy.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dukpy"

Sat Apr 30 00:45:20 2022 rev:6 rq:973773 version:0.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dukpy/python-dukpy.changes        
2021-07-14 23:59:22.181345885 +0200
+++ /work/SRC/openSUSE:Factory/.python-dukpy.new.1538/python-dukpy.changes      
2022-04-30 00:46:05.374980109 +0200
@@ -1,0 +2,5 @@
+Thu Apr 28 15:05:56 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-dukpy.spec ++++++
--- /var/tmp/diff_new_pack.Fzbnch/_old  2022-04-30 00:46:06.626981195 +0200
+++ /var/tmp/diff_new_pack.Fzbnch/_new  2022-04-30 00:46:06.630981198 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dukpy
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,6 @@
 URL:            https://github.com/amol-/dukpy
 Source:         https://github.com/amol-/dukpy/archive/%{version}.tar.gz
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module webassets}
@@ -55,6 +54,8 @@
 rm tests/test_webassets_filter.py
 # remove downloading tests
 rm tests/test_installer.py
+# https://github.com/amol-/dukpy/issues/60
+sed -i 's:import mock:from unittest import mock:' tests/test_evaljs.py
 
 %build
 export CFLAGS="%{optflags}"

Reply via email to