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

- Update to 6.7.0
  * Add support for Qt 6.7

OBS-URL: https://build.opensuse.org/request/show/1169508
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-Charts?expand=0&rev=23
This commit is contained in:
Benjamin Greiner 2024-04-21 14:41:15 +00:00 committed by Git OBS Bridge
parent c8f76b8951
commit 383890993b
4 changed files with 24 additions and 16 deletions

BIN
PyQt6_Charts-6.6.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 21 13:45:25 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.7.0
* Add support for Qt 6.7
-------------------------------------------------------------------
Thu Jan 25 20:33:30 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package python-PyQt6-Charts
#
# Copyright (c) 2024 SUSE LLC
#
@ -17,32 +17,34 @@
%define qtlib Charts
%define mname PyQt6-%{qtlib}
%define pyqt_build_for_qt6 1
%define plainpython python
%{?sle15_python_module_pythons}
Name: python-%{mname}
Version: 6.6.0
Name: python-PyQt6-%{qtlib}
Version: 6.7.0
Release: 0
Summary: Python bindings for the Qt Charts library
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
# boo#1222514
# Source: https://files.pythonhosted.org/packages/source/P/PyQt6-%{qtlib}/PyQt6_%{qtlib}-%%{version}.tar.gz
Source: https://riverbankcomputing.com/pypi/packages/PyQt6-%{qtlib}/PyQt6_%{qtlib}-%{version}.tar.gz
BuildRequires: %{python_module PyQt6-devel >= 6.2}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pyqt-builder >= 1.10}
BuildRequires: %{python_module sip-devel >= 6}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pyqt-builder >= 1.10 with %python-pyqt-builder < 2}
BuildRequires: %{python_module sip-devel >= 6.8 with %python-sip-devel < 7}
BuildRequires: fdupes
BuildRequires: python-pyqt-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: cmake(Qt6%{qtlib})
%requires_ge python-PyQt6
%requires_ge python-PyQt6-sip
Provides: python-qtcharts-qt6 = %{version}-%{release}
%python_subpackages
%description
%{mname} is a set of Python bindings for The Qt Companys Qt %{qtlib} framework.
PyQt6-%{qtlib} is a set of Python bindings for The Qt Companys Qt %{qtlib} framework.
The bindings sit on top of PyQt6 and are implemented as a single module.
%package devel
@ -50,8 +52,8 @@ Summary: Devel files for %{name}
Group: Development/Tools/IDE
Requires: python-PyQt6-devel
Requires: %plainpython(abi) = %{python_version}
Supplements: (eric and python-%{mname})
Supplements: (python-PyQt6-devel and python-%{mname})
Supplements: (eric and python-PyQt6-%{qtlib})
Supplements: (python-PyQt6-devel and python-PyQt6-%{qtlib})
%description devel
This package provides Qt6 API files for the Eric IDE and the SIP files
@ -75,10 +77,10 @@ $python -c 'from PyQt6 import Qt%{qtlib}; assert Qt%{qtlib}.PYQT_CHART_VERSION_S
%files %{python_files}
%license LICENSE
%doc NEWS README
%doc NEWS README.md
%dir %{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6/Qt%{qtlib}.*
%{python_sitearch}/PyQt6_%{qtlib}-%{version}*-info/
%{python_sitearch}/PyQt6_%{qtlib}-%{version}.dist-info/
%exclude %{pyqt6_sipdir}
%files %{python_files devel}