SHA256
1
0
forked from pool/python-PyQt6

67 Commits

Author SHA256 Message Date
e0f3c5e3e2 Accepting request 1272850 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1272850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=30
2025-04-28 14:16:04 +00:00
8d0d48fea6 - Split the package to build the Qt6Pdf bindings as a separate
flavor. This allows to build most of the bindings in SLFO but
  only build the Qt6Pdf bindings (which need qt6-webengine) in
  Backports.
- Add patch to allow building only the Qt6Pdf bindings without
  having to build Qt6Core too:
  * fix-build-without-qtcore.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=41
2025-04-26 10:59:43 +00:00
caae201481 Accepting request 1266947 from KDE:Qt:PyQt
- Update to 6.8.1
  * Added the QtStateMachine module.
  * Bug fixes.
- Drop 0001-Fix-build-with-Qt-6.8.2.patch
- Add PyQt6-Qt6.9.0.patch in order to build with Qt 6.9.0. This is
  basically PyQt6 6.9.0.dev2504021615 without the version bump (forwarded request 1266946 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1266947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=29
2025-04-07 15:35:54 +00:00
4d8ac99d05 - Update to 6.8.1
* Added the QtStateMachine module.
  * Bug fixes.
- Drop 0001-Fix-build-with-Qt-6.8.2.patch
- Add PyQt6-Qt6.9.0.patch in order to build with Qt 6.9.0. This is
  basically PyQt6 6.9.0.dev2504021615 without the version bump

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=40
2025-04-03 18:18:01 +00:00
58b9532b70 Accepting request 1242235 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1242235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=28
2025-02-03 20:41:39 +00:00
36e6d0ad47 - Add build fix:
* 0001-Fix-build-with-Qt-6.8.2.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=39
2025-02-02 15:03:24 +00:00
522d0aff90 Accepting request 1236044 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1236044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=27
2025-01-12 10:10:02 +00:00
dab0bb9bc5 - 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

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=38
2025-01-08 21:19:26 +00:00
c7564e60b7 Accepting request 1222700 from KDE:Qt:PyQt
- Fix requires_eq replacement gh#openSUSE/python-rpm-macros#185

OBS-URL: https://build.opensuse.org/request/show/1222700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=26
2024-11-09 19:52:50 +00:00
bb7ea86855 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=37 2024-11-08 09:50:23 +00:00
f94abdbf09 - Fix requires_eq replacement gh#openSUSE/python-rpm-macros#185
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=36
2024-11-08 09:14:04 +00:00
e9f8220df3 Accepting request 1221363 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1221363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=25
2024-11-06 15:49:35 +00:00
b7b4a15a84 - Avoid using requires_eq, which after the last modifications
conflicts with python singlespec (order of expansion).

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=35
2024-11-05 09:24:16 +00:00
f14b7bb29e 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
2024-10-17 16:38:29 +00:00
c8e6cde1d2 - Changes from 6.7.1
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=34
2024-10-16 15:52:16 +00:00
da98f8b6d3 - Change version to 6.8.0~dev2410061818
* Mark development version for correct order before release
- Changes from 6.7.  
  * SIP v6.8.6 and PyQt6-sip v13.8 are now required for Python
    v3.13 support and for Linux on ARM.

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=33
2024-10-16 15:51:38 +00:00
Christophe Marin
1f035e94c5 PyQt6 for 6.8. Tested on 15.6 by using retext + webengine. Works!
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=32
2024-10-16 09:39:44 +00:00
ab0c32c0ca Accepting request 1199909 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1199909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=23
2024-09-12 14:53:53 +00:00
a557082aba Accepting request 1169543 from KDE:Qt:PyQt
Update to 6.7.0

OBS-URL: https://build.opensuse.org/request/show/1169543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=22
2024-04-23 16:55:02 +00:00
659d1e4aab - Update to 6.7.0
* Implemented QBluetoothUuid.__hash__
- Switch from development snapshot to pre-release tarball

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=30
2024-04-21 13:33:57 +00:00
a15d7687cc Accepting request 1167027 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1167027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=21
2024-04-12 15:35:07 +00:00
bb7b0e6154 Accepting request 1167025 from home:bnavigator:branches:KDE:Qt:PyQt
- 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

OBS-URL: https://build.opensuse.org/request/show/1167025
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=29
2024-04-12 09:35:14 +00:00
c4c028586a Accepting request 1141575 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1141575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=20
2024-01-26 21:47:38 +00:00
6cfa105dc4 Accepting request 1141574 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to 6.6.1
  * Fix QWidgetAction ownership annotations.

OBS-URL: https://build.opensuse.org/request/show/1141574
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=28
2024-01-25 21:48:48 +00:00
c5ffc98921 Accepting request 1121486 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1121486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=19
2023-11-01 21:09:51 +00:00
3449297e46 Accepting request 1121197 from home:mcalabkova:branches:devel:languages:python
- Update to 6.6.0
  * This adds support for Qt v6.6.
- Drop no longer needed pyqt6-fix-build-with-qt-6.6.0.patch

OBS-URL: https://build.opensuse.org/request/show/1121197
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=27
2023-10-31 18:12:09 +00:00
b7d9cac93b Accepting request 1118548 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1118548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=18
2023-10-18 19:26:19 +00:00
b4701d82f4 Accepting request 1118546 from home:bnavigator:branches:KDE:Qt:PyQt
update reqs

OBS-URL: https://build.opensuse.org/request/show/1118546
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=26
2023-10-18 09:21:10 +00:00
dffb2bc6f6 Accepting request 1118541 from home:llyyr:branches:KDE:Qt:PyQt
- Update to 6.5.3
  * Added support for Python 3.12 and the missing
    QAbstractItemModel.multiData() method, as well as the missing
    QModelRoleDataSpan class.
- Add patch pyqt6-fix-build-with-qt-6.6.0.patch to fix build with
  Qt 6.6.0.
- Set CXX flag "-DQT_NO_INT128" to fix buil with Qt 6.6.0.

OBS-URL: https://build.opensuse.org/request/show/1118541
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=25
2023-10-18 09:08:23 +00:00
c0a830d982 Accepting request 1114143 from KDE:Qt:PyQt
- Update to 6.5.2
  * Added the missing NativeGesture, Quit, EnterEditFocus and
    LeaveEditFocus members of QEventType.

OBS-URL: https://build.opensuse.org/request/show/1114143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=17
2023-09-29 19:14:08 +00:00
e8dff16625 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=24 2023-09-28 19:12:41 +00:00
ad04d06507 Accepting request 1099759 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1099759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=16
2023-07-25 09:50:19 +00:00
b5100a6344 Accepting request 1099716 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 6.5.1
  * Added support for QPermission and related classes and methods.
  * Added the max_workers argument to uic.compileUiDir() to specify 
    the maximum number of worker processes to use when compiling 
    the .ui files in a directory.
  * pyuic6 will now compile all the .ui files in a directory if the 
    name of the directory is passed instead of a .ui file.
  * Added the --max-workers command line option to pyuic6.

OBS-URL: https://build.opensuse.org/request/show/1099716
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=23
2023-07-20 14:41:14 +00:00
6b7a69d8fd Accepting request 1092338 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1092338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=15
2023-06-12 13:26:00 +00:00
c1980c6bbc Accepting request 1092047 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092047
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=22
2023-06-11 14:58:46 +00:00
c3a7a6d7cd Accepting request 1083083 from KDE:Qt:PyQt
update

OBS-URL: https://build.opensuse.org/request/show/1083083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=14
2023-04-27 18:00:44 +00:00
a8bab9032c Accepting request 1082871 from home:bnavigator:branches:KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1082871
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=21
2023-04-26 16:35:21 +00:00
bcfb2fb381 Accepting request 1063979 from KDE:Qt:PyQt
- Update to v6.4.2
  * Fixed a regression in pylupdate

OBS-URL: https://build.opensuse.org/request/show/1063979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=13
2023-02-09 15:41:25 +00:00
c7b975dc2b .
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=20
2023-02-09 10:24:51 +00:00
e2b985b436 - Update to v6.4.2
* Bug fixes
  * Fixed a regression in pylupdate

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=19
2023-02-09 10:17:08 +00:00
49ac94663f Accepting request 1062115 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/1062115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=12
2023-01-31 15:09:20 +00:00
1527a564c9 Accepting request 1062107 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to 6.4.1
  * Added allocationLimit() and setAllocationLimit() to
    QImageReader.
  * Added toHBITMAP(), fromHBITMAP(), toHICON() and fromHICON() to
    QImage on Windows.
  * Bug fixes.
- Qt6TextToSpeech is not in 15.x

OBS-URL: https://build.opensuse.org/request/show/1062107
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=18
2023-01-30 19:20:15 +00:00
02a6c76861 Accepting request 1007749 from KDE:Qt:PyQt
Update to 6.4.0

OBS-URL: https://build.opensuse.org/request/show/1007749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=11
2022-10-04 18:37:37 +00:00
50d5fa968b Accepting request 1007730 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to version 6.4.0
  * Added support for Qt v6.4 including the QtPdf, QtPdfWidgets and
    QtTextToSpeech modules.
  * Added QAction.menu() and QAction.setMenu().
  * Bug fixes.

OBS-URL: https://build.opensuse.org/request/show/1007730
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=17
2022-10-03 17:08:36 +00:00
4d7dafe3be Accepting request 985022 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/985022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=10
2022-06-26 09:58:42 +00:00
ec14c5340a 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
2022-06-25 09:40:21 +00:00
db379685c6 Accepting request 970213 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/970213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=9
2022-04-15 22:14:22 +00:00
d63129176b Accepting request 969960 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to version 6.3.0
  * Added support for Qt v6.3.
  * Bug fixes.
- Enable Quick3D for Tumbleweed

OBS-URL: https://build.opensuse.org/request/show/969960
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=15
2022-04-14 15:17:18 +00:00
ce0cd238fa Accepting request 951798 from KDE:Qt:PyQt
update

OBS-URL: https://build.opensuse.org/request/show/951798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=8
2022-02-06 22:54:23 +00:00
9413e28831 Accepting request 951795 from home:bnavigator:branches:KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/951795
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=14
2022-02-05 21:40:22 +00:00
945293b414 Accepting request 935719 from KDE:Qt:PyQt
update

OBS-URL: https://build.opensuse.org/request/show/935719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=7
2021-12-09 18:45:26 +00:00
d80f635ec2 Accepting request 935565 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to version 6.2.2
  * Added the missing QBluetoothUuid constructors.
  * Added the missing QMediaPlayer loop-related methods.
  * Bug fixes.

OBS-URL: https://build.opensuse.org/request/show/935565
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=13
2021-12-03 18:21:21 +00:00
2106eaf58c Accepting request 929037 from KDE:Qt:PyQt
remove sip-devel runtime dependency for -devel package
in order to avoid conflicts like boo#1192300

OBS-URL: https://build.opensuse.org/request/show/929037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=6
2021-11-04 15:09:35 +00:00
120cc54934 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=12 2021-11-03 14:27:46 +00:00
112ff5c84b Accepting request 928221 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/928221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=5
2021-11-01 17:35:40 +00:00
bc3ecb7ce9 Accepting request 928220 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to version 6.2.1
  * Bug fixes.

OBS-URL: https://build.opensuse.org/request/show/928220
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=9
2021-10-29 22:04:25 +00:00
7940043cec Accepting request 923592 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/923592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=4
2021-10-11 13:30:57 +00:00
103ddc98fc Accepting request 922900 from home:bnavigator:branches:KDE:Qt:PyQt
- Update to version 6.2.0
  * Added support for Qt v6.2 including the QtBluetooth,
    QtMultimedia, QtMultimediaWidgets, QtNfc, QtPositioning,
     QtRemoteObjects, QtSensors, QtSerialPort, QtWebChannel and
     QtWebSockets modules.
  * Added support for QAxContainer on Windows.
  * Ported the QtMultimedia examples from PyQt5.
  * Bug fixes. 
- Drop PyQt6-6.1.1-OpenGL_ES2.patch merged upstream

OBS-URL: https://build.opensuse.org/request/show/922900
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=8
2021-10-06 21:13:03 +00:00
Richard Brown
cc305d8dca Accepting request 913027 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/913027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=3
2021-08-20 14:57:39 +00:00
ddc3d38171 Accepting request 913014 from home:bmwiedemann:branches:KDE:Qt:PyQt
Stop writing mtime-based pyc files during tests (boo#1047218)

OBS-URL: https://build.opensuse.org/request/show/913014
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=7
2021-08-19 09:02:41 +00:00
1d1f59b580 Accepting request 906444 from KDE:Qt:PyQt
OBS-URL: https://build.opensuse.org/request/show/906444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=2
2021-07-15 22:00:41 +00:00
ff75876522 Accepting request 906359 from home:bnavigator:branches:KDE:Qt:PyQt
- Add PyQt6-6.1.1-OpenGL_ES2.patch for building ARM with OpenGL ES2
  https://www.riverbankcomputing.com/pipermail/pyqt/2021-July/044117.html
- first obs service cleaned specfile commit

OBS-URL: https://build.opensuse.org/request/show/906359
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=6
2021-07-15 10:12:02 +00:00
5ac3e75c3c Accepting request 904375 from KDE:Qt:PyQt
remove noop requires_ge

OBS-URL: https://build.opensuse.org/request/show/904375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6?expand=0&rev=1
2021-07-10 20:54:21 +00:00
3a3bc22fb9 Accepting request 904374 from home:bnavigator:branches:KDE:Qt:PyQt
- remove the noop %requires_ge libqt6-x11
- Define skip_python2 for Leap

OBS-URL: https://build.opensuse.org/request/show/904374
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=4
2021-07-06 11:54:26 +00:00
2c581f0121 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=3 2021-07-05 22:43:48 +00:00
d1342647b8 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=2 2021-07-05 22:43:18 +00:00
62dea6c162 Accepting request 904243 from home:bnavigator:pyqt
OBS-URL: https://build.opensuse.org/request/show/904243
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=1
2021-07-05 17:54:00 +00:00
7 changed files with 1472 additions and 31 deletions

Binary file not shown.

1293
PyQt6-Qt6.9.0.patch Normal file

File diff suppressed because it is too large Load Diff

4
_multibuild Normal file
View File

@@ -0,0 +1,4 @@
<multibuild>
<flavor>qt6pdf</flavor>
</multibuild>

View File

@@ -0,0 +1,14 @@
Index: pyqt6-6.8.1/project.py
===================================================================
--- pyqt6-6.8.1.orig/project.py
+++ pyqt6-6.8.1/project.py
@@ -180,7 +180,8 @@ del find_qt
'win32': 'Windows',
}
- self.bindings['QtCore'].tags.append(
+ if QtCore in self.bindings:
+ self.bindings['QtCore'].tags.append(
platform_tags_map.get(self.py_platform, 'Linux'))
# Make sure the bindings are buildable.

BIN
pyqt6-6.8.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,71 @@
-------------------------------------------------------------------
Fri Apr 25 07:44:03 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
- Split the package to build the Qt6Pdf bindings as a separate
flavor. This allows to build most of the bindings in SLFO but
only build the Qt6Pdf bindings (which need qt6-webengine) in
Backports.
- Add patch to allow building only the Qt6Pdf bindings without
having to build Qt6Core too:
* fix-build-without-qtcore.patch
-------------------------------------------------------------------
Thu Apr 3 17:05:34 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 6.8.1
* Added the QtStateMachine module.
* Bug fixes.
- Drop 0001-Fix-build-with-Qt-6.8.2.patch
- Add PyQt6-Qt6.9.0.patch in order to build with Qt 6.9.0. This is
basically PyQt6 6.9.0.dev2504021615 without the version bump
-------------------------------------------------------------------
Sun Feb 2 12:00:43 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Add build fix:
* 0001-Fix-build-with-Qt-6.8.2.patch
-------------------------------------------------------------------
Wed Jan 8 15:33:06 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Fix requires_eq replacement gh#openSUSE/python-rpm-macros#185
-------------------------------------------------------------------
Tue Nov 5 08:20:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Avoid using requires_eq, which after the last modifications
conflicts with python singlespec (order of expansion).
-------------------------------------------------------------------
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,47 @@
%define plainpython python
%define mname PyQt6
%define pyqt_build_for_qt6 1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "qt6pdf"
%define pkg_suffix -qt6pdf
%bcond_without qt6pdf
%if (0%{?suse_version} == 1600 && !0%{?is_opensuse}) || 0%{?suse_version} < 1600
# SLFO and SLE15 don't have cmake(Qt6Pdf)
ExclusiveArch: do_not_build
%endif
%ifnarch aarch64 x86_64 riscv64
# qt6-pdf-devel is built in qt6-webengine with ExclusiveArch
ExclusiveArch: do_not_build
%endif
%else
%bcond_with qt6pdf
%endif
%{?sle15_python_module_pythons}
Name: python-%{mname}
Version: 6.7.0
Name: python-%{mname}%{?pkg_suffix}
Version: 6.8.1
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
# 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}
# PATCH-FIX-UPSTREAM PyQt6-Qt6.9.0.patch -- this is basically 6.9.0.dev2504021615 without the version bump
Patch2: PyQt6-Qt6.9.0.patch
# PATCH-FIX-UPSTREAM fix-build-without-qtcore.patch -- Allow building only the Qt6Pdf bindings
Patch3: fix-build-without-qtcore.patch
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 pyqt-builder >= 1.15}
BuildRequires: %{python_module sip-devel >= 6.5}
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
@@ -45,6 +68,11 @@ BuildRequires: python-pyqt-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: qt6-base-devel
BuildRequires: qt6-macros
%if %{with qt6pdf}
BuildRequires: cmake(Qt6Pdf)
BuildRequires: cmake(Qt6PdfWidgets)
BuildRequires: %{python_module PyQt6-devel}
%else
BuildRequires: cmake(Qt6Bluetooth)
BuildRequires: cmake(Qt6Designer)
BuildRequires: cmake(Qt6DBus)
@@ -55,14 +83,6 @@ BuildRequires: cmake(Qt6Network)
BuildRequires: cmake(Qt6Nfc)
BuildRequires: cmake(Qt6OpenGL)
BuildRequires: 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
BuildRequires: cmake(Qt6Pdf)
BuildRequires: cmake(Qt6PdfWidgets)
%endif
%endif
BuildRequires: cmake(Qt6Positioning)
BuildRequires: cmake(Qt6PrintSupport)
BuildRequires: cmake(Qt6Qml)
@@ -78,6 +98,7 @@ BuildRequires: cmake(Qt6SerialPort)
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 155000
BuildRequires: cmake(Qt6SpatialAudio)
%endif
BuildRequires: cmake(Qt6StateMachine)
BuildRequires: cmake(Qt6Sql)
BuildRequires: cmake(Qt6Svg)
BuildRequires: cmake(Qt6SvgWidgets)
@@ -89,9 +110,15 @@ BuildRequires: cmake(Qt6WebChannel)
BuildRequires: cmake(Qt6WebSockets)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6Xml)
%requires_ge python-PyQt6-sip
%requires_ge python-dbus-python
%endif
Requires: python-PyQt6-sip >= %(rpm -q --whatprovides python-PyQt6-sip --qf "%%{version}")
Requires: python-dbus-python >= %(rpm -q --whatprovides python-dbus-python --qf "%%{version}")
%if %{with qt6pdf}
Requires: python-PyQt6
%else
Recommends: python-PyQt6-qt6pdf
Provides: python-qt6 = %{version}-%{release}
%endif
%python_subpackages
%description
@@ -105,6 +132,10 @@ Requires: python-dbus-python-devel >= 0.8
Requires: python-devel
Requires: qt6-base-devel
Requires: qt6-macros
%if %{with qt6pdf}
Requires: cmake(Qt6Pdf)
Requires: cmake(Qt6PdfWidgets)
%else
Requires: cmake(Qt6Bluetooth)
Requires: cmake(Qt6Designer)
Requires: cmake(Qt6DBus)
@@ -115,14 +146,6 @@ Requires: cmake(Qt6Network)
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(Qt6PrintSupport)
Requires: cmake(Qt6Qml)
@@ -149,14 +172,19 @@ Requires: cmake(Qt6WebChannel)
Requires: cmake(Qt6WebSockets)
Requires: cmake(Qt6Widgets)
Requires: cmake(Qt6Xml)
%endif
Requires: %plainpython(abi) = %{python_version}
Requires(post): update-alternatives
Requires(postun):update-alternatives
# If and which version of sip is required depends on the project trying
# to build against PyQt6.
%if %{with qt6pdf}
Requires: python-PyQt6-devel
%else
Recommends: python-sip-devel
Recommends: python-qscintilla-qt6
Provides: python-qt6-devel = %{version}-%{release}
%endif
%description devel
PyQt is a set of Python bindings for the Qt framework.
@@ -176,7 +204,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-%{version}
dos2unix examples/quick/models/*/view.qml
dos2unix examples/multimedia*/*/*.ui
@@ -187,17 +215,42 @@ dos2unix examples/multimedia*/*/*.ui
-s %{quote:--pep484-pyi \
--confirm-license \
--qt-shared \
--qmake-setting 'QMAKE_CXXFLAGS_RELEASE=%{optflags} -DQT_NO_INT128'}}
--qmake-setting 'QMAKE_CXXFLAGS_RELEASE=%{optflags} -DQT_NO_INT128'\
%if %{with qt6pdf}
--enable QtPdf \
%endif
%{nil}
}}
%install
%pyqt_install
%if %{without qt6pdf}
%pyqt_install_examples %mname
%python_clone -a %{buildroot}%{_bindir}/pyuic6
%python_clone -a %{buildroot}%{_bindir}/pylupdate6
%else
# We have to remove installed files that aren't part of qt6pdf
rm %{buildroot}%{_bindir}/pyuic6 \
%{buildroot}%{_bindir}/pylupdate6
rm -Rf %{buildroot}%{_qt6_datadir}/qsci
%{python_expand
rm -Rf %{buildroot}%{$python_sitelib}/dbus \
%{buildroot}%{$python_sitearch}/PyQt6/uic \
%{buildroot}%{$python_sitearch}/PyQt6/lupdate \
%{buildroot}%{$python_sitearch}/PyQt6-%{version}.dist-info
rm %{buildroot}%{$python_sitearch}/PyQt6/__init__.py \
%{buildroot}%{$python_sitearch}/PyQt6/dbus_mainloop.abi3.so \
%{buildroot}%{$python_sitearch}/PyQt6/py.typed \
%{buildroot}%{$python_sitearch}/PyQt6/sip.pyi
}
%endif
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{without qt6pdf}
%check
export PYTHONDONTWRITEBYTECODE=1 # boo#1047218
%{python_expand # there is no test suite. If it compiles and imports, it should be okay.
@@ -211,8 +264,11 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%postun devel
%python_uninstall_alternative pyuic6
%endif
%files %{python_files}
%license LICENSE
%if %{without qt6pdf}
%doc README.md NEWS ChangeLog
%{python_sitearch}/PyQt6/
%{python_sitearch}/PyQt6-%{version}.dist-info/
@@ -222,9 +278,15 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%dir %{_qt6_pluginsdir}/PyQt6/
%{_qt6_pluginsdir}/PyQt6/libpy%{python_bin_suffix}qt6qmlplugin.so
%exclude %pyqt6_sipdir
%exclude %{python_sitearch}/PyQt6/QtPdf.*
%else
%{python_sitearch}/PyQt6/QtPdf.*
%endif
%files %{python_files devel}
%license LICENSE
%pyqt6_sipdir
%if %{without qt6pdf}
%python_alternative %{_bindir}/pyuic6
%python_alternative %{_bindir}/pylupdate6
%dir %{_qt6_pluginsdir}/designer/
@@ -233,7 +295,6 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%dir %{_qt6_datadir}/qsci/api/
%dir %{_qt6_datadir}/qsci/api/python_%{python_bin_suffix}/
%{_qt6_datadir}/qsci/api/python_%{python_bin_suffix}/PyQt6.api
%pyqt6_sipdir
%files %{python_files doc}
%license LICENSE
@@ -241,5 +302,6 @@ $python -c 'from PyQt6 import QtCore; assert QtCore.PYQT_VERSION_STR == "%{versi
%exclude %{_docdir}/%{python_prefix}-%{mname}/README.md
%exclude %{_docdir}/%{python_prefix}-%{mname}/NEWS
%exclude %{_docdir}/%{python_prefix}-%{mname}/ChangeLog
%endif
%changelog