- Clean up some deprecated python-rpm-macro usage and declare BuildRequirement on it explicitly. - Provide python dist-info metadata and PyPI names in rpm metadata - Fix missing install of typing stub and PySide2.support - Fix ctest suite run by providing some extra paths - Update to 5.15.4 * [PYSIDE-955] QOpenGLContext.versionFunctions() have been implemented. Class QOpenGLVersionFunctionsFactory (from Qt 6) has also been added. * [PYSIDE-1409] signature: The decision heuristics of result tuples have been refined. * [PYSIDE-1438] Crashes in Qt Datavisualization's QBar/SurfaceDataProxy add/set/insertRow() members have been fixed. * [PYSIDE-1502] Import errors will now be properly reported. * [PYSIDE-1513] Documentation on properties has been added. * [PYSIDE-1538] signature: Unrecognized items will no longer raise exceptions. * [PYSIDE-1540] The performance of QPainter::drawPoints(QPolygon) has been improved. * [PYSIDE-1529] Crashes when registering static fields have been fixed. - Update to 5.15.3. Bugs fixed: * [PYSIDE-454] namespace std is no longer rejected in the Qt typesystem files. * [PYSIDE-807] setup.py's 'clean' command has been fixed. * [PYSIDE-1305] The error handling of constructor keyword arguments has been fixed. * [PYSIDE-1422] A crash related to Signal and __eq__ has been fixed. * [PYSIDE-1432] An ownership issue in QLayout::replaceWidget() has been fixed. * [PYSIDE-1442] QFlags operations have been fixed. * [PYSIDE-1447] A crash related to qApp and Python 3.9 has been fixed. * [PYSIDE-1449] QTestlib's QAbstractItemModelTester has been added. * [PYSIDE-1460] An infinite loop changing up directories in the signature bootstrap code has been fixed. * [PYSIDE-1466] The newly introduced overload QSetting.value() taking a type has been documentated. * [PYSIDE-1478] A bug related to using QQmlContext.setContextProperty() with the snake case feature has been fixed. * [PYSIDE-1347] Inheritance for enum types has been fixed. * [PYSIDE-1448] Code injected at target/end being invoked for multiple overload ids has been fixed. * [PYSIDE-1470] shiboken.delete() can now be used to delete Q*Application. * [PYSIDE-1501] The clang parser has been fixed to be able to handle some Boost headers. - Switch to CMake for building pyside2. - Add patch: * 0001-Always-link-to-python-libraries.patch - Rebase patch: * 0001-Don-t-try-to-install-or-use-uic-rcc-designer-copies.patch - Drop now unneeded patches: * lib64.patch * 0002-Fix-the-openSUSE-executable-names.patch - Build pyside without QtWebEngine on powerpc and zSystems OBS-URL: https://build.opensuse.org/request/show/983591 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=55
58 lines
1.8 KiB
Diff
58 lines
1.8 KiB
Diff
From 88b4cc717777aa88afbed8ec30b6ef95a7ec01d1 Mon Sep 17 00:00:00 2001
|
|
From: Christophe Giboudeaux <christophe@krop.fr>
|
|
Date: Mon, 21 Mar 2022 17:03:40 +0100
|
|
Subject: [PATCH] Don't try to install or use uic/rcc/designer copies.
|
|
|
|
These executables are installed by qtbase and qttools. Making copies
|
|
is not needed.
|
|
---
|
|
sources/pyside2-tools/CMakeLists.txt | 32 ----------------------------
|
|
1 file changed, 32 deletions(-)
|
|
|
|
diff --git a/sources/pyside2-tools/CMakeLists.txt b/sources/pyside2-tools/CMakeLists.txt
|
|
index ce65750..f9ebd84 100644
|
|
--- a/sources/pyside2-tools/CMakeLists.txt
|
|
+++ b/sources/pyside2-tools/CMakeLists.txt
|
|
@@ -55,38 +55,6 @@ else()
|
|
set(DESIGNER_PATH "${TOOLS_PATH}/designer${EXE_EXT}")
|
|
endif()
|
|
|
|
-install(FILES "${UIC_PATH}"
|
|
- DESTINATION bin
|
|
- PERMISSIONS
|
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
|
- GROUP_EXECUTE GROUP_READ
|
|
- WORLD_EXECUTE WORLD_READ)
|
|
-
|
|
-install(FILES "${RCC_PATH}"
|
|
- DESTINATION bin
|
|
- PERMISSIONS
|
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
|
- GROUP_EXECUTE GROUP_READ
|
|
- WORLD_EXECUTE WORLD_READ)
|
|
-
|
|
-if (EXISTS ${DESIGNER_PATH})
|
|
- if (APPLE)
|
|
- install(DIRECTORY "${DESIGNER_PATH}"
|
|
- DESTINATION bin
|
|
- FILE_PERMISSIONS
|
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
|
- GROUP_EXECUTE GROUP_READ
|
|
- WORLD_EXECUTE WORLD_READ)
|
|
- else()
|
|
- install(FILES "${DESIGNER_PATH}"
|
|
- DESTINATION bin
|
|
- PERMISSIONS
|
|
- OWNER_EXECUTE OWNER_WRITE OWNER_READ
|
|
- GROUP_EXECUTE GROUP_READ
|
|
- WORLD_EXECUTE WORLD_READ)
|
|
- endif()
|
|
-endif()
|
|
-
|
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
|
IMMEDIATE @ONLY)
|
|
--
|
|
2.35.1
|
|
|