Hello community,

here is the log from the commit of package python-qt5 for openSUSE:Factory 
checked in at 2017-10-29 20:23:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt5"

Sun Oct 29 20:23:53 2017 rev:24 rq:537304 version:5.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qt5/python-qt5.changes    2017-09-08 
20:43:41.072749335 +0200
+++ /work/SRC/openSUSE:Factory/.python-qt5.new/python-qt5.changes       
2017-10-29 20:23:53.100396760 +0100
@@ -1,0 +2,8 @@
+Wed Oct 25 22:04:51 UTC 2017 - [email protected]
+
+- add configure_py_Fix_handling_of_disabled_features.patch
+  configure.py is broken if features are disabled, which e.g. happens
+  when building using GLEs Qt5 builds. Taken from upstream
+  developement snapshot.
+
+-------------------------------------------------------------------

New:
----
  configure_py_Fix_handling_of_disabled_features.patch

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

Other differences:
------------------
++++++ python-qt5.spec ++++++
--- /var/tmp/diff_new_pack.tZOwWT/_old  2017-10-29 20:23:53.836369939 +0100
+++ /var/tmp/diff_new_pack.tZOwWT/_new  2017-10-29 20:23:53.840369793 +0100
@@ -28,6 +28,8 @@
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE - disable-rpaths.diff - Disable RPATH when building PyQt5.
 Patch1:         disable-rpaths.diff
+# PATCH-FIX-UPSTREAM - configure_py_Fix_handling_of_disabled_features.patch
+Patch2:         configure_py_Fix_handling_of_disabled_features.patch
 BuildRequires:  pkgconfig(Qt5Bluetooth)
 BuildRequires:  pkgconfig(Qt5Designer)
 BuildRequires:  pkgconfig(Qt5Help)
@@ -175,6 +177,7 @@
 %prep
 %setup -q -n PyQt5_gpl-%{version}
 %patch1
+%patch2 -p1
 # Fix wrong-script-interpreter
 find examples -name "*.py" -exec sed -i "s|^#!/usr/bin/env 
python$|#!%__python3|" {} \;
 

++++++ configure_py_Fix_handling_of_disabled_features.patch ++++++
--- PyQt5_gpl-5.9/configure.py  2017-07-03 19:24:48.000000000 +0200
+++ PyQt5_gpl-5.9.1.dev1710071532/configure.py  2017-10-08 03:30:26.000000000 
+0200
@@ -2168,10 +2168,8 @@
     if source is None:
         for disabled in run_test_program(mname, test, verbose):
             if disabled:
-                inform("Disabled %s features: %s" % (mname,
-                        ', '.join(disabled)))
-
-            target_config.pyqt_disabled_features.extend(disabled)
+                inform("Disabled %s feature: %s" % (mname, disabled))
+                target_config.pyqt_disabled_features.append(disabled)
 
     # Include the module in the build.
     target_config.pyqt_modules.append(mname)

Reply via email to