Accepting request 732191 from KDE:Qt5

- Update to 5.13.1
  * Added the missing QWebEnginePage.Feature.Notifications enum member.
  * Fix building against Qt v5.12 and earlier.
  * Fixed building when Qt doesn't support QtWebChannel.
  * Added support for sip v5.
- Add update-timeline.patch

OBS-URL: https://build.opensuse.org/request/show/732191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-qtwebengine-qt5?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-09-26 18:39:03 +00:00 committed by Git OBS Bridge
commit f19057bcb7
5 changed files with 58 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb6cabcc454ed1394aedfb42eb35dbee3ca324cf582e8c0ca5e8c8af0b00e325
size 43939

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d8c1262005d8465653a848bf67327fb338e0d3c2d26090a6f7eb071dbb42092
size 44883

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Sep 20 11:44:26 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 5.13.1
* Added the missing QWebEnginePage.Feature.Notifications enum member.
* Fix building against Qt v5.12 and earlier.
* Fixed building when Qt doesn't support QtWebChannel.
* Added support for sip v5.
- Add update-timeline.patch
-------------------------------------------------------------------
Fri Jul 12 10:27:56 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -18,16 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-qtwebengine-qt5
Version: 5.13.0
Version: 5.13.1
Release: 0
Summary: Python bindings for the Qt5 WebEngine framework
License: GPL-3.0-only
Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
Source: https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/%{version}/PyQtWebEngine_gpl-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: update-timeline.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module qt5-devel}
BuildRequires: %{python_module sip-devel >= 4.19.1}
BuildRequires: %{python_module sip-devel >= 4.19.19}
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(Qt5WebEngine)
Requires: python-qt5
@ -65,7 +67,7 @@ This package contains sip files used to generate
bindings to the Qt5 WebEngine framework.
%prep
%setup -q -n PyQtWebEngine_gpl-%{version}
%autosetup -p1 -n PyQtWebEngine_gpl-%{version}
%{python_expand mkdir build_%{$python_bin_suffix}
cp *.py build_%{$python_bin_suffix}
cp -r sip build_%{$python_bin_suffix}

40
update-timeline.patch Normal file
View File

@ -0,0 +1,40 @@
From d9569822ddf882c8115d3e7ab0423388eddca627 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Fri, 20 Sep 2019 15:06:44 +0200
Subject: [PATCH] PyQtWebEngine 5.13.1 introduced the same stupid timeline as
PyQt5.
---
sip/QtWebEngineCore/QtWebEngineCoremod.sip | 2 +-
sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sip/QtWebEngineCore/QtWebEngineCoremod.sip b/sip/QtWebEngineCore/QtWebEngineCoremod.sip
index 8f34dfd..94d366a 100644
--- a/sip/QtWebEngineCore/QtWebEngineCoremod.sip
+++ b/sip/QtWebEngineCore/QtWebEngineCoremod.sip
@@ -26,7 +26,7 @@
%Import QtGui/QtGuimod.sip
%Import QtNetwork/QtNetworkmod.sip
-%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0}
+%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_13_1 QtWebEngine_5_13_2 QtWebEngine_5_13_3}
%Copying
Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
diff --git a/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip b/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
index 78262d9..16f9fd3 100644
--- a/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
+++ b/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
@@ -27,7 +27,7 @@
%Import QtPrintSupport/QtPrintSupportmod.sip
%Import QtWidgets/QtWidgetsmod.sip
-%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0}
+%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_13_1 QtWebEngine_5_13_2 QtWebEngine_5_13_3}
%Copying
Copyright (c) 2019 Riverbank Computing Limited <info@riverbankcomputing.com>
--
2.23.0