pyside2 5.15.2-1 (znver1) 2021-13756
9999

Submitter benbullard79 [@T] cox.net
Platform 4.2
Repository main
URL https://abf.openmandriva.org/build_lists/34658
Packages
lib64shiboken2_5.15-5.15.2-1.znver1.binary
pyside2-5.15.2-1.znver1.source
pyside2-5.15.2-1.znver1.binary
pyside2-3d-5.15.2-1.znver1.binary
pyside2-charts-5.15.2-1.znver1.binary
pyside2-concurrent-5.15.2-1.znver1.binary
pyside2-core-5.15.2-1.znver1.binary
pyside2-datavisualization-5.15.2-1.znver1.binary
pyside2-devel-5.15.2-1.znver1.binary
pyside2-gui-5.15.2-1.znver1.binary
pyside2-help-5.15.2-1.znver1.binary
pyside2-location-5.15.2-1.znver1.binary
pyside2-multimedia-5.15.2-1.znver1.binary
pyside2-multimediawidgets-5.15.2-1.znver1.binary
pyside2-network-5.15.2-1.znver1.binary
pyside2-opengl-5.15.2-1.znver1.binary
pyside2-positioning-5.15.2-1.znver1.binary
pyside2-printsupport-5.15.2-1.znver1.binary
pyside2-qml-5.15.2-1.znver1.binary
pyside2-quick-5.15.2-1.znver1.binary
pyside2-quickcontrols-5.15.2-1.znver1.binary
pyside2-quickwidgets-5.15.2-1.znver1.binary
pyside2-remoteobjects-5.15.2-1.znver1.binary
pyside2-script-5.15.2-1.znver1.binary
pyside2-scripttools-5.15.2-1.znver1.binary
pyside2-scxml-5.15.2-1.znver1.binary
pyside2-sensors-5.15.2-1.znver1.binary
pyside2-serialport-5.15.2-1.znver1.binary
pyside2-sql-5.15.2-1.znver1.binary
pyside2-svg-5.15.2-1.znver1.binary
pyside2-test-5.15.2-1.znver1.binary
pyside2-texttospeech-5.15.2-1.znver1.binary
pyside2-uitools-5.15.2-1.znver1.binary
pyside2-webchannel-5.15.2-1.znver1.binary
pyside2-webengine-5.15.2-1.znver1.binary
pyside2-websockets-5.15.2-1.znver1.binary
pyside2-widgets-5.15.2-1.znver1.binary
pyside2-x11extras-5.15.2-1.znver1.binary
pyside2-xml-5.15.2-1.znver1.binary
pyside2-xmlpatterns-5.15.2-1.znver1.binary
shiboken2-5.15.2-1.znver1.binary
Build Date 2021-03-29 00:07:49 +0000 UTC
Last Updated 2021-04-07 18:22:03.447321768 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 36a164c42fc26a410da21def4e8538c91d48ec1f

commit 36a164c42fc26a410da21def4e8538c91d48ec1f
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Tue Nov 24 01:46:36 2020 +0100
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Tue Nov 24 01:46:36 2020 +0100

    Fix build
---
 pyside-5.15.2-dont-use-unrecognized-option.patch | 12 ++++++++++++
 pyside2.spec                                     |  5 +++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 pyside-5.15.2-dont-use-unrecognized-option.patch

diff --git a/pyside-5.15.2-dont-use-unrecognized-option.patch b/pyside-5.15.2-dont-use-unrecognized-option.patch
new file mode 100644
index 0000000..82e8ca0
--- /dev/null
+++ b/pyside-5.15.2-dont-use-unrecognized-option.patch
@@ -0,0 +1,12 @@
+diff -up pyside-setup-opensource-src-5.15.2/build_scripts/setup_runner.py.omv~ pyside-setup-opensource-src-5.15.2/build_scripts/setup_runner.py
+--- pyside-setup-opensource-src-5.15.2/build_scripts/setup_runner.py.omv~	2020-11-24 00:56:29.514811673 +0100
++++ pyside-setup-opensource-src-5.15.2/build_scripts/setup_runner.py	2020-11-24 00:57:03.778234854 +0100
+@@ -138,7 +138,7 @@ class SetupRunner(object):
+             # Reuse the shiboken build for the generator package instead
+             # of rebuilding it again.
+             self.add_setup_internal_invocation(config.shiboken_generator_option_name,
+-                                               reuse_build=True)
++                                               reuse_build=False)
+ 
+             self.add_setup_internal_invocation(config.pyside_option_name)
+ 
diff --git a/pyside2.spec b/pyside2.spec
index 8b1a471..0bac9c3 100644
--- a/pyside2.spec
+++ b/pyside2.spec
@@ -17,6 +17,7 @@ Group:		Development/KDE and Qt
 Url:		https://wiki.qt.io/Qt_for_Python
 Source0:	https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-%{version}-src/pyside-setup-opensource-src-%{version}.tar.xz
 Source100:	%{name}.rpmlintrc
+Patch0:		pyside-5.15.2-dont-use-unrecognized-option.patch
 BuildRequires:	cmake
 BuildRequires:	cmake(ECM)
 BuildRequires:	python3dist(numpy)
@@ -106,6 +107,7 @@ BuildRequires:	pkgconfig(python3)
 BuildRequires:	python-setuptools
 BuildRequires:	python-sphinx
 BuildRequires:	qt5-assistant
+BuildRequires:	python3dist(wheel)
 Requires:	pyside2-core
 Requires:	pyside2-gui
 Requires:	pyside2-help
@@ -1292,8 +1294,7 @@ PySide devel files.
 #------------------------------------------------------------------------------
 
 %prep
-%setup -qn pyside-setup-opensource-src-%{version}
-%autopatch -p1
+%autosetup -p1 -n pyside-setup-opensource-src-%{version}
 
 %if %{with python2}
 cp -a . %py2dir
Not Available
benbullard79 [@T] cox.netNo Comment.30d 07hrs
benbullard79 [@T] cox.netNo Comment.30d 07hrs