Sync from SUSE:SLFO:Main python-PyQt6 revision 46a968f4467f5fc6630ad68b9e78650c

This commit is contained in:
Adrian Schröter 2024-09-11 10:21:07 +02:00
parent 319886064e
commit 8c0bcea596
4 changed files with 70 additions and 15 deletions

BIN
PyQt6-6.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
PyQt6-6.7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Sep 10 14:40:49 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Use sources from pypi. They're what we were using and upstream
doesn't seem to release sources from their homepage anymore.
-------------------------------------------------------------------
Sun Apr 21 13:32:25 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.7.0
* Implemented QBluetoothUuid.__hash__
- Switch from development snapshot to pre-release tarball
-------------------------------------------------------------------
Fri Apr 12 08:17:13 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.7.0~dev2404081550
* Added support for Qt v6.7 (excluding any technical previews).
* Bug fixes.
- Use not yet released development version: boo#1222514
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 25 20:44:36 UTC 2024 - Ben Greiner <code@bnavigator.de> Thu Jan 25 20:44:36 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -21,7 +21,7 @@
%define pyqt_build_for_qt6 1 %define pyqt_build_for_qt6 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-%{mname} Name: python-%{mname}
Version: 6.6.1 Version: 6.7.0
Release: 0 Release: 0
Summary: Python bindings for Qt 6 Summary: Python bindings for Qt 6
License: GPL-3.0-only OR SUSE-GPL-2.0-with-FLOSS-exception OR NonFree License: GPL-3.0-only OR SUSE-GPL-2.0-with-FLOSS-exception OR NonFree
@ -47,11 +47,14 @@ BuildRequires: qt6-base-devel
BuildRequires: qt6-macros BuildRequires: qt6-macros
BuildRequires: cmake(Qt6Bluetooth) BuildRequires: cmake(Qt6Bluetooth)
BuildRequires: cmake(Qt6Designer) BuildRequires: cmake(Qt6Designer)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6Help) BuildRequires: cmake(Qt6Help)
BuildRequires: cmake(Qt6Multimedia) BuildRequires: cmake(Qt6Multimedia)
BuildRequires: cmake(Qt6MultimediaWidgets) BuildRequires: cmake(Qt6MultimediaWidgets)
BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Nfc) BuildRequires: cmake(Qt6Nfc)
BuildRequires: cmake(Qt6Positioning) BuildRequires: cmake(Qt6OpenGL)
BuildRequires: cmake(Qt6OpenGLWidgets)
%if %{?suse_version} >= 1550 %if %{?suse_version} >= 1550
# no pdf headers in 15.X # no pdf headers in 15.X
%ifarch aarch64 x86_64 riscv64 %ifarch aarch64 x86_64 riscv64
@ -60,6 +63,8 @@ BuildRequires: cmake(Qt6Pdf)
BuildRequires: cmake(Qt6PdfWidgets) BuildRequires: cmake(Qt6PdfWidgets)
%endif %endif
%endif %endif
BuildRequires: cmake(Qt6Positioning)
BuildRequires: cmake(Qt6PrintSupport)
BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Qml)
BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6QuickWidgets) BuildRequires: cmake(Qt6QuickWidgets)
@ -73,12 +78,17 @@ BuildRequires: cmake(Qt6SerialPort)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 155000 %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 155000
BuildRequires: cmake(Qt6SpatialAudio) BuildRequires: cmake(Qt6SpatialAudio)
%endif %endif
BuildRequires: cmake(Qt6Sql)
BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(Qt6SvgWidgets)
BuildRequires: cmake(Qt6Test)
%if %{?suse_version} >= 1550 %if %{?suse_version} >= 1550
BuildRequires: cmake(Qt6TextToSpeech) BuildRequires: cmake(Qt6TextToSpeech)
%endif %endif
BuildRequires: cmake(Qt6WebChannel) BuildRequires: cmake(Qt6WebChannel)
BuildRequires: cmake(Qt6WebSockets) BuildRequires: cmake(Qt6WebSockets)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6Xml)
%requires_ge python-PyQt6-sip %requires_ge python-PyQt6-sip
%requires_ge python-dbus-python %requires_ge python-dbus-python
Provides: python-qt6 = %{version}-%{release} Provides: python-qt6 = %{version}-%{release}
@ -97,25 +107,49 @@ Requires: qt6-base-devel
Requires: qt6-macros Requires: qt6-macros
Requires: cmake(Qt6Bluetooth) Requires: cmake(Qt6Bluetooth)
Requires: cmake(Qt6Designer) Requires: cmake(Qt6Designer)
Requires: cmake(Qt6DBus)
Requires: cmake(Qt6Help) Requires: cmake(Qt6Help)
Requires: cmake(Qt6Multimedia) Requires: cmake(Qt6Multimedia)
Requires: cmake(Qt6MultimediaWidgets) Requires: cmake(Qt6MultimediaWidgets)
Requires: cmake(Qt6Network)
Requires: cmake(Qt6Nfc) Requires: cmake(Qt6Nfc)
Requires: cmake(Qt6OpenGL)
Requires: cmake(Qt6OpenGLWidgets)
%if %{?suse_version} >= 1550
# no pdf headers in 15.X
%ifarch aarch64 x86_64 riscv64
# qt6-pdf-devel is built in qt6-webengine with ExclusiveArch
Requires: cmake(Qt6Pdf)
Requires: cmake(Qt6PdfWidgets)
%endif
%endif
Requires: cmake(Qt6Positioning) Requires: cmake(Qt6Positioning)
Requires: cmake(Qt6PrintSupport)
Requires: cmake(Qt6Qml) Requires: cmake(Qt6Qml)
Requires: cmake(Qt6Quick) Requires: cmake(Qt6Quick)
Requires: cmake(Qt6QuickWidgets) Requires: cmake(Qt6QuickWidgets)
Requires: cmake(Qt6RemoteObjects) %if %{?suse_version} >= 1550
Requires: cmake(Qt6Sensors)
Requires: cmake(Qt6SerialPort)
Requires: cmake(Qt6Svg)
Requires: cmake(Qt6WebChannel)
Requires: cmake(Qt6WebSockets)
Requires: %plainpython(abi) = %{python_version}
%if 0%{?suse_version} >= 1550
Requires: cmake(Qt6Quick3D) Requires: cmake(Qt6Quick3D)
Requires: cmake(Qt6Quick3DRuntimeRender) Requires: cmake(Qt6Quick3DRuntimeRender)
%endif %endif
Requires: cmake(Qt6RemoteObjects)
Requires: cmake(Qt6Sensors)
Requires: cmake(Qt6SerialPort)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 155000
Requires: cmake(Qt6SpatialAudio)
%endif
Requires: cmake(Qt6Sql)
Requires: cmake(Qt6Svg)
Requires: cmake(Qt6SvgWidgets)
Requires: cmake(Qt6Test)
%if %{?suse_version} >= 1550
Requires: cmake(Qt6TextToSpeech)
%endif
Requires: cmake(Qt6WebChannel)
Requires: cmake(Qt6WebSockets)
Requires: cmake(Qt6Widgets)
Requires: cmake(Qt6Xml)
Requires: %plainpython(abi) = %{python_version}
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
# If and which version of sip is required depends on the project trying # If and which version of sip is required depends on the project trying
@ -179,7 +213,7 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README NEWS ChangeLog %doc README.md NEWS ChangeLog
%{python_sitearch}/PyQt6/ %{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6-%{version}.dist-info/ %{python_sitearch}/PyQt6-%{version}.dist-info/
%dir %{python_sitelib}/dbus %dir %{python_sitelib}/dbus
@ -204,7 +238,7 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%files %{python_files doc} %files %{python_files doc}
%license LICENSE %license LICENSE
%{_docdir}/%{python_prefix}-%{mname} %{_docdir}/%{python_prefix}-%{mname}
%exclude %{_docdir}/%{python_prefix}-%{mname}/README %exclude %{_docdir}/%{python_prefix}-%{mname}/README.md
%exclude %{_docdir}/%{python_prefix}-%{mname}/NEWS %exclude %{_docdir}/%{python_prefix}-%{mname}/NEWS
%exclude %{_docdir}/%{python_prefix}-%{mname}/ChangeLog %exclude %{_docdir}/%{python_prefix}-%{mname}/ChangeLog