Hello community,

here is the log from the commit of package python-qt5 for openSUSE:Factory 
checked in at 2016-11-15 18:02:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.python-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qt5/python-qt5.changes    2016-06-07 
23:48:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-qt5.new/python-qt5.changes       
2016-11-15 18:02:49.000000000 +0100
@@ -1,0 +2,47 @@
+Tue Nov 15 10:41:24 UTC 2016 - lbeltr...@kde.org
+
+- Remove Source URL, the validator doesn't work too well with
+  SourceForge
+
+-------------------------------------------------------------------
+Mon Nov 14 19:59:32 UTC 2016 - h...@urpla.net
+
+- add patch to disable qml_debug: disable_qml_debug.diff.
+  Without this, the message "QML debugging is enabled. Only use
+  this in a safe environment."  appears on PyQt5 apps startup,
+  and allows qmljsdebugger to  connect via network.
+
+-------------------------------------------------------------------
+Tue Nov  8 15:21:49 UTC 2016 - h...@urpla.net
+
+- make utils dependent on exact version
+
+-------------------------------------------------------------------
+Tue Jul 26 17:59:41 UTC 2016 - ter...@gmail.com
+
+- Update to 5.7
+  * Added support for Qt v5.7.0.
+  * Removed patch pyqt5-fix-dbus-config.diff as applyed upstream
+
+-------------------------------------------------------------------
+Mon Jul  4 06:02:41 UTC 2016 - h...@urpla.net
+
+- Update to 5.6
+  * Added full support for Qt v5.6.0.
+  * Python v3.5 wheels are available for 64-bit Linux, 64-bit OS X
+    and 32 and 64-bit Windows. (After this release Windows .exe
+    installers will no longer be produced.)
+  * Added the QtWebEngineCore module.
+  * Added the missing qt_set_sequence_auto_mnemonic() to QtGui.
+  * Added the missing MouseLock to QWebEnginePage.Feature.
+  * Added the missing WA_DontShowOnScreen.
+  * PEP 484 stub files are installed by default.
+  * Added the --import-from command line argument to pyuic5.
+  * Added the --no-stubs and --stubsdir options to configure.py.
+  * Added the --qtconf-prefix option to configure.py.
+- add PATCH-FIX-OPENSUSE pyqt5-fix-dbus-config.diff to fix build of
+  dbus bindings
+- supply %{optflags} to the QMAKE machinery
+- add libqt5-qtlocation-devel build dependency
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/python-qt5/python3-qt5.changes   2016-06-07 
23:48:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-qt5.new/python3-qt5.changes      
2016-11-15 18:02:49.000000000 +0100
@@ -1,0 +2,44 @@
+Tue Nov 15 10:40:44 UTC 2016 - lbeltr...@kde.org
+
+- Remove Source URL, the validator doesn't work too well with
+  SourceForge
+
+-------------------------------------------------------------------
+Mon Nov 14 19:59:32 UTC 2016 - h...@urpla.net
+
+- add patch to disable qml_debug: disable_qml_debug.diff.
+  Without this, the message "QML debugging is enabled. Only use
+  this in a safe environment."  appears on PyQt5 apps startup,
+  "QML debugging is enabled. Only use this in a safe environment."
+  appears on PyQt5 apps startup, and allows qmljsdebugger to
+  connect via network.
+
+-------------------------------------------------------------------
+Tue Jul 26 18:00:37 UTC 2016 - ter...@gmail.com
+
+- Update to 5.7
+  * Added support for Qt v5.7.0.
+  * Removed patch pyqt5-fix-dbus-config.diff as applyed upstream
+
+-------------------------------------------------------------------
+Mon Jul  4 06:02:41 UTC 2016 - h...@urpla.net
+
+- Update to 5.6
+  * Added full support for Qt v5.6.0.
+  * Python v3.5 wheels are available for 64-bit Linux, 64-bit OS X
+    and 32 and 64-bit Windows. (After this release Windows .exe
+    installers will no longer be produced.)
+  * Added the QtWebEngineCore module.
+  * Added the missing qt_set_sequence_auto_mnemonic() to QtGui.
+  * Added the missing MouseLock to QWebEnginePage.Feature.
+  * Added the missing WA_DontShowOnScreen.
+  * PEP 484 stub files are installed by default.
+  * Added the --import-from command line argument to pyuic5.
+  * Added the --no-stubs and --stubsdir options to configure.py.
+  * Added the --qtconf-prefix option to configure.py.
+- add PATCH-FIX-OPENSUSE pyqt5-fix-dbus-config.diff to fix build of
+  dbus bindings
+- supply %{optflags} to the QMAKE machinery
+- add libqt5-qtlocation-devel build dependency
+
+-------------------------------------------------------------------

Old:
----
  PyQt-gpl-5.5.1.tar.gz

New:
----
  PyQt5_gpl-5.7.tar.gz
  disable_qml_debug.diff

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

Other differences:
------------------
++++++ python-qt5.spec ++++++
--- /var/tmp/diff_new_pack.uPUJLP/_old  2016-11-15 18:02:51.000000000 +0100
+++ /var/tmp/diff_new_pack.uPUJLP/_new  2016-11-15 18:02:51.000000000 +0100
@@ -17,24 +17,29 @@
 
 
 Name:           python-qt5
-Version:        5.5.1
+Version:        5.7
 Release:        0
 Summary:        PyQt - python bindings for Qt 5
 License:        SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree
 Group:          Development/Libraries/Python
 Url:            http://www.riverbankcomputing.com/software/pyqt/intro
-Source:         
http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-%{version}.tar.gz
+Source:         PyQt5_gpl-%{version}.tar.gz
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE: DIsable RPATH
 Patch1:         disable-rpaths.diff
 # PATCH-FIX-UPSTREAM: fix_qreal_check.diff -- check if qreal is double based 
on sizeof
 Patch2:         fix_qreal_check.diff
+# PATCH-FIX-OPENSUSE: disable qml_debug -- debug builds add this, but it 
creates a security hole
+Patch3:         disable_qml_debug.diff
+BuildRequires:  dbus-1-devel
+BuildRequires:  dbus-1-devel
 BuildRequires:  dbus-1-python-devel
 BuildRequires:  gdb
 BuildRequires:  libQt5WebKit5-devel
 BuildRequires:  libQt5WebKitWidgets-devel
 BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  libqt5-qtdeclarative-devel
+BuildRequires:  libqt5-qtlocation-devel
 BuildRequires:  libqt5-qtmultimedia-devel
 BuildRequires:  libqt5-qtserialport-devel
 BuildRequires:  libqt5-qtsvg-devel
@@ -52,7 +57,7 @@
 BuildRequires:  pkg-config
 #BuildRequires:  phonon-devel
 BuildRequires:  python-devel
-BuildRequires:  python-sip-devel >= 4.16.9
+BuildRequires:  python-sip-devel >= 4.18.1
 %requires_ge    dbus-1-python
 %requires_ge    libqt5-x11
 %py_requires
@@ -76,7 +81,7 @@
 Requires:       libqt5-qttools-devel
 Requires:       libqt5-qtx11extras-devel
 Requires:       python-qt5-utils
-Requires:       python-sip-devel >= 4.16.9
+Requires:       python-sip-devel >= 4.18.1
 Requires:       update-alternatives
 
 %description devel
@@ -91,6 +96,7 @@
 %package utils
 Summary:        Common files for PyQt5 for python2 and python3
 Group:          Development/Libraries/Python
+Requires:       %{name} = %{version}
 Requires:       update-alternatives
 
 %description utils
@@ -99,15 +105,22 @@
 sip files used to generate bindings and utilities pylupdate5 and pyrcc5
 
 %prep
-%setup -q -n PyQt-gpl-%{version}
+%setup -q -n PyQt5_gpl-%{version}
 #PATCH-FIX-OPENSUSE: Disable RPATH when building PyQt5.
 %patch1
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CXXFLAGS="%{optflags}"
 export CFLAGS="%{optflags}"
-python configure.py --confirm-license --qsci-api -u --qmake %{_libqt5_qmake}
+python configure.py --verbose \
+                    --confirm-license \
+                    --qsci-api \
+                    --debug \
+                    --qmake %{_libqt5_qmake} \
+                   QMAKE_CFLAGS+="${CFLAGS} ${CPPFLAGS}" \
+                   QMAKE_CXXFLAGS+="${CXXFLAGS} ${CPPFLAGS}"
 
 make %{?_smp_mflags}
 

++++++ python3-qt5.spec ++++++
--- /var/tmp/diff_new_pack.uPUJLP/_old  2016-11-15 18:02:51.000000000 +0100
+++ /var/tmp/diff_new_pack.uPUJLP/_new  2016-11-15 18:02:51.000000000 +0100
@@ -17,24 +17,28 @@
 
 
 Name:           python3-qt5
-Version:        5.5.1
+Version:        5.7
 Release:        0
 Summary:        PyQt - python bindings for Qt 5
 License:        SUSE-GPL-2.0-with-FLOSS-exception or GPL-3.0 or SUSE-NonFree
 Group:          Development/Libraries/Python
 Url:            http://www.riverbankcomputing.com/software/pyqt/intro
-Source:         
http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.5.1/PyQt-gpl-%{version}.tar.gz
+Source:         PyQt5_gpl-%{version}.tar.gz
 Source99:       %{name}-rpmlintrc
 # PATCH-FIX-OPENSUSE: DIsable RPATH
 Patch1:         disable-rpaths.diff
 # PATCH-FIX-UPSTREAM: fix_qreal_check.diff -- check if qreal is double based 
on sizeof
 Patch2:         fix_qreal_check.diff
+# PATCH-FIX-OPENSUSE: disable qml_debug -- debug builds add this, but it 
creates a security hole
+Patch3:         disable_qml_debug.diff
+BuildRequires:  dbus-1-devel
 BuildRequires:  dbus-1-python-devel
 BuildRequires:  dbus-1-python3-devel
 BuildRequires:  libQt5WebKit5-devel
 BuildRequires:  libQt5WebKitWidgets-devel
 BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  libqt5-qtdeclarative-devel
+BuildRequires:  libqt5-qtlocation-devel
 BuildRequires:  libqt5-qtmultimedia-devel
 BuildRequires:  libqt5-qtserialport-devel
 BuildRequires:  libqt5-qtsvg-devel
@@ -53,7 +57,7 @@
 #BuildRequires:  phonon-devel
 BuildRequires:  python3-base
 BuildRequires:  python3-devel
-BuildRequires:  python3-sip-devel >= 4.16.9
+BuildRequires:  python3-sip-devel >= 4.18.1
 Requires:       python(abi) = %{py3_ver}
 %requires_python3_sip_api
 
@@ -75,7 +79,7 @@
 Requires:       libqt5-qttools-devel
 Requires:       libqt5-qtx11extras-devel
 Requires:       python-qt5-utils
-Requires:       python3-sip-devel >= 4.16.9
+Requires:       python3-sip-devel >= 4.18.1
 Requires:       update-alternatives
 
 %description devel
@@ -88,15 +92,22 @@
 own PyQt applications.
 
 %prep
-%setup -q -n PyQt-gpl-%{version}
+%setup -q -n PyQt5_gpl-%{version}
 #PATCH-FIX-OPENSUSE: Disable RPATH when building PyQt5.
 %patch1
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CXXFLAGS="%{optflags}"
 export CFLAGS="%{optflags}"
-python3 configure.py --confirm-license --qsci-api -u --qmake %{_libqt5_qmake}
+python3 configure.py --verbose \
+                    --confirm-license \
+                    --qsci-api \
+                    --debug \
+                    --qmake %{_libqt5_qmake} \
+                   QMAKE_CFLAGS+="${CFLAGS} ${CPPFLAGS}" \
+                   QMAKE_CXXFLAGS+="${CXXFLAGS} ${CPPFLAGS}"
 
 make %{?_smp_mflags}
 

++++++ disable_qml_debug.diff ++++++
Index: b/configure.py
===================================================================
--- a/configure.py
+++ b/configure.py
@@ -2243,7 +2243,7 @@ def pro_add_qt_dependencies(target_confi
         pro_lines.append('QT += %s' % ' '.join(add))
 
     pro_lines.append(
-            'CONFIG += %s' % ('debug qml_debug' if debug else 'release'))
+            'CONFIG += %s' % ('debug' if debug else 'release'))
 
     if metadata.cpp11:
         pro_lines.append('CONFIG += c++11')

Reply via email to