Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scour for openSUSE:Factory 
checked in at 2023-06-08 21:41:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scour (Old)
 and      /work/SRC/openSUSE:Factory/.python-scour.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scour"

Thu Jun  8 21:41:50 2023 rev:12 rq:1091246 version:0.38.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scour/python-scour.changes        
2021-11-10 21:46:10.783804433 +0100
+++ /work/SRC/openSUSE:Factory/.python-scour.new.15902/python-scour.changes     
2023-06-08 21:41:53.313752869 +0200
@@ -1,0 +2,8 @@
+Tue Jun  6 12:07:19 UTC 2023 - [email protected]
+
+- drop python 2 support, do not require six
+- added patches
+  https://github.com/scour-project/scour/pull/306
+  + python-scour-no-python2.patch
+
+-------------------------------------------------------------------

New:
----
  python-scour-no-python2.patch

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

Other differences:
------------------
++++++ python-scour.spec ++++++
--- /var/tmp/diff_new_pack.eIWTxq/_old  2023-06-08 21:41:54.057757253 +0200
+++ /var/tmp/diff_new_pack.eIWTxq/_new  2023-06-08 21:41:54.061757277 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-scour
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %define oldpython python
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-scour
 Version:        0.38.2
 Release:        0
@@ -26,14 +25,14 @@
 Group:          Productivity/Graphics/Other
 URL:            https://github.com/oberstet/scour
 Source:         
https://github.com/scour-project/scour/archive/v%{version}/scour-%{version}.tar.gz
+# https://github.com/scour-project/scour/pull/306
+Patch0:         python-scour-no-python2.patch
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module xml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
 Requires:       python-setuptools
-Requires:       python-six >= 1.9.0
 %ifpython2
 Requires:       python-xml
 %endif
@@ -51,7 +50,7 @@
 The goal of scour is to provide an identically rendered image.
 
 %prep
-%setup -q -n scour-%{version}
+%autosetup -p1 -n scour-%{version}
 # remove unwanted shebang
 sed -i '/^#!/ d' scour/{scour.py,yocto_css.py,svg_transform.py}
 

++++++ python-scour-no-python2.patch ++++++
++++ 625 lines (skipped)

Reply via email to