diff --git a/python-PyQt6-Charts.changes b/python-PyQt6-Charts.changes index 5f4d73f..4f4ab67 100644 --- a/python-PyQt6-Charts.changes +++ b/python-PyQt6-Charts.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 15 14:01:43 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:28:57 UTC 2022 - Ben Greiner diff --git a/python-PyQt6-Charts.spec b/python-PyQt6-Charts.spec index 5030162..21ca450 100644 --- a/python-PyQt6-Charts.spec +++ b/python-PyQt6-Charts.spec @@ -28,8 +28,9 @@ License: GPL-3.0-only Group: Development/Libraries/Python URL: https://www.riverbankcomputing.com/software/pyqtchart 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 @@ -57,7 +58,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 PyQt6_%{qtlib}-%{version} +%autosetup -p1 -n PyQt6_%{qtlib}-%{version} %build %pyqt_build diff --git a/support-python3.6.patch b/support-python3.6.patch new file mode 100644 index 0000000..4f7603d --- /dev/null +++ b/support-python3.6.patch @@ -0,0 +1,13 @@ +Index: PyQt6_Charts-6.4.0/PKG-INFO +=================================================================== +--- PyQt6_Charts-6.4.0.orig/PKG-INFO ++++ PyQt6_Charts-6.4.0/PKG-INFO +@@ -1,7 +1,7 @@ + Metadata-Version: 2.1 + Name: PyQt6-Charts + Version: 6.4.0 +-Requires-Python: >=3.7 ++Requires-Python: >=3.6 + Summary: Python bindings for the Qt Charts library + Home-Page: https://www.riverbankcomputing.com/software/pyqtchart/ + Author: Riverbank Computing Limited