diff --git a/PyQt6-6.8.0.dev2410061818.tar.gz b/PyQt6-6.8.0.dev2410061818.tar.gz deleted file mode 100644 index e58f47f..0000000 --- a/PyQt6-6.8.0.dev2410061818.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:256f9329c008009d4d708d6251c54f504606c5c7c6313fa66b5f68bd72d41e2b -size 1061871 diff --git a/PyQt6-6.8.0.tar.gz b/PyQt6-6.8.0.tar.gz new file mode 100644 index 0000000..ca1c816 --- /dev/null +++ b/PyQt6-6.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d8628de4c2a050f0b74462e4c9cb97f839bf6ffabbca91711722ffb281570d9 +size 1061357 diff --git a/python-PyQt6.changes b/python-PyQt6.changes index dac3910..1651720 100644 --- a/python-PyQt6.changes +++ b/python-PyQt6.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jan 8 15:33:06 UTC 2025 - Ben Greiner + +- Update to 6.8.0 + * Added support for Qt v6.8 (excluding any technical previews). + * Python enums are now handled correctly by Qt Designer (requires + Qt v6.8.1 or later). + * Implemented QtAudio as a synonym for QAudio. + * Added QWindow.setVulkanInstance(), QWindow.vulkanInstance(), + QVulkanExtension, QVulkanInstance and QVulkanLayer. + * Bug fixes. +- Should fix boo#1234295 + ------------------------------------------------------------------- Fri Nov 8 08:57:02 UTC 2024 - Ben Greiner diff --git a/python-PyQt6.spec b/python-PyQt6.spec index 24fc198..0dc2295 100644 --- a/python-PyQt6.spec +++ b/python-PyQt6.spec @@ -19,28 +19,24 @@ %define plainpython python %define mname PyQt6 %define pyqt_build_for_qt6 1 -%define pep440version 6.8.0.dev2410061818 %{?sle15_python_module_pythons} Name: python-%{mname} -Version: 6.8.0~dev2410061818 +Version: 6.8.0 Release: 0 Summary: Python bindings for Qt 6 License: GPL-3.0-only OR SUSE-GPL-2.0-with-FLOSS-exception OR NonFree Group: Development/Libraries/Python URL: https://www.riverbankcomputing.com/software/pyqt -#Source: https://files.pythonhosted.org/packages/source/P/PyQt6/PyQt6-%%{version}.tar.gz -# The URL will be dead soon, don't bother including it -# https://www.riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-%{version}.tar.gz -Source: PyQt6-%{pep440version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/P/PyQt6/PyQt6-%{version}.tar.gz # PATCH-FIX-OPENSUSE - disable-rpaths.diff - Disable RPATH when building PyQt6. 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 >= 13.8} BuildRequires: %{python_module dbus-python-devel >= 0.8} -BuildRequires: %{python_module devel >= 3.8} -BuildRequires: %{python_module pyqt-builder >= 1.15} -BuildRequires: %{python_module sip-devel >= 6.8} +BuildRequires: %{python_module devel >= 3.9} +BuildRequires: %{python_module pyqt-builder >= 1.17} +BuildRequires: %{python_module sip-devel >= 6.9} BuildRequires: dbus-1-devel BuildRequires: dos2unix BuildRequires: fdupes @@ -180,7 +176,7 @@ PyQt is a set of Python bindings for the Qt framework. This package contains programming examples for PyQt6. %prep -%autosetup -p1 -n PyQt6-%{pep440version} +%autosetup -p1 -n PyQt6-%{version} dos2unix examples/quick/models/*/view.qml dos2unix examples/multimedia*/*/*.ui @@ -206,7 +202,7 @@ dos2unix examples/multimedia*/*/*.ui export PYTHONDONTWRITEBYTECODE=1 # boo#1047218 %{python_expand # there is no test suite. If it compiles and imports, it should be okay. export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{pep440version}"' +$python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{version}"' } %post devel @@ -219,7 +215,7 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{pep44 %license LICENSE %doc README.md NEWS ChangeLog %{python_sitearch}/PyQt6/ -%{python_sitearch}/PyQt6-%{pep440version}.dist-info/ +%{python_sitearch}/PyQt6-%{version}.dist-info/ %dir %{python_sitelib}/dbus %dir %{python_sitelib}/dbus/mainloop %{python_sitelib}/dbus/mainloop/pyqt6.py