Accepting request 1208477 from KDE:Qt:PyQt

- Change version to 6.8.0~dev2410061818
  * Mark development version for correct order before release
- Changes from 6.7.1
  * SIP v6.8.6 and PyQt6-sip v13.8 are now required for Python
    v3.13 support and for Linux on ARM.

- Update to 6.8.0.dev2410061818:
  * Added support for Qt v6.8 (excluding any technical previews).
  * Implemented QtAudio as a synonym for QAudio.
  * Bug fixes.

OBS-URL: https://build.opensuse.org/request/show/1208477
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2024-10-17 16:38:29 +00:00 committed by Git OBS Bridge
commit f14b7bb29e
4 changed files with 32 additions and 11 deletions

BIN
PyQt6-6.7.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:256f9329c008009d4d708d6251c54f504606c5c7c6313fa66b5f68bd72d41e2b
size 1061871

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Oct 16 15:48:52 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Change version to 6.8.0~dev2410061818
* Mark development version for correct order before release
- Changes from 6.7.1
* SIP v6.8.6 and PyQt6-sip v13.8 are now required for Python
v3.13 support and for Linux on ARM.
-------------------------------------------------------------------
Wed Oct 16 08:11:34 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Update to 6.8.0.dev2410061818:
* Added support for Qt v6.8 (excluding any technical previews).
* Implemented QtAudio as a synonym for QAudio.
* Bug fixes.
-------------------------------------------------------------------
Tue Sep 10 14:40:49 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -19,24 +19,28 @@
%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.7.0
Version: 6.8.0~dev2410061818
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
#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
# 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.6}
BuildRequires: %{python_module PyQt6-sip >= 13.8}
BuildRequires: %{python_module dbus-python-devel >= 0.8}
BuildRequires: %{python_module devel >= 3.6.1}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pyqt-builder >= 1.15}
BuildRequires: %{python_module sip-devel >= 6.5}
BuildRequires: %{python_module sip-devel >= 6.8}
BuildRequires: dbus-1-devel
BuildRequires: dos2unix
BuildRequires: fdupes
@ -176,7 +180,7 @@ PyQt is a set of Python bindings for the Qt framework.
This package contains programming examples for PyQt6.
%prep
%autosetup -p1 -n PyQt6-%{version}
%autosetup -p1 -n PyQt6-%{pep440version}
dos2unix examples/quick/models/*/view.qml
dos2unix examples/multimedia*/*/*.ui
@ -202,7 +206,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 == "%{version}"'
$python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{pep440version}"'
}
%post devel
@ -215,7 +219,7 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%license LICENSE
%doc README.md NEWS ChangeLog
%{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6-%{version}.dist-info/
%{python_sitearch}/PyQt6-%{pep440version}.dist-info/
%dir %{python_sitelib}/dbus
%dir %{python_sitelib}/dbus/mainloop
%{python_sitelib}/dbus/mainloop/pyqt6.py