The package rpms/python-pyside2.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-pyside2.git/commit/?id=283....
Change:
-%ifnarch ppc64le s390x
Thanks.
Full change:
============
commit 2833713b510f3787dfa1a028a51b3309f91525d9
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Fri Oct 6 09:37:15 2023 +0200
Fails to install with Python 3.12
See
https://bugzilla.redhat.com/2220452
Retired via
https://pagure.io/fesco/issue/3080
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7fb3584..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-/pyside-setup-everywhere-src-5.12.3.tar.xz
-/pyside-setup-everywhere-src-5.12.4.tar.xz
-/pyside-setup-everywhere-src-5.13.1.tar.xz
-/pyside-setup-everywhere-src-5.12.5.tar.xz
-/pyside-setup-everywhere-src-5.12.6.tar.xz
-/pyside-setup-opensource-src-5.13.2.tar.xz
-/pyside-setup-opensource-src-5.14.2.tar.xz
-/pyside-setup-opensource-src-5.14.2.2.tar.xz
-/pyside-setup-opensource-src-5.15.0.tar.xz
-/pyside-setup-opensource-src-5.15.1.tar.xz
-/pyside-setup-opensource-src-5.15.2.tar.xz
-/pyside-setup-opensource-src-5.15.2.1.tar.xz
-/pyside-setup-opensource-src-5.15.7.tar.xz
diff --git a/README.md b/README.md
deleted file mode 100644
index 2a2b24e..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# python-pyside2
-
-Python bindings for the Qt 5 cross-platform application and UI framework
\ No newline at end of file
diff --git a/build-tests.patch b/build-tests.patch
deleted file mode 100644
index 419e58f..0000000
--- a/build-tests.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-Index: pyside-setup-opensource-src-5.15.7/CMakeLists.txt
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/CMakeLists.txt
-+++ pyside-setup-opensource-src-5.15.7/CMakeLists.txt
-@@ -1,6 +1,11 @@
- cmake_minimum_required(VERSION 3.1)
- cmake_policy(VERSION 3.1)
-
-+option(BUILD_TESTS "Build tests." TRUE)
-+if (BUILD_TESTS)
-+ enable_testing()
-+endif()
-+
- set(CMAKE_BUILD_TYPE Release CACHE STRING "Build Type")
-
- project(pyside2_super_project)
-Index: pyside-setup-opensource-src-5.15.7/build_history/blacklist.txt
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/build_history/blacklist.txt
-+++ pyside-setup-opensource-src-5.15.7/build_history/blacklist.txt
-@@ -96,3 +96,80 @@
- # Incomplehensible effect with feature switching on 3.6, qApp.process_events()
- [QtCore::feature_with_uic_test]
- py3.6
-+
-+# Fedora/Python3.11 test failures to investigate
-+[testenum]
-+ linux
-+[sample::enum]
-+ linux
-+[sample::enumfromremovednamespace]
-+ linux
-+[sample::pen]
-+ linux
-+[pysidetest::decoratedslot_test]
-+ linux
-+[pysidetest::bug_1016]
-+ linux
-+[pysidetest::enum_test]
-+ linux
-+[pysidetest::homonymoussignalandmethod_test]
-+ linux
-+[pysidetest::list_signal_test]
-+ linux
-+[pysidetest::modelview_test]
-+ linux
-+[pysidetest::qvariant_test]
-+ linux
-+[pysidetest::repr_test]
-+ linux
-+[pysidetest::signalandnamespace_test]
-+ linux
-+[pysidetest::signalemissionfrompython_test]
-+ linux
-+[pysidetest::signalwithdefaultvalue_test]
-+ linux
-+[pysidetest::typedef_signal_test]
-+ linux
-+[registry::existence_test]
-+ linux
-+[signals::disconnect_test]
-+ linux
-+[signals::signal_enum_test]
-+ linux
-+[support::voidptr_test]
-+ linux
-+[QtCore::qenum_test]
-+ linux
-+[QtCore::multiple_feature_test]
-+ linux
-+[QtCore::snake_prop_feature_test]
-+ linux
-+[QtGui::qopenglbuffer_test]
-+ linux
-+[QtGui::timed_app_and_patching_test]
-+ linux
-+[QtWidgets::application_test]
-+ linux
-+[QtWidgets::bug_307]
-+ linux
-+[QtOpenGL::qglbuffer_test]
-+ linux
-+[QtDataVisualization::datavisualization_test]
-+ linux
-+[pysidetest::delegatecreateseditor_test]
-+ linux
-+[QtCore::qflags_test]
-+ linux
-+[QtQml::javascript_exceptions]
-+ linux
-+
-+# i686
-+[QtWebEngineWidgets::pyside-474-qtwebengineview]
-+ linux
-+
-+# s390x
-+[QtCore::qbytearray_test]
-+ linux
-+[QtQml::qquickitem_grabToImage]
-+ linux
-+
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..86633a7
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,5 @@
+Fails to install with Python 3.12
+
+See
https://bugzilla.redhat.com/2220452
+
+Retired via
https://pagure.io/fesco/issue/3080
diff --git a/nix_compile_cflags.patch b/nix_compile_cflags.patch
deleted file mode 100644
index 2e49669..0000000
--- a/nix_compile_cflags.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Index:
pyside-setup-opensource-src-5.15.7/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
-===================================================================
----
pyside-setup-opensource-src-5.15.7.orig/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
-+++
pyside-setup-opensource-src-5.15.7/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp
-@@ -345,17 +345,15 @@ QByteArrayList emulatedCompilerOptions()
- appendClangBuiltinIncludes(&headerPaths);
- # endif // NEED_CLANG_BUILTIN_INCLUDES
-
-- // Append the c++ include paths since Clang is unable to find <list> etc
-- // on RHEL 7 with g++ 6.3 or CentOS 7.2.
-- // A fix for this has been added to Clang 5.0, so, the code can be removed
-- // once Clang 5.0 is the minimum version.
-- if (needsGppInternalHeaders()) {
-- const HeaderPaths gppPaths =
gppInternalIncludePaths(compilerFromCMake(QStringLiteral("g++")));
-- for (const HeaderPath &h : gppPaths) {
-- if (h.path.contains("c++")
-- || h.path.contains("sysroot")) { // centOS
-- headerPaths.append(h);
-- }
-+ const HeaderPaths gppPaths =
gppInternalIncludePaths(QStringLiteral("g++"));
-+ for (const HeaderPath &h : gppPaths) {
-+ // PySide2 requires that Qt headers are not -isystem
-+ //
https://bugreports.qt.io/browse/PYSIDE-787
-+ if (!h.path.contains("-qt")) {
-+ // add using -isystem
-+ headerPaths.append(h);
-+ } else {
-+ headerPaths.append({h.path, HeaderType::Standard});
- }
- }
- #else
diff --git a/pyside2-tools-obsolete.patch b/pyside2-tools-obsolete.patch
deleted file mode 100644
index b14bd17..0000000
--- a/pyside2-tools-obsolete.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt
-===================================================================
---- pyside-setup-opensource-src-5.14.2.orig/sources/pyside2-tools/CMakeLists.txt
-+++ pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt
-@@ -47,28 +47,12 @@ else()
- endif()
-
- set(TOOLS_PATH "${_qt5Core_install_prefix}/bin")
--set(UIC_PATH "${TOOLS_PATH}/uic${EXE_EXT}")
--set(RCC_PATH "${TOOLS_PATH}/rcc${EXE_EXT}")
- if (APPLE)
- set(DESIGNER_PATH "${TOOLS_PATH}/Designer.app")
- 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}"
diff --git a/python-pyside2-options_py.patch b/python-pyside2-options_py.patch
deleted file mode 100644
index 8f5a9e4..0000000
--- a/python-pyside2-options_py.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: pyside-setup-opensource-src-5.15.2/build_scripts/options.py
-===================================================================
---- pyside-setup-opensource-src-5.15.2.orig/build_scripts/options.py
-+++ pyside-setup-opensource-src-5.15.2/build_scripts/options.py
-@@ -167,6 +167,7 @@ OPTION = {
- # Legacy, not used any more.
- "JOM": has_option('jom'),
- "MACOS_USE_LIBCPP": has_option("macos-use-libc++"),
-+ "REUSE_BUILD": has_option("reuse-build"),
- "QUIET": has_option('quiet', remove=False),
- "SNAPSHOT_BUILD": has_option("snapshot-build"),
- "LIMITED_API": option_value("limited-api"),
diff --git a/python-pyside2.spec b/python-pyside2.spec
deleted file mode 100644
index dc91086..0000000
--- a/python-pyside2.spec
+++ /dev/null
@@ -1,433 +0,0 @@
-%global toolchain clang
-%global _lto_cflags %{nil}
-%undefine __cmake_in_source_build
-
-%global pypi_name pyside2
-%global camel_name PySide2
-%global qt5ver 5.14
-
-# Pass `--without tests` to rpmbuild or mock to skip the test suite
-%bcond_without tests
-
-Name: python-%{pypi_name}
-Epoch: 1
-Version: 5.15.7
-Release: 4%{?dist}
-Summary: Python bindings for the Qt 5 cross-platform application and UI framework
-
-License: BSD and GPLv2 and GPLv3 and LGPLv3
-URL:
https://wiki.qt.io/Qt_for_Python
-
-Source0:
https://download.qt.io/official_releases/QtForPython/%{pypi_name}/%{camel...
-
-# PySide2 tools are "reinstalled" for pip installs but breaks distro builds.
-Patch0: pyside2-tools-obsolete.patch
-# setuptools --reuse-build option was broken in 5.15.2
-Patch2: python-pyside2-options_py.patch
-
-# Work around clang assumptions on header types, .h==c, not c++.
-Patch4:
https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/p...
-
-# Python 3.11
-# - Fix a crash in Shiboken::Object::isValid():
-#
https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=52df3b8f64
-# - Fix usage of Py_TYPE() for Python 3.11
-#
https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=73adefe22f (different, but
same purpose)
-# - Fix crashes with static strings in Python 3.11:
-#
https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=a09a1db8391243e...
-# - Add Python 3.11 to the list of supported versions
-# (not sent upstream)
-Patch5: python3.11.patch
-
-# Enable tests in the CMake build
-# This also adds known test failures to blacklist.txt
-Patch: build-tests.patch
-
-%if 0%{?rhel} && 0%{?rhel} < 8
-BuildRequires: llvm-toolset-7-clang-devel llvm-toolset-7-llvm-devel
-BuildRequires: cmake3
-%endif
-BuildRequires: cmake
-BuildRequires: gcc graphviz
-BuildRequires: clang-devel llvm-devel
-BuildRequires: libxml2-devel
-BuildRequires: libxslt-devel
-BuildRequires: python3-devel
-BuildRequires: python3-sphinx
-BuildRequires: python3-setuptools
-BuildRequires: python3-wheel
-# Shiboken2
-BuildRequires: cmake(Qt5Core) >= %{qt5ver}
-BuildRequires: cmake(Qt5Gui) >= %{qt5ver}
-BuildRequires: cmake(Qt5Xml) >= %{qt5ver}
-BuildRequires: cmake(Qt5Widgets) >= %{qt5ver}
-BuildRequires: cmake(Qt5WebKit) >= %{qt5ver}
-# Needed for Cmake UI Config
-BuildRequires: cmake(Qt5UiTools) >= %{qt5ver}
-BuildRequires: cmake(Qt5X11Extras) >= %{qt5ver}
-# PySide2
-BuildRequires: qt5-qtbase-private-devel >= %{qt5ver}
-BuildRequires: cmake(Qt5Charts) >= %{qt5ver}
-BuildRequires: cmake(Qt5DataVisualization) >= %{qt5ver}
-BuildRequires: cmake(Qt5Multimedia) >= %{qt5ver}
-BuildRequires: cmake(Qt5QuickControls2) >= %{qt5ver}
-BuildRequires: cmake(Qt5RemoteObjects) >= %{qt5ver}
-BuildRequires: cmake(Qt5Script) >= %{qt5ver}
-BuildRequires: cmake(Qt5Scxml) >= %{qt5ver}
-BuildRequires: cmake(Qt5Sensors) >= %{qt5ver}
-BuildRequires: cmake(Qt5SerialPort) >= %{qt5ver}
-BuildRequires: cmake(Qt5Svg) >= %{qt5ver}
-BuildRequires: cmake(Qt5TextToSpeech) >= %{qt5ver}
-BuildRequires: cmake(Qt5XmlPatterns) >= %{qt5ver}
-%ifnarch ppc64le s390x
-BuildRequires: cmake(Qt5WebEngine) >= %{qt5ver}
-%endif
-BuildRequires: cmake(Qt5WebSockets) >= %{qt5ver}
-BuildRequires: cmake(Qt53DCore) >= %{qt5ver}
-BuildRequires: cmake(Qt5Designer) >= %{qt5ver}
-BuildRequires: cmake(Qt5Help) >= %{qt5ver}
-BuildRequires: cmake(Qt5UiPlugin) >= %{qt5ver}
-
-%if %{with tests}
-# Tests use a fake graphical environment
-BuildRequires: /usr/bin/xvfb-run
-BuildRequires: mesa-dri-drivers
-%endif
-
-
-%description
-PySide2 is the official Python module from the Qt for Python project, which
-provides access to the complete Qt 5.13+ framework.
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-%package -n python3-%{pypi_name}
-Provides: python3-%{camel_name} = %{version}-%{release}
-Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
-%{?python_provide:%python_provide python3-%{camel_name}}
-
-%description -n python3-%{pypi_name}
-PySide2 is the official Python module from the Qt for Python project, which
-provides access to the complete Qt 5.13+ framework.
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-
-%package -n python3-%{pypi_name}-devel
-Requires: pyside2-tools
-Requires: shiboken2
-Summary: Development files related to %{name}
-%{?python_provide:%python_provide python3-%{pypi_name}-devel}
-%{?python_provide:%python_provide python3-%{camel_name}-devel}
-
-%description -n python3-%{pypi_name}-devel
-%{summary}.
-
-
-%package -n pyside2-tools
-Summary: PySide2 tools for the Qt 5 framework
-
-%description -n pyside2-tools
-PySide2 provides Python bindings for the Qt5 cross-platform application
-and UI framework.
-
-This package ships the following accompanying tools:
- * pyside2-rcc - PySide2 resource compiler
- * pyside2-uic - Python User Interface Compiler for PySide2
- * pyside2-lupdate - update Qt Linguist translation files for PySide2
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-
-%package -n shiboken2
-Summary: Python / C++ bindings generator for %camel_name
-
-%description -n shiboken2
-Shiboken is the Python binding generator that Qt for Python uses to create the
-PySide module, in other words, is the system we use to expose the Qt C++ API to
-Python.
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-%package -n python3-shiboken2
-Summary: Python / C++ bindings libraries for %camel_name
-
-%description -n python3-shiboken2
-Shiboken is the Python binding generator that Qt for Python uses to create the
-PySide module, in other words, is the system we use to expose the Qt C++ API to
-Python.
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-%package -n python3-shiboken2-devel
-Summary: Python / C++ bindings helper module for %camel_name
-Requires: shiboken2
-Requires: python3-shiboken2
-
-%description -n python3-shiboken2-devel
-Shiboken is the Python binding generator that Qt for Python uses to create the
-PySide module, in other words, is the system we use to expose the Qt C++ API to
-Python.
-
-The name Shiboken2 and PySide2 make reference to the Qt 5 compatibility, since
-the previous versions (without the 2) refer to Qt 4.
-
-
-%prep
-%autosetup -p1 -n pyside-setup-opensource-src-%{version}
-
-
-%build
-# Use cmake3 on EL
-%if 0%{?rhel}
-%global cmake %cmake3
-
-%if 0%{?rhel} < 8
-. /opt/rh/devtoolset-7/enable
-. /opt/rh/llvm-toolset-7/enable
-%else
-export CXX=$(which clang++)
-%endif
-%endif
-
-%cmake -DUSE_PYTHON_VERSION=3 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_TESTS:BOOL=ON
-
-# Generate a build_history entry (for tests) manually, since we're performing
-# a cmake build.
-TODAY=$(date -Id)
-mkdir build_history/$TODAY
-echo $PWD/%{__cmake_builddir}/sources > build_history/$TODAY/build_dir.txt
-
-%cmake_build
-
-
-%install
-%cmake_install
-
-#
-# Generate egg-info manually and install since we're performing a cmake build.
-#
-# Copy CMake configuration files from the BINARY dir back to the SOURCE dir so
-# setuptools can find them.
-cp %{__cmake_builddir}/sources/shiboken2/shibokenmodule/{*.py,*.txt}
sources/shiboken2/shibokenmodule/
-cp %{__cmake_builddir}/sources/pyside2/PySide2/*.py sources/pyside2/PySide2/
-%{__python3} setup.py egg_info
-for name in PySide2 shiboken2 shiboken2_generator; do
- mkdir -p
%{buildroot}%{python3_sitearch}/$name-%{version}-py%{python3_version}.egg-info
- cp -p $name.egg-info/{PKG-INFO,not-zip-safe,top_level.txt} \
- %{buildroot}%{python3_sitearch}/$name-%{version}-py%{python3_version}.egg-info/
-done
-
-# Fix all Python shebangs recursively
-# -p preserves timestamps
-# -n prevents creating ~backup files
-# -i specifies the interpreter for the shebang
-# Need to list files that do not match ^[a-zA-Z0-9_]+\.py$ explicitly!
-%py3_shebang_fix %{buildroot}%{_bindir}/*
-
-
-%check
-# Do basic import test (even without the test bcond)
-export LD_LIBRARY_PATH="%{buildroot}%{_libdir}"
-%py3_check_import PySide2
-%py3_check_import shiboken2
-
-%if %{with tests}
-export
PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}"
-export PYTHONDONTWRITEBYTECODE=1
-xvfb-run %{__python3} testrunner.py test
-%endif
-
-
-%files -n python3-%{pypi_name}
-%license LICENSE.LGPLv3
-%doc README.md
-%{_libdir}/libpyside2*.so.5.15*
-%{python3_sitearch}/%{camel_name}/
-%{python3_sitearch}/%{camel_name}-%{version}-py%{python3_version}.egg-info/
-
-%files -n python3-%{pypi_name}-devel
-%{_datadir}/PySide2/
-%{_includedir}/PySide2/
-%{_libdir}/libpyside2*.so
-%{_libdir}/cmake/PySide2*
-%{_libdir}/pkgconfig/pyside2.pc
-
-%files -n pyside2-tools
-%doc README.pyside*
-%license LICENSE.GPL2
-%{_bindir}/pyside*
-%{_mandir}/man1/pyside*.1*
-
-%files -n shiboken2
-%doc README.shiboken2-generator.md
-%license LICENSE.GPLv3
-%{_bindir}/shiboken2
-%{_bindir}/shiboken_tool.py
-
-%files -n python3-shiboken2
-%doc README.shiboken2.md
-%license LICENSE.LGPLv3
-%{_libdir}/libshiboken2*.so.5.15*
-%{python3_sitearch}/shiboken2/
-%{python3_sitearch}/shiboken2-%{version}-py%{python3_version}.egg-info/
-
-%files -n python3-shiboken2-devel
-%doc README.shiboken2.md
-%{_includedir}/shiboken2/
-%{_libdir}/cmake/Shiboken2-%{version}/
-%{_libdir}/libshiboken2*.so
-%{_libdir}/pkgconfig/shiboken2.pc
-%{python3_sitearch}/shiboken2_generator/
-%{python3_sitearch}/shiboken2_generator-%{version}-py%{python3_version}.egg-info/
-
-
-%changelog
-* Fri Jul 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.7-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Wed Jun 14 2023 Python Maint <python-maint(a)redhat.com> - 1:5.15.7-3
-- Rebuilt for Python 3.12
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.7-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Thu Nov 24 2022 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.7-1
-- Update to 5.15.7.
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.2.1-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Thu Jul 14 2022 Jan Grulich <jgrulich(a)redhat.com> - 1:5.15.2.1-6
-- Rebuild (qt5)
-
-* Wed Jun 29 2022 Python Maint <python-maint(a)redhat.com> - 1:5.15.2.1-5
-- Rebuilt for Python 3.11
-- Build and run the test suite
-
-* Tue May 17 2022 Jan Grulich <jgrulich(a)redhat.com> - 1:5.15.2.1-4
-- Rebuild (qt5)
-
-* Tue Mar 08 2022 Jan Grulich <jgrulich(a)redhat.com> - 1:5.15.2.1-3
-- Rebuild (qt5)
-
-* Wed Feb 02 2022 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.2.1-2
-- Add patch to deal with clang issue with headers.
-
-* Mon Jan 31 2022 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.2.1-1
-- Update to 5.15.2.1, fixes BZ#1990768.
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.2-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Fri Jun 04 2021 Python Maint <python-maint(a)redhat.com> - 1:5.15.2-4
-- Rebuilt for Python 3.10
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Jan 22 2021 Tom Stellard <tstellar(a)redhat.com> - 1:5.15.2-2
-- Rebuild for clang-11.1.0
-
-* Sat Nov 28 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.2-1
-- Update to 5.15.2.
-
-* Mon Nov 23 07:54:22 CET 2020 Jan Grulich <jgrulich(a)redhat.com> - 1:5.15.1-2
-- rebuild (qt5)
-
-* Thu Nov 05 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.1-1
-- Update to 5.15.1.
-- Update conditionals to support older Fedora and EPEL 8.
-
-* Sat Sep 12 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.15.0-4
-- Rebuild for Qt 5.15.
-
-* Fri Sep 11 2020 Jan Grulich <jgrulich(a)redhat.com> - 1:5.15.0-4
-- rebuild (qt5)
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.0-3
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.15.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jun 18 2020 Marie Loise Nolden <loise(a)kde.org> - 1:5.15.0-1
-- Update to 5.15.0.
-- Convert Qt BRs to cmake(Qt5...) variant.
-- Include new supported Qt5 modules.
-
-* Wed May 27 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.14.2.2-1
-- Update to 5.14.2.2.
-
-* Tue May 26 2020 Miro Hrončok <mhroncok(a)redhat.com> - 1:5.14.2.1-2
-- Rebuilt for Python 3.9
-
-* Fri Apr 24 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.14.2.1-1
-- Update to 5.14.2.1.
-
-* Fri Apr 10 2020 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.14.2-1
-- Update to 5.14.2.
-
-* Thu Apr 09 2020 Morian Sonnet <MorianSonnet(a)googlemail.com> - 1:5.13.2-3
-- Fix ignored --debug-level issue
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
1:5.13.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Dec 13 2019 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.13.2-1
-- Update to 5.13.2.
-
-* Mon Dec 09 2019 Jan Grulich <jgrulich(a)redhat.com> - 1:5.12.6-2
-- rebuild (qt5)
-
-* Fri Nov 22 2019 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.12.6-1
-- Update to 5.12.6.
-
-* Wed Oct 09 2019 Rex Dieter <rdieter(a)fedoraproject.org> - 1:5.12.5-1.1
-- branch rebuild (qt5)
-
-* Mon Sep 30 2019 Richard Shaw <hobbes1069(a)gmail.com> - 1:5.12.5-1
-- Downgrade to 5.12.5 as the MAJOR & MINOR versions must match Qt.
-
-* Wed Sep 25 2019 Jan Grulich <jgrulich(a)redhat.com> - 5.13.1-2
-- rebuild (qt5)
-
-* Mon Sep 09 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.13.1-1
-- Update to 5.13.1.
-
-* Thu Aug 15 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.4-1
-- Update to 5.12.4.
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 5.12.3-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sun Jun 09 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.3-1
-- Update to 5.12.3.
-
-* Tue Jun 04 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.1-4
-- Change python3-shiboken-libs to python3-shiboken.
-
-* Tue Apr 23 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.1-3
-- Update per review comments.
-- Make library globs dependent on soname.
-- Add explicit requires for skiboken2 on shiboken2-devel.
-- Try to workaround qt5-qtwebengine not being available on ppc64le and s390x.
-
-* Thu Apr 18 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.1-2
-- Update spec per review request comments.
-
-* Sat Mar 02 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.12.1-1
-- Update to 5.12.1 now that the correct version of Qt5 is in Rawhide.
-
-* Tue Feb 05 2019 Miro Hrončok <mhroncok(a)redhat.com> - 5.11.22-1
-- Inital package
diff --git a/python3.10.patch b/python3.10.patch
deleted file mode 100644
index 93cf902..0000000
--- a/python3.10.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-Index: pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtCore/qenum_test.py
-===================================================================
---- pyside-setup-opensource-src-5.15.2.orig/sources/pyside2/tests/QtCore/qenum_test.py
-+++ pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtCore/qenum_test.py
-@@ -195,16 +195,18 @@ class SomeClass(QObject):
- QEnum(SomeEnum) # works even without the decorator assignment
-
-
-+ENUM_META = "EnumMeta" if sys.version_info < (3, 10) else
"EnumType"
-+
- @unittest.skipUnless(HAVE_ENUM, "requires 'enum' module (use 'pip
install enum34' for Python 2)")
- class TestQEnumMacro(unittest.TestCase):
- def testTopLevel(self):
- self.assertEqual(type(OuterEnum).__module__, "enum")
-- self.assertEqual(type(OuterEnum).__name__, "EnumMeta")
-+ self.assertEqual(type(OuterEnum).__name__, ENUM_META)
- self.assertEqual(len(OuterEnum.__members__), 2)
-
- def testSomeClass(self):
- self.assertEqual(type(SomeClass.SomeEnum).__module__, "enum")
-- self.assertEqual(type(SomeClass.SomeEnum).__name__, "EnumMeta")
-+ self.assertEqual(type(SomeClass.SomeEnum).__name__, ENUM_META)
- self.assertEqual(len(SomeClass.SomeEnum.__members__), 3)
- with self.assertRaises(TypeError):
- int(SomeClass.SomeEnum.C) == 6
-Index: pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.2.orig/sources/shiboken2/libshiboken/pep384impl.cpp
-+++ pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.cpp
-@@ -707,6 +707,76 @@ PyObject *PepMapping_Items(PyObject *o)
- *
- */
-
-+#if PY_VERSION_HEX >= 0x03000000
-+PyObject *
-+_Py_Mangle(PyObject *privateobj, PyObject *ident)
-+{
-+ /* Name mangling: __private becomes _classname__private.
-+ This is independent from how the name is used. */
-+ PyObject *result;
-+ size_t nlen, plen, ipriv;
-+ Py_UCS4 maxchar;
-+ if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
-+ PyUnicode_READ_CHAR(ident, 0) != '_' ||
-+ PyUnicode_READ_CHAR(ident, 1) != '_') {
-+ Py_INCREF(ident);
-+ return ident;
-+ }
-+ nlen = PyUnicode_GET_LENGTH(ident);
-+ plen = PyUnicode_GET_LENGTH(privateobj);
-+ /* Don't mangle __id__ or names with dots.
-+
-+ The only time a name with a dot can occur is when
-+ we are compiling an import statement that has a
-+ package name.
-+
-+ TODO(jhylton): Decide whether we want to support
-+ mangling of the module name, e.g. __M.X.
-+ */
-+ if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
-+ PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
-+ PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
-+ Py_INCREF(ident);
-+ return ident; /* Don't mangle __whatever__ */
-+ }
-+ /* Strip leading underscores from class name */
-+ ipriv = 0;
-+ while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_')
-+ ipriv++;
-+ if (ipriv == plen) {
-+ Py_INCREF(ident);
-+ return ident; /* Don't mangle if class is just underscores */
-+ }
-+ plen -= ipriv;
-+
-+ if (plen + nlen >= PY_SSIZE_T_MAX - 1) {
-+ PyErr_SetString(PyExc_OverflowError,
-+ "private identifier too large to be mangled");
-+ return NULL;
-+ }
-+
-+ maxchar = PyUnicode_MAX_CHAR_VALUE(ident);
-+ if (PyUnicode_MAX_CHAR_VALUE(privateobj) > maxchar)
-+ maxchar = PyUnicode_MAX_CHAR_VALUE(privateobj);
-+
-+ result = PyUnicode_New(1 + nlen + plen, maxchar);
-+ if (!result)
-+ return 0;
-+ /* ident = "_" + priv[ipriv:] + ident # i.e. 1+plen+nlen bytes */
-+ PyUnicode_WRITE(PyUnicode_KIND(result), PyUnicode_DATA(result), 0, '_');
-+ if (PyUnicode_CopyCharacters(result, 1, privateobj, ipriv, plen) < 0) {
-+ Py_DECREF(result);
-+ return NULL;
-+ }
-+ if (PyUnicode_CopyCharacters(result, plen+1, ident, 0, nlen) < 0) {
-+ Py_DECREF(result);
-+ return NULL;
-+ }
-+ assert(_PyUnicode_CheckConsistency(result, 1));
-+ return result;
-+}
-+#endif
-+
- #ifdef Py_LIMITED_API
- // We keep these definitions local, because they don't work in Python 2.
- # define PyUnicode_GET_LENGTH(op) PyUnicode_GetLength((PyObject *)(op))
-@@ -751,9 +821,6 @@ _Pep_PrivateMangle(PyObject *self, PyObj
- #endif // IS_PY2
- Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
- reinterpret_cast<PyObject *>(Py_TYPE(self)),
Shiboken::PyMagicName::name()));
--#ifndef Py_LIMITED_API
-- return _Py_Mangle(privateobj, name);
--#else
- // PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.
- // The rest of this function is our own implementation of _Py_Mangle.
- // Please compare the original function in compile.c .
-@@ -789,7 +856,6 @@ _Pep_PrivateMangle(PyObject *self, PyObj
- if (amount > big_stack)
- free(resbuf);
- return result;
--#endif // else Py_LIMITED_API
- }
-
- /*****************************************************************************
-Index: pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.h
-===================================================================
---- pyside-setup-opensource-src-5.15.2.orig/sources/shiboken2/libshiboken/pep384impl.h
-+++ pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.h
-@@ -45,6 +45,11 @@
- # define Py_SET_REFCNT(obj, refcnt) ((Py_REFCNT(obj) = (refcnt)), (void)0)
- #endif
-
-+// PYSIDE-1436: Adapt to Python 3.10
-+#if PY_VERSION_HEX < 0x030900A4
-+# define Py_SET_REFCNT(obj, refcnt) ((Py_REFCNT(obj) = (refcnt)), (void)0)
-+#endif
-+
- extern "C"
- {
-
diff --git a/python3.11.patch b/python3.11.patch
deleted file mode 100644
index 311a240..0000000
--- a/python3.11.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-From b64ad27d8dfeeecaaa8a98051252a32c9d998df4 Mon Sep 17 00:00:00 2001
-From: Friedemann Kleint <Friedemann.Kleint(a)qt.io>
-Date: Thu, 9 Jun 2022 16:50:41 +0200
-Subject: [PATCH] libshiboken: Fix a crash in Shiboken::Object::isValid() for
- Python 3.11
-
-The function is passed type objects for class methods, which caused
-it to crash.
-
-The first clause did not catch this, and so it was cast to SbkObject
-below.
-
-Add a type check to prevent this.
-
-Pick-to: 6.3 6.2 5.15
-Task-number: PYSIDE-1960
-Change-Id: Icfdd6fefb7156ac5961444bd5395109849a1d66e
-Reviewed-by: Christian Tismer <tismer(a)stackless.com>
-Reviewed-by: Qt CI Bot <qt_ci_bot(a)qt-project.org>
----
- sources/shiboken2/libshiboken/basewrapper.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-Index: pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/basewrapper.cpp
-===================================================================
----
pyside-setup-opensource-src-5.15.7.orig/sources/shiboken2/libshiboken/basewrapper.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/basewrapper.cpp
-@@ -377,7 +377,7 @@ SbkObjectType *SbkObject_TypeF(void)
- static PyTypeObject *type = nullptr;
- if (!type) {
- type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpec(&SbkObject_Type_spec));
-- Py_TYPE(type) = SbkObjectType_TypeF();
-+ Py_SET_TYPE(type, SbkObjectType_TypeF());
- Py_INCREF(Py_TYPE(type));
- type->tp_weaklistoffset = offsetof(SbkObject, weakreflist);
- type->tp_dictoffset = offsetof(SbkObject, ob_dict);
-@@ -1160,7 +1160,7 @@ introduceWrapperType(PyObject *enclosing
- typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType :
SbkObject_TypeF());
-
- PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes);
-- Py_TYPE(heaptype) = SbkObjectType_TypeF();
-+ Py_SET_TYPE(heaptype, SbkObjectType_TypeF());
- Py_INCREF(Py_TYPE(heaptype));
- auto *type = reinterpret_cast<SbkObjectType *>(heaptype);
- #if PY_VERSION_HEX < 0x03000000
-@@ -1525,6 +1525,7 @@ bool setCppPointer(SbkObject *sbkObj, Py
- bool isValid(PyObject *pyObj)
- {
- if (!pyObj || pyObj == Py_None
-+ || PyType_Check(pyObj) != 0
- || Py_TYPE(Py_TYPE(pyObj)) != SbkObjectType_TypeF()) {
- return true;
- }
-Index: pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysideqflags.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/sources/pyside2/libpyside/pysideqflags.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysideqflags.cpp
-@@ -192,7 +192,7 @@ namespace QFlags
- }
- newspec.slots = SbkNewQFlagsType_spec.slots;
- PyTypeObject *type = (PyTypeObject *)SbkType_FromSpec(&newspec);
-- Py_TYPE(type) = &PyType_Type;
-+ Py_SET_TYPE(type, &PyType_Type);
-
- PySideQFlagsType *flagsType = reinterpret_cast<PySideQFlagsType *>(type);
- PepType_PFTP(flagsType)->converterPtr =
&PepType_PFTP(flagsType)->converter;
-Index: pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysidesignal.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/sources/pyside2/libpyside/pysidesignal.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysidesignal.cpp
-@@ -162,7 +162,7 @@ PyTypeObject *PySideSignalTypeF(void)
- if (!type) {
- type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpec(&PySideSignalType_spec));
- PyTypeObject *hold = Py_TYPE(type);
-- Py_TYPE(type) = PySideMetaSignalTypeF();
-+ Py_SET_TYPE(type, PySideMetaSignalTypeF());
- Py_INCREF(Py_TYPE(type));
- Py_DECREF(hold);
- }
-Index: pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysideweakref.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/sources/pyside2/libpyside/pysideweakref.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/pyside2/libpyside/pysideweakref.cpp
-@@ -90,7 +90,7 @@ PyObject *create(PyObject *obj, PySideWe
-
- if (Py_TYPE(PySideCallableObjectTypeF()) == 0)
- {
-- Py_TYPE(PySideCallableObjectTypeF()) = &PyType_Type;
-+ Py_SET_TYPE(PySideCallableObjectTypeF(), &PyType_Type);
- PyType_Ready(PySideCallableObjectTypeF());
- }
-
-Index: pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/sbkenum.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/sources/shiboken2/libshiboken/sbkenum.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/sbkenum.cpp
-@@ -754,7 +754,7 @@ newTypeWithName(const char *name,
- PyTuple_SetItem(bases, 0, reinterpret_cast<PyObject *>(basetype));
- auto *type = reinterpret_cast<PyTypeObject
*>(SbkType_FromSpecWithBases(&newspec, bases));
- PyErr_Print();
-- Py_TYPE(type) = SbkEnumType_TypeF();
-+ Py_SET_TYPE(type, SbkEnumType_TypeF());
-
- auto *enumType = reinterpret_cast<SbkEnumType *>(type);
- PepType_SETP(enumType)->cppName = cppName;
-Index: pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/sbkstring.cpp
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/sources/shiboken2/libshiboken/sbkstring.cpp
-+++ pyside-setup-opensource-src-5.15.7/sources/shiboken2/libshiboken/sbkstring.cpp
-@@ -41,8 +41,14 @@
- #include "sbkstaticstrings_p.h"
- #include "autodecref.h"
-
--#include <vector>
--#include <unordered_set>
-+#if PY_VERSION_HEX >= 0x030B0000 || defined(Py_LIMITED_API)
-+# define USE_INTERN_STRINGS
-+#endif
-+
-+#ifndef USE_INTERN_STRINGS
-+# include <vector>
-+# include <unordered_set>
-+#endif
-
- namespace Shiboken
- {
-@@ -233,6 +239,13 @@ Py_ssize_t len(PyObject *str)
- // PyObject *attr = PyObject_GetAttr(obj, name());
- //
-
-+#ifdef USE_INTERN_STRINGS
-+PyObject *createStaticString(const char *str)
-+{
-+ return PyUnicode_InternFromString(str);
-+}
-+#else
-+
- using StaticStrings = std::unordered_set<PyObject *>;
-
- static void finalizeStaticStrings(); // forward
-@@ -283,6 +296,8 @@ PyObject *createStaticString(const char
- return result;
- }
-
-+#endif // !USE_INTERN_STRINGS
-+
- ///////////////////////////////////////////////////////////////////////
- //
- // PYSIDE-1019: Helper function for snake_case vs. camelCase names
-Index: pyside-setup-opensource-src-5.15.7/build_scripts/config.py
-===================================================================
---- pyside-setup-opensource-src-5.15.7.orig/build_scripts/config.py
-+++ pyside-setup-opensource-src-5.15.7/build_scripts/config.py
-@@ -94,6 +94,7 @@ class Config(object):
- 'Programming Language :: Python :: 3.8',
- 'Programming Language :: Python :: 3.9',
- 'Programming Language :: Python :: 3.10',
-+ 'Programming Language :: Python :: 3.11',
- ]
-
- self.setup_script_dir = None
diff --git a/python_ver_classifier.patch b/python_ver_classifier.patch
deleted file mode 100644
index 8004076..0000000
--- a/python_ver_classifier.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: pyside-setup-opensource-src-5.15.2/build_scripts/config.py
-===================================================================
---- pyside-setup-opensource-src-5.15.2.orig/build_scripts/config.py
-+++ pyside-setup-opensource-src-5.15.2/build_scripts/config.py
-@@ -93,6 +93,7 @@ class Config(object):
- 'Programming Language :: Python :: 3.7',
- 'Programming Language :: Python :: 3.8',
- 'Programming Language :: Python :: 3.9',
-+ 'Programming Language :: Python :: 3.10',
- ]
-
- self.setup_script_dir = None
-@@ -135,7 +136,7 @@ class Config(object):
- setup_kwargs['zip_safe'] = False
- setup_kwargs['cmdclass'] = cmd_class_dict
- setup_kwargs['version'] = package_version
-- setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*,
!=3.2.*, !=3.3.*, !=3.4.*, <3.10"
-+ setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*,
!=3.2.*, !=3.3.*, !=3.4.*, <3.11"
-
- if quiet:
- # Tells distutils / setuptools to be quiet, and only print warnings or
errors.
diff --git a/sources b/sources
deleted file mode 100644
index 182458e..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pyside-setup-opensource-src-5.15.7.tar.xz) =
9c551b47581e4f2671c4378f1a2c0d9e565b08edee74244a7704a2c94eef1e1041d23f0e388c07bdd61067e986340907cf80f4527257a9a706f7f07c497834c6