Hello community,

here is the log from the commit of package python-QtAwesome for 
openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-QtAwesome (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-QtAwesome.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-QtAwesome"

Thu Apr 30 18:52:15 2020 rev:12 rq:797076 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-QtAwesome/python-QtAwesome.changes      
2020-03-09 18:01:34.560704641 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-QtAwesome.new.2738/python-QtAwesome.changes
    2020-04-30 18:52:15.592702324 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 12:03:50 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Add patch to not call python2:
+  * no-py2.patch
+
+-------------------------------------------------------------------

New:
----
  no-py2.patch

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

Other differences:
------------------
++++++ python-QtAwesome.spec ++++++
--- /var/tmp/diff_new_pack.19rq7z/_old  2020-04-30 18:52:16.040703271 +0200
+++ /var/tmp/diff_new_pack.19rq7z/_new  2020-04-30 18:52:16.040703271 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-QtAwesome
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -25,6 +25,7 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/spyder-ide/qtawesome
 Source:         
https://files.pythonhosted.org/packages/source/Q/QtAwesome/QtAwesome-%{version}.tar.gz
+Patch0:         no-py2.patch
 BuildRequires:  %{python_module QtPy}
 BuildRequires:  %{python_module pytest-qt}
 BuildRequires:  %{python_module pytest}
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n QtAwesome-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ no-py2.patch ++++++
Index: QtAwesome-0.6.0/qtawesome/tests/test_qtawesome.py
===================================================================
--- QtAwesome-0.6.0.orig/qtawesome/tests/test_qtawesome.py
+++ QtAwesome-0.6.0/qtawesome/tests/test_qtawesome.py
@@ -3,6 +3,7 @@ Tests for QtAwesome.
 """
 # Standard library imports
 import subprocess
+import sys
 import collections
 
 # Test Library imports
@@ -14,7 +15,7 @@ from qtawesome.iconic_font import Iconic
 
 
 def test_segfault_import():
-    output_number = subprocess.call('python -c "import qtawesome '
+    output_number = subprocess.call(sys.executable + ' -c "import qtawesome '
                                     '; qtawesome.icon()"', shell=True)
     assert output_number == 0
 

Reply via email to