From 45885d0d2967a3869892e21bb14458bc3e65cec0bba5ce661e27c6d3c0510bf3 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 15 Mar 2023 22:52:39 +0000 Subject: [PATCH] Accepting request 1072162 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/1072162 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-DataVisualization?expand=0&rev=12 --- python-PyQt6-DataVisualization.changes | 6 ++++++ python-PyQt6-DataVisualization.spec | 3 ++- support-python3.6.patch | 13 +++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 support-python3.6.patch diff --git a/python-PyQt6-DataVisualization.changes b/python-PyQt6-DataVisualization.changes index 49fcbf9..4fa0bbd 100644 --- a/python-PyQt6-DataVisualization.changes +++ b/python-PyQt6-DataVisualization.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 15 14:04:04 UTC 2023 - Antonio Larrosa + +- Add patch to support python 3.6 in order to build for SLE/Leap: + * support-python3.6.patch + ------------------------------------------------------------------- Mon Oct 3 17:46:15 UTC 2022 - Ben Greiner diff --git a/python-PyQt6-DataVisualization.spec b/python-PyQt6-DataVisualization.spec index 0d91544..41a279b 100644 --- a/python-PyQt6-DataVisualization.spec +++ b/python-PyQt6-DataVisualization.spec @@ -28,8 +28,9 @@ License: GPL-3.0-only Group: Development/Libraries/Python URL: https://www.riverbankcomputing.com/software/pyqtdatavisualization Source: https://files.pythonhosted.org/packages/source/P/%{mname}/PyQt6_%{qtlib}-%{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.10} BuildRequires: %{python_module sip-devel >= 6} BuildRequires: fdupes diff --git a/support-python3.6.patch b/support-python3.6.patch new file mode 100644 index 0000000..a2664af --- /dev/null +++ b/support-python3.6.patch @@ -0,0 +1,13 @@ +Index: PyQt6_DataVisualization-6.4.0/PKG-INFO +=================================================================== +--- PyQt6_DataVisualization-6.4.0.orig/PKG-INFO ++++ PyQt6_DataVisualization-6.4.0/PKG-INFO +@@ -1,7 +1,7 @@ + Metadata-Version: 2.1 + Name: PyQt6-DataVisualization + Version: 6.4.0 +-Requires-Python: >=3.7 ++Requires-Python: >=3.6 + Summary: Python bindings for the Qt Data Visualization library + Home-Page: https://www.riverbankcomputing.com/software/pyqtdatavisualization/ + Author: Riverbank Computing Limited