Accepting request 1141580 from home:bnavigator:branches:KDE:Qt:PyQt

- Enable SLE15 python module for more modern python in 15.x
- Drop support-python3.6.patch
  * python-foo prefixed packages for SLE15 with python3.6 should be
    handled by an SLE internal maintenance request to python3-foo

OBS-URL: https://build.opensuse.org/request/show/1141580
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-Charts?expand=0&rev=21
This commit is contained in:
Antonio Larrosa 2024-01-26 08:12:10 +00:00 committed by Git OBS Bridge
parent cb70707f0d
commit c8f76b8951
3 changed files with 11 additions and 16 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jan 25 20:33:30 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Enable SLE15 python module for more modern python in 15.x
- Drop support-python3.6.patch
* python-foo prefixed packages for SLE15 with python3.6 should be
handled by an SLE internal maintenance request to python3-foo
-------------------------------------------------------------------
Mon Oct 30 14:34:54 UTC 2023 - Markéta Machová <mmachova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,6 +20,7 @@
%define mname PyQt6-%{qtlib}
%define pyqt_build_for_qt6 1
%define plainpython python
%{?sle15_python_module_pythons}
Name: python-%{mname}
Version: 6.6.0
Release: 0
@ -28,9 +29,8 @@ 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.6}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pyqt-builder >= 1.10}
BuildRequires: %{python_module sip-devel >= 6}
BuildRequires: fdupes

View File

@ -1,13 +0,0 @@
Index: PyQt6_Charts-6.6.0/PKG-INFO
===================================================================
--- PyQt6_Charts-6.6.0.orig/PKG-INFO
+++ PyQt6_Charts-6.6.0/PKG-INFO
@@ -1,7 +1,7 @@
Metadata-Version: 2.1
Name: PyQt6-Charts
Version: 6.6.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