Accepting request 882288 from home:jayvdb:branches:KDE:Qt5

- Enable test suite, ignoring two extra test failures
- Update to v5.15.2

OBS-URL: https://build.opensuse.org/request/show/882288
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=51
This commit is contained in:
Christophe Giboudeaux 2021-07-18 09:18:39 +00:00 committed by Git OBS Bridge
parent 1f18939f25
commit 44ab7fb838
4 changed files with 60 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f175c1d8813257904cf0efeb58e44f68d53b9916f73adaf9ce19514c0271c3fa
size 3454052

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418
size 3472624

View File

@ -14,6 +14,51 @@ Wed Apr 7 22:56:48 UTC 2021 - Dirk Müller <dmueller@suse.com>
- avoid repackaging the pkgconfig and cmake directories - they are
provided by the filesystem package
-------------------------------------------------------------------
Tue Mar 30 11:01:31 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Enable test suite, ignoring two extra test failures
- Update to v5.15.2
* Projects generating bindings for Qt-based code no longer need to include
pyside2_global.h for the property and signal/slot annotations to work.
* [PYSIDE-487] Some missing enumerations and classes were added.
* [PYSIDE-644] QNetworkCookie was added to WebEngineCore.
* [PYSIDE-665] A crash when reimplementing QLayout.takeAt() was fixed.
* [PYSIDE-807] setup.py was rewritten to properly show options
the in command help.
* [PYSIDE-972] Launching PySide2 from paths with non-ASCII Latin1
characters was fixed.
* [PYSIDE-1019] feature_select: Qt Properties are now represented as
Python properties.
* [PYSIDE-1070] A crash when overriding QUiLoader::createWidget()
in QUiLoader was fixed.
* [PYSIDE-1082] A crash when creating QMimeData from
Q(Plain)TextEdit::createMimeDataFromSelection() was fixed.
* [PYSIDE-1202] More classes from QtConcurrent were added.
* [PYSIDE-1224] The namespace QColorConstants was added.
* [PYSIDE-1326] Operators for QFlags on hidden top level namespace
are now generated.
* [PYSIDE-1354] Slots being invoked from the wrong thread were fixed.
* [PYSIDE-1381] The dependency of the QtQml module header on
internal header pysideqmlregistertype.h was removed.
* [PYSIDE-1385] Deprecated wheel.pep425tags imports were removed.
* [PYSIDE-1390] setup.py: The build_rst_docs command was added to
build rst documentation only
* [PYSIDE-1397] Functions taking a smart pointer now accept smart
pointers to base classes.
* [PYSIDE-1410] QAxBase::dynamicCall() was fixed.
* [PYSIDE-841] The documentation on modifications was restructured.
* [PYSIDE-904] An attribute for generating "using namespace" was added.
* [PYSIDE-1019] A way of specifying properties for non-Qt classes
in typesystem XML was added.
* [PYSIDE-1075] Functions from invisible namespaces are now generated
into their parent namespaces.
* [PYSIDE-1224] Variables in namespaces are now generated.
* [PYSIDE-1366] The order of overloads may now be specified to work
around problems with the order generated by the overload decisor.
* [PYSIDE-1388] Final classes with protected methods when disabling
the protected hack are now correctly generated.
-------------------------------------------------------------------
Tue Sep 15 06:23:38 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -16,7 +16,7 @@
#
%bcond_with tests
%bcond_without tests
# QML imports created and used by examples
%global __requires_exclude qmlimport\\((Charts|TextBalloonPlugin)
@ -25,7 +25,7 @@
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Name: python3-pyside2
Version: 5.15.1
Version: 5.15.2
Release: 0
Summary: Python bindings for Qt
# Legal:
@ -99,6 +99,8 @@ BuildRequires: python3-Sphinx
BuildRequires: python3-idna
BuildRequires: python3-urllib3
BuildRequires: python3-wheel
BuildRequires: xvfb-run
BuildRequires: Mesa-dri
%description
The PySide2 project provides Python bindings for the Qt
@ -131,6 +133,11 @@ Examples and Tutorials for the PySide2 bindings for Qt.
%if "%{_lib}" == "lib64"
%patch0 -p1
%endif
# Test expects depth of 32
printf '[QtGui::qdatastream_gui_operators_test]\n linux\n' >> build_history/blacklist.txt
# bug_307 fails on armv7l only
printf '[QtWidgets::bug_307]\n linux\n' >> build_history/blacklist.txt
%build
export LLVM_INSTALL_DIR=%{_prefix}
@ -177,10 +184,12 @@ rm %{buildroot}%{_bindir}/*_tool.py
rm -Rf %{buildroot}%{_datadir}/PySide2/typesystems/typesystem_*_win.xml
%fdupes %{buildroot}%{_datadir}/PySide2/examples/
%fdupes %{buildroot}%{_libdir}/cmake/
%fdupes %{buildroot}%{python_sitearch}/shiboken2/
%check
%if %{with tests}
%{mypython} testrunner.py test
xvfb-run -s "-screen 0 1600x1200x16 -ac +extension GLX +render -noreset" %{mypython} testrunner.py test
%endif
%post -p /sbin/ldconfig