From 82426e6c632bea7ab08960c931f18bee4a24cc21ad1f4935fbcc900dc39d29d9 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 1 Jul 2019 20:12:52 +0000 Subject: [PATCH] Accepting request 712916 from home:cgiboudeaux:branches:KDE:Qt5 - Remove "CFLAGS=-I/usr/include/linux" export, otherwise pthreads.h includes linux/time.h instead of time.h. As a result CMake no longer finds a valid pthreads.h and aborts. - Drop "docs", which included building and installing instructions only, as done upstream. See https://doc.qt.io/qtforpython/ and https://wiki.qt.io/Qt_for_Python/Tutorial for developer documentation. - Update to 5.13.0 * Add bindings for 5.13 * Support the qApp macro in "scriptable application" * Doc: Add QML Integration tutorial * Docs: Add Expenses tool tutorial * Regenerate all example forms using the python-extended rcc of 5.14 * Fix type name for lookup of QFlags<> converters Check the changes-* files for older changes. OBS-URL: https://build.opensuse.org/request/show/712916 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=27 --- pyside-setup-everywhere-src-5.12.3.tar.xz | 3 --- pyside-setup-everywhere-src-5.13.0.tar.xz | 3 +++ python3-pyside2.changes | 22 ++++++++++++++++++++++ python3-pyside2.spec | 15 +++++---------- 4 files changed, 30 insertions(+), 13 deletions(-) delete mode 100644 pyside-setup-everywhere-src-5.12.3.tar.xz create mode 100644 pyside-setup-everywhere-src-5.13.0.tar.xz diff --git a/pyside-setup-everywhere-src-5.12.3.tar.xz b/pyside-setup-everywhere-src-5.12.3.tar.xz deleted file mode 100644 index 9a4a688..0000000 --- a/pyside-setup-everywhere-src-5.12.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f7aab7d4bbaf1b3573cc989d704e87b0de55cce656ae5e23418a88baa4c6842 -size 5474384 diff --git a/pyside-setup-everywhere-src-5.13.0.tar.xz b/pyside-setup-everywhere-src-5.13.0.tar.xz new file mode 100644 index 0000000..edfe419 --- /dev/null +++ b/pyside-setup-everywhere-src-5.13.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e47e778a6c8ee86e9bc7dbf56371cf607e9f3c1a03a7d6df9e34f8dba555782 +size 2979204 diff --git a/python3-pyside2.changes b/python3-pyside2.changes index 8b5cbdf..3ec140d 100644 --- a/python3-pyside2.changes +++ b/python3-pyside2.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Jul 1 18:00:38 UTC 2019 - Stefan BrĂ¼ns + +- Remove "CFLAGS=-I/usr/include/linux" export, otherwise pthreads.h + includes linux/time.h instead of time.h. As a result CMake no longer + finds a valid pthreads.h and aborts. +- Drop "docs", which included building and installing instructions only, + as done upstream. See https://doc.qt.io/qtforpython/ and + https://wiki.qt.io/Qt_for_Python/Tutorial for developer documentation. + +------------------------------------------------------------------- +Thu Jun 27 07:58:17 UTC 2019 - Christophe Giboudeaux + +- Update to 5.13.0 + * Add bindings for 5.13 + * Support the qApp macro in "scriptable application" + * Doc: Add QML Integration tutorial + * Docs: Add Expenses tool tutorial + * Regenerate all example forms using the python-extended rcc of 5.14 + * Fix type name for lookup of QFlags<> converters + Check the changes-* files for older changes. + ------------------------------------------------------------------- Mon May 6 08:19:22 UTC 2019 - Christophe Giboudeaux diff --git a/python3-pyside2.spec b/python3-pyside2.spec index 5e5f254..44db1d4 100644 --- a/python3-pyside2.spec +++ b/python3-pyside2.spec @@ -22,7 +22,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools Name: python3-pyside2 -Version: 5.12.3 +Version: 5.13.0 Release: 0 Summary: Python bindings for Qt # shiboken2 is licensed under GPL-3.0-with-Qt-Company-Qt-exception-1.1 @@ -41,8 +41,8 @@ BuildRequires: libqt5-qtdeclarative-private-headers-devel ##### essential modules BuildRequires: cmake(Qt5Concurrent) -BuildConflicts: cmake(Qt5Core) >= 5.13 -BuildRequires: cmake(Qt5Core) >= 5.12 +BuildConflicts: cmake(Qt5Core) >= 5.14 +BuildRequires: cmake(Qt5Core) >= 5.13 BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5Sql) @@ -96,6 +96,7 @@ application and UI framework. %package devel Summary: Header Files for PySide2 +License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-3.0-with-Qt-Company-Qt-exception-1.1 Group: Development/Languages/Python Requires: %{name} = %{version} @@ -105,6 +106,7 @@ for Qt. %package examples Summary: Examples for using PySide2 +License: BSD-3-Clause Group: Development/Languages/Python Requires: %{name} = %{version} @@ -120,7 +122,6 @@ Examples and Tutorials for the PySide2 bindings for Qt. %build export LLVM_INSTALL_DIR=%{_prefix} -export CFLAGS=-I/usr/include/linux # Workaround for PYSIDE-880 export LC_ALL=C.utf8 %{mypython} setup.py build --reuse-build --ignore-git %{?jobs:--parallel=%{jobs}} \ @@ -168,11 +169,6 @@ rm -Rf %{buildroot}%{_datadir}/PySide2/typesystems/typesystem_*_win.xml %fdupes %{buildroot}%{_datadir}/PySide2/examples/ -# docu generation -cd docs -make html -cd - - %check %if %{with tests} %{mypython} testrunner.py test @@ -189,7 +185,6 @@ cd - %{python_sitearch}/* %files devel -%doc docs/_build/html %{_datadir}/PySide2/ %exclude %{_datadir}/PySide2/examples %{_includedir}/*