1
0

Accepting request 1072166 from home:alarrosa:branches:openSUSE:Backports:SLE-15-SP5:Staging:adi:5

- Add patch to support python 3.6 in order to build for SLE/Leap:
  * support-python3.6.patch

OBS-URL: https://build.opensuse.org/request/show/1072166
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-WebEngine?expand=0&rev=12
This commit is contained in:
Benjamin Greiner 2023-03-15 22:52:30 +00:00 committed by Git OBS Bridge
parent 747d8dc3cc
commit 49d982e362
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 15 14:08:48 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
- Add patch to support python 3.6 in order to build for SLE/Leap:
* support-python3.6.patch
-------------------------------------------------------------------
Mon Oct 3 17:51:51 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -27,8 +27,9 @@ License: GPL-3.0-only
Group: Development/Libraries/Python
URL: https://www.riverbankcomputing.com/software/pyqt3d
Source: https://files.pythonhosted.org/packages/source/P/%{mname}/%{muname}-%{version}.tar.gz
Patch0: support-python3.6.patch
BuildRequires: %{python_module PyQt6-devel >= 6.2}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module pyqt-builder >= 1.11}
BuildRequires: %{python_module sip-devel >= 6}
BuildRequires: fdupes
@ -64,7 +65,7 @@ This package provides Qt6 API files for the Eric IDE and the SIP files
used to generate the Python bindings for %{name}
%prep
%setup -q -n %{muname}-%{version}
%autosetup -p1 -n %{muname}-%{version}
%build
%pyqt_build

13
support-python3.6.patch Normal file
View File

@ -0,0 +1,13 @@
Index: PyQt6_WebEngine-6.4.0/PKG-INFO
===================================================================
--- PyQt6_WebEngine-6.4.0.orig/PKG-INFO
+++ PyQt6_WebEngine-6.4.0/PKG-INFO
@@ -1,7 +1,7 @@
Metadata-Version: 2.1
Name: PyQt6-WebEngine
Version: 6.4.0
-Requires-Python: >=3.7
+Requires-Python: >=3.6
Summary: Python bindings for the Qt WebEngine framework
Home-Page: https://www.riverbankcomputing.com/software/pyqtwebengine/
Author: Riverbank Computing Limited