From ec14c5340a3cb24939f5e44127e746bc58ab26c4a5bc8f5408bd5e80fb92be68 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 25 Jun 2022 09:40:21 +0000 Subject: [PATCH] Accepting request 984164 from home:bnavigator:branches:KDE:Qt:PyQt - Update to version 6.3.1 * Added qRegisterResourceData() and qUnregisterResourceData() to QtCore to help in supporting legacy resource files from PyQt5. * Requires v13.4 of the sip module which adds support for enums with missing members and the sip.array support. * Reverted the Qt.GestureType related changes made in v6.2.3 as they are no longer necessary with the support for missing enum members. * The QEvent constructor that takes an int argument is now deprecated. * Refactored the draw methods of QPainter to accept sip.array objects of appropriate types. Such arrays, once initialised, can be used very efficiently as they do not require repeated conversion from the usual Python collection types. * Added resize() to QPolygon, QPolygonF and QXmlStreamAttributes. * Bug fixes. OBS-URL: https://build.opensuse.org/request/show/984164 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=16 --- PyQt6-6.3.0.tar.gz | 3 --- PyQt6-6.3.1.tar.gz | 3 +++ python-PyQt6.changes | 20 ++++++++++++++++++++ python-PyQt6.spec | 8 +++----- 4 files changed, 26 insertions(+), 8 deletions(-) delete mode 100644 PyQt6-6.3.0.tar.gz create mode 100644 PyQt6-6.3.1.tar.gz diff --git a/PyQt6-6.3.0.tar.gz b/PyQt6-6.3.0.tar.gz deleted file mode 100644 index 1cbc622..0000000 --- a/PyQt6-6.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fd85dcb15ea4e734b6e4e216fe9a6246779761edaf2cf7c0cce1a2303a8d31b -size 1014435 diff --git a/PyQt6-6.3.1.tar.gz b/PyQt6-6.3.1.tar.gz new file mode 100644 index 0000000..8b4fd51 --- /dev/null +++ b/PyQt6-6.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cc6e21dbaf7047d1fc897e396ccd9710a12f2ef976563dad65f06017d2c9757 +size 1015220 diff --git a/python-PyQt6.changes b/python-PyQt6.changes index 31ca5bd..d370e5a 100644 --- a/python-PyQt6.changes +++ b/python-PyQt6.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Jun 20 21:35:19 UTC 2022 - Ben Greiner + +- Update to version 6.3.1 + * Added qRegisterResourceData() and qUnregisterResourceData() to + QtCore to help in supporting legacy resource files from PyQt5. + * Requires v13.4 of the sip module which adds support for enums + with missing members and the sip.array support. + * Reverted the Qt.GestureType related changes made in v6.2.3 as + they are no longer necessary with the support for missing enum + members. + * The QEvent constructor that takes an int argument is now + deprecated. + * Refactored the draw methods of QPainter to accept sip.array + objects of appropriate types. Such arrays, once initialised, + can be used very efficiently as they do not require repeated + conversion from the usual Python collection types. + * Added resize() to QPolygon, QPolygonF and QXmlStreamAttributes. + * Bug fixes. + ------------------------------------------------------------------- Wed Apr 13 08:12:05 UTC 2022 - Ben Greiner diff --git a/python-PyQt6.spec b/python-PyQt6.spec index f76a7e0..bfbf9b2 100644 --- a/python-PyQt6.spec +++ b/python-PyQt6.spec @@ -16,13 +16,11 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define plainpython python -%define skip_python2 1 %define mname PyQt6 %define pyqt_build_for_qt6 1 Name: python-%{mname} -Version: 6.3.0 +Version: 6.3.1 Release: 0 Summary: Python bindings for Qt 6 License: GPL-3.0-only OR SUSE-GPL-2.0-with-FLOSS-exception OR NonFree @@ -33,7 +31,7 @@ Source: https://files.pythonhosted.org/packages/source/P/PyQt6/PyQt6-%{v Patch0: disable-rpaths.diff # PATCH-FIX-OPENSUSE - install binary dbus mainloop integration in arch dependent directory Patch1: 0001-Use-a-noarch-wrapper-for-dbus-mainloop-integration.patch -BuildRequires: %{python_module PyQt6-sip} +BuildRequires: %{python_module PyQt6-sip >= 13.4} BuildRequires: %{python_module dbus-python-devel >= 0.8} BuildRequires: %{python_module devel} BuildRequires: %{python_module pyqt-builder >= 1.11} @@ -66,7 +64,7 @@ BuildRequires: cmake(Qt6WebSockets) BuildRequires: cmake(Qt6Quick3D) BuildRequires: cmake(Qt6Quick3DRuntimeRender) %endif -Requires: python-PyQt6-sip +%requires_ge python-PyQt6-sip %requires_ge python-dbus-python Provides: python-qt6 = %{version}-%{release} %python_subpackages