From 4b6c1ad5fed374fb8dd44e61574ec7fa2fc44bb2 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Tue, 16 Nov 2021 09:16:14 +0000 Subject: [PATCH] Import pyside2_5.15.2-2.debian.tar.xz [dgit import tarball pyside2 5.15.2-2 pyside2_5.15.2-2.debian.tar.xz] --- changelog | 318 ++++++++ control | 713 ++++++++++++++++++ copyright | 260 +++++++ libpyside2-dev.install | 6 + libpyside2-py3-5.15.install | 5 + libpyside2-py3-5.15.lintian-overrides | 2 + libshiboken2-dev.install | 5 + libshiboken2-py3-5.15.install | 3 + libshiboken2-py3-5.15.lintian-overrides | 2 + patches/blacklist-failing-tests.patch | 34 + patches/fix-reuse-build.patch | 30 + patches/fix-spelling-errors.patch | 22 + ....10-prep-Finally-support-Python-3.10.patch | 139 ++++ ...y-old-refcounting-error-in-time_test.patch | 51 ++ ...-parser.py-for-changed-typing-module.patch | 51 ++ ...e-type-cache-after-feature-switching.patch | 35 + patches/qApp-fix-flag-handling.patch | 53 ++ patches/series | 11 + patches/shiboken6-Adapt-to-LLVM-12.01.patch | 28 + patches/test-with-current-interpreter.patch | 27 + patches/update-sip-import.patch | 25 + pyside2-tools.install | 1 + pyside2-tools.manpages | 2 + python-pyside2-doc.docs | 3 + python-pyside2-doc.examples | 1 + python3-pyside2.qt3danimation.install | 1 + python3-pyside2.qt3dcore.install | 1 + python3-pyside2.qt3dextras.install | 1 + python3-pyside2.qt3dinput.install | 1 + python3-pyside2.qt3dlogic.install | 1 + python3-pyside2.qt3drender.install | 1 + python3-pyside2.qtcharts.install | 1 + python3-pyside2.qtconcurrent.install | 1 + python3-pyside2.qtcore.install | 1 + python3-pyside2.qtdatavisualization.install | 1 + python3-pyside2.qtgui.install | 1 + python3-pyside2.qthelp.install | 1 + python3-pyside2.qtlocation.install | 1 + python3-pyside2.qtmultimedia.install | 1 + python3-pyside2.qtmultimediawidgets.install | 1 + python3-pyside2.qtnetwork.install | 1 + python3-pyside2.qtopengl.install | 1 + python3-pyside2.qtopenglfunctions.install | 1 + python3-pyside2.qtpositioning.install | 1 + python3-pyside2.qtprintsupport.install | 1 + python3-pyside2.qtqml.install | 1 + python3-pyside2.qtquick.install | 1 + python3-pyside2.qtquickcontrols2.install | 1 + python3-pyside2.qtquickwidgets.install | 1 + python3-pyside2.qtremoteobjects.install | 1 + python3-pyside2.qtscript.install | 1 + python3-pyside2.qtscripttools.install | 1 + python3-pyside2.qtscxml.install | 1 + python3-pyside2.qtsensors.install | 1 + python3-pyside2.qtserialport.install | 1 + python3-pyside2.qtsql.install | 1 + python3-pyside2.qtsvg.install | 1 + python3-pyside2.qttest.install | 1 + python3-pyside2.qttexttospeech.install | 1 + python3-pyside2.qtuitools.install | 1 + python3-pyside2.qtwebchannel.install | 1 + python3-pyside2.qtwebengine.install | 1 + python3-pyside2.qtwebenginecore.install | 1 + python3-pyside2.qtwebenginewidgets.install | 1 + python3-pyside2.qtwebsockets.install | 1 + python3-pyside2.qtwidgets.install | 1 + python3-pyside2.qtx11extras.install | 1 + python3-pyside2.qtxml.install | 1 + python3-pyside2.qtxmlpatterns.install | 1 + rules | 63 ++ set-paths | 42 ++ shiboken2-doc.docs | 1 + shiboken2.install | 1 + source/format | 1 + source/options | 1 + tests/control | 163 ++++ tests/control.gen | 16 + tests/test_install_python3.sh | 10 + watch | 2 + 79 files changed, 2171 insertions(+) create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100755 libpyside2-dev.install create mode 100755 libpyside2-py3-5.15.install create mode 100644 libpyside2-py3-5.15.lintian-overrides create mode 100755 libshiboken2-dev.install create mode 100755 libshiboken2-py3-5.15.install create mode 100644 libshiboken2-py3-5.15.lintian-overrides create mode 100644 patches/blacklist-failing-tests.patch create mode 100644 patches/fix-reuse-build.patch create mode 100644 patches/fix-spelling-errors.patch create mode 100644 patches/py3.10-prep-Finally-support-Python-3.10.patch create mode 100644 patches/py3.10-prep-Fix-a-very-old-refcounting-error-in-time_test.patch create mode 100644 patches/py3.10-prep-Fix-parser.py-for-changed-typing-module.patch create mode 100644 patches/py3.10-prep-reset-the-type-cache-after-feature-switching.patch create mode 100644 patches/qApp-fix-flag-handling.patch create mode 100644 patches/series create mode 100644 patches/shiboken6-Adapt-to-LLVM-12.01.patch create mode 100644 patches/test-with-current-interpreter.patch create mode 100644 patches/update-sip-import.patch create mode 100644 pyside2-tools.install create mode 100644 pyside2-tools.manpages create mode 100644 python-pyside2-doc.docs create mode 100644 python-pyside2-doc.examples create mode 100644 python3-pyside2.qt3danimation.install create mode 100644 python3-pyside2.qt3dcore.install create mode 100644 python3-pyside2.qt3dextras.install create mode 100644 python3-pyside2.qt3dinput.install create mode 100644 python3-pyside2.qt3dlogic.install create mode 100644 python3-pyside2.qt3drender.install create mode 100644 python3-pyside2.qtcharts.install create mode 100644 python3-pyside2.qtconcurrent.install create mode 100644 python3-pyside2.qtcore.install create mode 100644 python3-pyside2.qtdatavisualization.install create mode 100644 python3-pyside2.qtgui.install create mode 100644 python3-pyside2.qthelp.install create mode 100644 python3-pyside2.qtlocation.install create mode 100644 python3-pyside2.qtmultimedia.install create mode 100644 python3-pyside2.qtmultimediawidgets.install create mode 100644 python3-pyside2.qtnetwork.install create mode 100644 python3-pyside2.qtopengl.install create mode 100644 python3-pyside2.qtopenglfunctions.install create mode 100644 python3-pyside2.qtpositioning.install create mode 100644 python3-pyside2.qtprintsupport.install create mode 100644 python3-pyside2.qtqml.install create mode 100644 python3-pyside2.qtquick.install create mode 100644 python3-pyside2.qtquickcontrols2.install create mode 100644 python3-pyside2.qtquickwidgets.install create mode 100644 python3-pyside2.qtremoteobjects.install create mode 100644 python3-pyside2.qtscript.install create mode 100644 python3-pyside2.qtscripttools.install create mode 100644 python3-pyside2.qtscxml.install create mode 100644 python3-pyside2.qtsensors.install create mode 100644 python3-pyside2.qtserialport.install create mode 100644 python3-pyside2.qtsql.install create mode 100644 python3-pyside2.qtsvg.install create mode 100644 python3-pyside2.qttest.install create mode 100644 python3-pyside2.qttexttospeech.install create mode 100644 python3-pyside2.qtuitools.install create mode 100644 python3-pyside2.qtwebchannel.install create mode 100644 python3-pyside2.qtwebengine.install create mode 100644 python3-pyside2.qtwebenginecore.install create mode 100644 python3-pyside2.qtwebenginewidgets.install create mode 100644 python3-pyside2.qtwebsockets.install create mode 100644 python3-pyside2.qtwidgets.install create mode 100644 python3-pyside2.qtx11extras.install create mode 100644 python3-pyside2.qtxml.install create mode 100644 python3-pyside2.qtxmlpatterns.install create mode 100755 rules create mode 100755 set-paths create mode 100644 shiboken2-doc.docs create mode 100644 shiboken2.install create mode 100644 source/format create mode 100644 source/options create mode 100644 tests/control create mode 100755 tests/control.gen create mode 100755 tests/test_install_python3.sh create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..4402505 --- /dev/null +++ b/changelog @@ -0,0 +1,318 @@ +pyside2 (5.15.2-2) unstable; urgency=medium + + * Backport upstream patches for Python 3.10 support (closes: #999369). + * Backport upstream patch to adapt for LLVM 12.01. + * Run build-time tests with all supported Python versions. + - Add a patch to make the tests find the matching build directory. + + -- Dmitry Shachnev Tue, 16 Nov 2021 12:16:14 +0300 + +pyside2 (5.15.2-1) unstable; urgency=medium + + * Team upload. + * Add missing dependencies to make the autopkgtest pass again. + * Backport proposed upstream patch to fix qApp flags handling. + - Unblacklist QtWidgets::bug_307 test, it should not fail anymore. + + -- Dmitry Shachnev Sat, 26 Dec 2020 11:39:45 +0300 + +pyside2 (5.15.2-1~exp2) experimental; urgency=medium + + * Add packages for Qt3DExtras and Qt3DAnimation + * Add update-sip-import.patch (Closes: #966041) + + -- Kurt Kremitzki Sun, 20 Dec 2020 11:32:30 -0600 + +pyside2 (5.15.2-1~exp1) experimental; urgency=medium + + [ Dmitry Shachnev ] + * New upstream release. + * Drop python3.9.patch, included in the new release. + * Rebase other patches. + * Backport upstream changes to pass --reuse-build only to commands that + support it. + * Build with system patchelf on all architectures. It is now available on + mipsel and mips64el too. + - Drop update-patchelf.patch, not needed with system patchelf. + * Continue building HTML documentation (upstream defaults to qch now). + * Replace Qt Quick Controls 1 build-dependency with Qt Quick Controls 2. + * Build with default llvm version (closes: #974784). + * Revert addition of “Multi-Arch: same” from the previous upload. + libpyside2-py3-5.15 is not multi-arch ready because the list of built + modules (in _config.py) may be different on different architectures. + * Bump Qt build-dependencies to 5.15 (as ftbfs-old-qt.patch was dropped). + * Minor debian/rules cleanup. + + [ Alexander Volkov ] + * Add python3-pyside2.qt{quickcontrols2,remoteobjects,serialport} packages. + + -- Kurt Kremitzki Sat, 19 Dec 2020 14:26:09 -0600 + +pyside2 (5.15.0-6) unstable; urgency=medium + + * Team upload. + + [ Debian Janitor ] + * Apply multi-arch hints. + + python-pyside2-doc, shiboken2-doc: Add Multi-Arch: foreign. + + libshiboken2-dev, python3-pyside2.qt*: Add Multi-Arch: same. + + [ Dmitry Shachnev ] + * Drop ftbfs-old-qt.patch. Not needed since Debian has Qt 5.15. + * Stop hardcoding py3.8 in debian/shiboken2-doc.docs (closes: #976900). + * Blacklist QtWidgets::bug_307 test for now (closes: #976516). + + -- Dmitry Shachnev Mon, 14 Dec 2020 20:31:39 +0300 + +pyside2 (5.15.0-5) unstable; urgency=medium + + * Team upload. + * Run tests with QSG_NO_DEPTH_BUFFER=1 on mips64el (see #868745). + + -- Dmitry Shachnev Mon, 19 Oct 2020 21:50:57 +0300 + +pyside2 (5.15.0-4) unstable; urgency=medium + + * Team upload. + * Drop preload-libglx-mesa.patch, not needed with glibc ≥ 2.31-1. + * Backport upstream patch to add support for Python 3.9 (closes: #972194). + + -- Dmitry Shachnev Thu, 15 Oct 2020 20:06:52 +0300 + +pyside2 (5.15.0-3) unstable; urgency=medium + + [ Dmitry Shachnev ] + * Bump Qt build-dependencies to 5.14. As most Qt packages have a + Build-Depends-Package field in their symbols files, dpkg-shlibdeps will + use that information and generate a runtime dependency on a new enough + Qt version (closes: #963983). + + [ Kurt Kremitzki ] + * Remove Freexian folks and add myself to Uploaders + * Correct libshiboken2 CMake include path (Closes: #964201) + + -- Kurt Kremitzki Sun, 05 Jul 2020 05:13:51 -0500 + +pyside2 (5.15.0-2) unstable; urgency=medium + + * Team upload. + * Preload libGLX_mesa.so.0 in web_engine_initialize.py, to work around + test failure on arm64 (closes: #963709). + + -- Dmitry Shachnev Mon, 29 Jun 2020 15:26:26 +0300 + +pyside2 (5.15.0-1) unstable; urgency=medium + + [ Gianfranco Costamagna ] + * Team upload + * Upload to unstable + * Drop trailing spaces from changelog file + * Bump compat level to 13 + * Bump std-version to 4.5.0 + * Add R^3: no + + -- Kurt Kremitzki Thu, 25 Jun 2020 21:15:20 -0500 + +pyside2 (5.15.0-1~exp1) experimental; urgency=medium + + [ Steve Langasek ] + * Add test dependency on python3-all to fix autopkgtests (Closes: #950127) + + [ Gianfranco Costamagna ] + * Add python3-distro needed for tests. + * Drop "uic" and "rcc" from control file, removed upstream (LP: #1874095) + * Add missing Breaks/Replaces for upgrading from previous version + (Closes: #949339) + * Drop pyside2uic tests, dropped upstream + * New upstream version 5.15.0 (Closes: #950126, Closes: #960008) + * Drop old Fix-build-with-Qt-5.12, addressed upstream + * Add patch to fix build failures with old qt implementation + * Refresh patches + * Bump copyright years + * Bump soname to 15 + * Drop manpage, removed upstream + * Use llvm-9 to build, fixing a build failure + + -- Gianfranco Costamagna Sat, 06 Jun 2020 14:48:45 +0200 + +pyside2 (5.14.0-1~exp1) experimental; urgency=medium + + [ Raphaël Hertzog ] + * Team upload + * New upstream version 5.14.0. Closes: #945376, #947101 + * Update patches (3 dropped, one new for Qt 5.12 compat) + * Use --ignore-git option instead of custom patch + * Update package names for version 5.14 + * Drop python3-pyside2uic, there's no such library anymore + * Re-enable tests failing due to broken XDG_RUNTIME_DIR + * Drop package prefix from lintian overrides + * Drop removed file from debian/copyright + * Fix arch-all build on 32 bit arches. Closes: #948764 + Thanks to peter green for the patch. + + [ Kurt Kremitzki ] + * Add CMake sed for pyside2 include path + * Add CMake sed for multi-Python version support + + -- Kurt Kremitzki Mon, 13 Jan 2020 00:10:14 -0600 + +pyside2 (5.13.2-2.2) unstable; urgency=medium + + * Non-maintainer upload + * Update cmake paths for new locations + + -- Gianfranco Costamagna Sun, 29 Dec 2019 22:44:55 +0100 + +pyside2 (5.13.2-2.1) unstable; urgency=medium + + * Non-maintainer upload + * Add an explicit shiboken dependency to fix FTBFS for reverse-dependencies + cmake based, who expect it being installed (Closes: #946082) + - thanks Tommaso Colombo for the patch + + -- Gianfranco Costamagna Tue, 24 Dec 2019 09:22:39 +0100 + +pyside2 (5.13.2-2) unstable; urgency=medium + + * Do not build-depends on libqt5datavisualization5-dev on mipsel and + mpis64el (Closes: #945174) and limit .*qtdatavisualization binary package + to arch: amd64 arm64 armel armhf i386 ppc64el s390x + * Limit python3-pyside2.qtwebengine to amd64 arm64 armhf i386 mipsel + (qtwebengine5-dev is not available for other architectures) + * Add a patch to blacklist failing tests + + -- Sophie Brun Fri, 22 Nov 2019 10:28:55 +0100 + +pyside2 (5.13.2-1) unstable; urgency=medium + + [ Ondřej Nový ] + * Remove almost all of Python 2 binary packages (no rdeps): + - python-pyside2.qt3dcore + - python-pyside2.qt3dinput + - python-pyside2.qt3dlogic + - python-pyside2.qt3drender + - python-pyside2.qtcharts + - python-pyside2.qtconcurrent + - python-pyside2.qthelp + - python-pyside2.qtlocation + - python-pyside2.qtmultimedia + - python-pyside2.qtmultimediawidgets + - python-pyside2.qtnetwork + - python-pyside2.qtpositioning + - python-pyside2.qtprintsupport + - python-pyside2.qtqml + - python-pyside2.qtquick + - python-pyside2.qtquickwidgets + - python-pyside2.qtscript + - python-pyside2.qtscripttools + - python-pyside2.qtsensors + - python-pyside2.qtsql + - python-pyside2.qttest + - python-pyside2.qttexttospeech + - python-pyside2.qtwebchannel + - python-pyside2.qtwebenginecore + - python-pyside2.qtwebenginewidgets + - python-pyside2.qtwebsockets + - python-pyside2.qtx11extras + - python-pyside2.qtxmlpatterns + + [ Sophie Brun ] + * Update debian/watch + * New upstream version 5.13.2 + * Refresh patches and remove obsolete patches + * Add missing build-deps + * Force pybuild to use distutils, not Cmake + * Replace deprecated upstream option --jobs with --parallel + * Update documentation build + * Add a patch to support Python 3.8 (Closes: #942753) + * Add new binary packages + - python3-pyside2.qtdatavisualization + - python3-pyside2.qtopenglfunctions + - python3-pyside2.qtscxml + - python3-pyside2.qtwebengine + * Update list of built files in debian/rules + * Switch pyside2-tools to Python3 + * Switch to debhelper-compat 12 + * Bump Standards-Version to 4.4.1 (no changes) + * Update installation of python3 module shiboken2 + * Add autopkgtest + * Add missing Conflicts/Replaces and Provides for libpyside2-* + * Add a patch to use python3 in pyside2-tools + * Remove disable failing test in debian/rules + * Add missing depends (Closes: #943709) + * Run the tests and add missing build-deps for tests + * Remove useless build-dep pyqt5-dev + + [ Raphaël Hertzog ] + * Drop remaining python2 parts. + + -- Sophie Brun Fri, 15 Nov 2019 10:15:57 +0100 + +pyside2 (5.11.2-3) unstable; urgency=medium + + [ Sébastien Delafond ] + * Do not build-depends on patchelf on mips and mipsel (Closes: #917199) + + -- Sebastien Delafond Wed, 16 Jan 2019 16:30:16 +0100 + +pyside2 (5.11.2-2) unstable; urgency=medium + + [ Sébastien Delafond ] + * Add myself to uploaders + * Do not build-depends on patchelf on mips64el (Closes: #917200) + + -- Sebastien Delafond Thu, 10 Jan 2019 09:21:43 +0100 + +pyside2 (5.11.2-1) unstable; urgency=medium + + [ Raphaël Hertzog ] + * New upstream version 5.11.2 + * Remove patches merged upstream + * Merge fix-PAGESIZE.patch into update-patchelf.patch + * Add patchelf to Build-Depends + * Bump Standards-Version to 4.2.1 + + [ Frédéric Bonnard ] + * Fix hardcoded PAGESIZE for patchelf.cc. Closes: #909265 + + -- Raphaël Hertzog Fri, 28 Sep 2018 15:09:34 +0200 + +pyside2 (5.11.0-4) unstable; urgency=medium + + * Use default llvm-dev and libclang-dev (Closes: #906168) + * Add Cmake config files for Python3 (Closes: #906020) + * Fix debian/libpyside2-5.11.install for triplets that are not *-linux-gnu + (thanks to Adrian Bunk) + * Add an upstream patch to fix build on armel/armhf + + -- Sophie Brun Mon, 27 Aug 2018 12:53:29 +0200 + +pyside2 (5.11.0-3) unstable; urgency=medium + + * More fixes for builds building only arch any or only arch all. + * Really fix the build with dpkg-buildpackage -A. + + -- Raphaël Hertzog Tue, 31 Jul 2018 21:33:04 +0200 + +pyside2 (5.11.0-2) unstable; urgency=medium + + [ Raphaël Hertzog ] + * Fix build with dpkg-buildpackage -A. Closes: #904892 + * Fix python-pyside2 dependencies. Replace python-pyside2.widgets by + python-pyside2.qtwidgets. + + [ Sophie Brun ] + * Drop useless "Testsuite: autopkgtest-pkg-python". + * Enable parallel build. + * Limit QtWebEngine packages to amd64 arm64 armhf i386 mipsel. + * Remove unused lintian-overrides. + * Use python2 only in pyside2-tools. + * Remove big metapackages python-pyside2 and python3-pyside2. + + -- Raphaël Hertzog Tue, 31 Jul 2018 16:37:40 +0200 + +pyside2 (5.11.0-1) unstable; urgency=medium + + * Initial release (Closes: #877871) + + -- Sophie Brun Thu, 26 Jul 2018 17:47:45 +0200 diff --git a/control b/control new file mode 100644 index 0000000..3ee7e17 --- /dev/null +++ b/control @@ -0,0 +1,713 @@ +Source: pyside2 +Section: python +Priority: optional +Maintainer: Debian Qt/KDE Maintainers +Uploaders: Kurt Kremitzki +Build-Depends: chrpath, + cmake (>= 3.1), + debhelper-compat (= 13), + dh-exec, + dh-python, + graphviz, + libclang-dev, + libqt5charts5-dev (>= 5.15), + libqt5datavisualization5-dev (>= 5.15) [!mips64el !mipsel !mips], + libqt5opengl5-dev (>= 5.15), + libqt5remoteobjects5-dev (>= 5.15), + libqt5scxml5-bin (>= 5.15), + libqt5scxml5-dev (>= 5.15), + libqt5sensors5-dev (>= 5.15), + libqt5serialport5-dev (>= 5.15), + libqt5svg5-dev (>= 5.15), + libqt5texttospeech5-dev (>= 5.15), + libqt5webchannel5-dev (>= 5.15), + libqt5webkit5-dev (>= 5.15), + libqt5websockets5-dev (>= 5.15), + libqt5x11extras5-dev (>= 5.15), + libqt5xmlpatterns5-dev (>= 5.15), + libxml2-dev, + libxslt1-dev, + llvm-dev, + patchelf, + python3-all-dev, + python3-distro, + python3-setuptools, + python3-sphinx, + python3-sphinx-rtd-theme, + python3-wheel, + qml-module-qtquick-controls2 (>= 5.15), + qml-module-qtquick-layouts (>= 5.15), + qml-module-qtquick2 (>= 5.15), + qt3d-assimpsceneimport-plugin (>= 5.15), + qt3d-defaultgeometryloader-plugin (>= 5.15), + qt3d-gltfsceneio-plugin (>= 5.15), + qt3d-scene2d-plugin (>= 5.15), + qt3d5-dev (>= 5.15), + qt5-qmake (>= 5.15), + qt5-qmake-bin (>= 5.15), + qtbase5-dev (>= 5.15), + qtbase5-private-dev (>= 5.15), + qtchooser, + qtdeclarative5-dev (>= 5.15), + qtdeclarative5-private-dev (>= 5.15), + qtlocation5-dev (>= 5.15), + qtmultimedia5-dev (>= 5.15), + qtpositioning5-dev (>= 5.15), + qtquickcontrols2-5-dev (>= 5.15), + qtscript5-dev (>= 5.15), + qttools5-dev (>= 5.15), + qtwebengine5-dev (>= 5.15) [amd64 arm64 armhf i386 mipsel], + xauth, + xvfb +Rules-Requires-Root: no +Standards-Version: 4.5.0 +Homepage: https://wiki.qt.io/Qt_for_Python +Vcs-Git: https://salsa.debian.org/qt-kde-team/qt/pyside2.git +Vcs-Browser: https://salsa.debian.org/qt-kde-team/qt/pyside2 + +Package: python-pyside2-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Multi-Arch: foreign +Description: Python bindings for Qt5 (common documentation) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains the common documentation package. + +Package: libpyside2-py3-5.15 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} +Conflicts: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14 +Replaces: libpyside2-py3-5.11, libpyside2-py3-5.13, libpyside2-py3-5.14 +Provides: libpyside2-py3 +Description: Python 3 bindings for Qt5 (base files) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python3 base file used by all modules. + +Package: libpyside2-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libpyside2-py3-5.15 (= ${binary:Version}) +Description: Python bindings for Qt5 (development files) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package provides the development headers for the libpyside2 library. + +Package: python3-pyside2.qtcore +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} +Suggests: python-pyside2-doc +Description: Python bindings for Qt5 core module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtCore module. + +Package: shiboken2 +Section: devel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: CPython bindings generator for C++ libraries + Shiboken2 is a bindings generator for C++ libraries that outputs CPython + source code. It collects information from library headers, and then + merges modifications and handwritten code defined in the typesystem + description. + . + Shiboken2 is the binding generator used to create the PySide2 bindings. + +Package: libshiboken2-py3-5.15 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} +Conflicts: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14 +Replaces: libshiboken2-py3-5.11, libshiboken2-py3-5.13, libshiboken2-py3-5.14 +Provides: libshiboken2-py3 +Description: CPython bindings generator for C++ libraries (Python3 shared library) + Shiboken2 is a bindings generator for C++ libraries that outputs CPython + source code. It collects information from library headers, and then + merges modifications and handwritten code defined in the typesystem + description. + . + Shiboken2 is the binding generator used to create the PySide2 bindings. + . + This package contains the shared Python 3 library used by shiboken2. + +Package: libshiboken2-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, + libshiboken2-py3-5.15 (= ${binary:Version}), shiboken2 (= ${binary:Version}), python3-dev +Description: CPython bindings generator for C++ libraries (development files) + Shiboken2 is a bindings generator for C++ libraries that outputs CPython + source code. It collects information from library headers, and then + merges modifications and handwritten code defined in the typesystem + description. + . + Shiboken2 is the binding generator used to create the PySide2 bindings. + . + This package provides the development headers for the libshiboken2 library. + +Package: shiboken2-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Multi-Arch: foreign +Description: CPython bindings generator for C++ libraries (common documentation) + Shiboken2 is a bindings generator for C++ libraries that outputs CPython + source code. It collects information from library headers, and then + merges modifications and handwritten code defined in the typesystem + description. + . + Shiboken2 is the binding generator used to create the PySide2 bindings. + . + This package contains the common documentation. + +Package: pyside2-tools +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}, python3-pyside2.qtcore +Description: development tools for PySide2 (lupdate) + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + PySide2 ships Python bindings for the Qt5 framework. This package ships + the following accompanying tools: + * pyside2-lupdate - update Qt Linguist translation files for PySide + +Package: python3-pyside2.qtwidgets +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 Widgets module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWidgets module. + +Package: python3-pyside2.qt3drender +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qt3dcore, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 3DRender module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DRender module. + +Package: python3-pyside2.qtquick +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtnetwork, python3-pyside2.qtqml, + python3-pyside2.qtgui +Description: Python bindings for Qt5 Quick module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtQuick module. + +Package: python3-pyside2.qtquickcontrols2 +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtquick +Description: Python bindings for Qt5 QuickControls2 (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtQuickControls2 module. + +Package: python3-pyside2.qtpositioning +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Positioning module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtPositioning module. + +Package: python3-pyside2.qtremoteobjects +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 RemoteObjects (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtRemoteObjects module. + +Package: python3-pyside2.qtx11extras +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 X11Extras module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtX11Extras module. + +Package: python3-pyside2.qtqml +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 Qml module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtQml module. + +Package: python3-pyside2.qtwebenginecore +Architecture: amd64 arm64 armhf i386 mipsel +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 WebEngineCore module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWebEngineCore module. + +Package: python3-pyside2.qttexttospeech +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 TextToSpeech module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtTextToSpeech module. + +Package: python3-pyside2.qthelp +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 Help module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtHelp module. + +Package: python3-pyside2.qtscripttools +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtscript, python3-pyside2.qtwidgets, python3-pyside2.qtgui, + python3-pyside2.qtcore +Description: Python bindings for Qt5 ScriptTools module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtScriptTools module. + +Package: python3-pyside2.qtnetwork +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Network module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtNetwork module. + +Package: python3-pyside2.qtmultimediawidgets +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtnetwork, + python3-pyside2.qtwidgets, python3-pyside2.qtmultimedia +Description: Python bindings for Qt5 MultimediaWidgets module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtMultimediaWidgets module. + +Package: python3-pyside2.qtlocation +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtpositioning +Description: Python bindings for Qt5 Location module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtLocation module. + +Package: python3-pyside2.qt3dlogic +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qt3dcore +Description: Python bindings for Qt5 3DLogic module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DLogic module. + +Package: python3-pyside2.qtsensors +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Sensors module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtSensors module. + +Package: python3-pyside2.qtserialport +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 SerialPort (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtSerialPort module. + +Package: python3-pyside2.qtmultimedia +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 Multimedia module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtMultimedia module. + +Package: python3-pyside2.qtscript +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Script module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtScript module. + +Package: python3-pyside2.qtwebchannel +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 WebChannel module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWebChannel module. + +Package: python3-pyside2.qtprintsupport +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 PrintSupport module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtPrintSupport module. + +Package: python3-pyside2.qtquickwidgets +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtwidgets, + python3-pyside2.qtnetwork, python3-pyside2.qtquick, python3-pyside2.qtqml +Description: Python bindings for Qt5 QuickWidgets module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtQuickWidgets module. + +Package: python3-pyside2.qt3dinput +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qt3dcore, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 3DInput module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DInput module. + +Package: python3-pyside2.qtxml +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Xml module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtXml module. + +Package: python3-pyside2.qttest +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtwidgets +Description: Python bindings for Qt5 Test module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtTest module. + +Package: python3-pyside2.qtwebenginewidgets +Architecture: amd64 arm64 armhf i386 mipsel +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtgui, python3-pyside2.qtwidgets, + python3-pyside2.qtnetwork, python3-pyside2.qtwebchannel, + python3-pyside2.qtwebenginecore, python3-pyside2.qtprintsupport +Description: Python bindings for Qt5 WebEngineWidgets module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWebEngineWidgets module. + +Package: python3-pyside2.qtconcurrent +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Concurrent module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtConcurrent module. + +Package: python3-pyside2.qtxmlpatterns +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 XmlPatterns module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtXmlPatterns module. + +Package: python3-pyside2.qtcharts +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 Charts module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtCharts module. + +Package: python3-pyside2.qtuitools +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtxml, python3-pyside2.qtcore, + python3-pyside2.qtgui +Description: Python bindings for Qt5 UiTools module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtUiTools module. + +Package: python3-pyside2.qtopengl +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtcore, python3-pyside2.qtgui +Description: Python bindings for Qt5 OpenGL module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtOpenGL module. + +Package: python3-pyside2.qt3danimation +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtgui, python3-pyside2.qtcore, python3-pyside2.qtnetwork, + python3-pyside2.qt3drender +Description: Python bindings for Qt5 3DAnimation module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DAnimation module. + +Package: python3-pyside2.qt3dcore +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtgui, python3-pyside2.qtcore, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 3DCore module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DCore module. + +Package: python3-pyside2.qt3dextras +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtgui, python3-pyside2.qtcore, python3-pyside2.qtnetwork, + python3-pyside2.qt3drender +Description: Python bindings for Qt5 3DExtras module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Qt3DExtras module. + +Package: python3-pyside2.qtsql +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtgui, python3-pyside2.qtcore +Description: Python bindings for Qt5 Sql module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtSql module. + +Package: python3-pyside2.qtgui +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Gui module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtGui module. + +Package: python3-pyside2.qtsvg +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtwidgets, python3-pyside2.qtgui, python3-pyside2.qtcore +Description: Python bindings for Qt5 Svg module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtSvg module. + +Package: python3-pyside2.qtwebsockets +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore, python3-pyside2.qtnetwork +Description: Python bindings for Qt5 WebSockets module (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWebSockets module. + +Package: python3-pyside2.qtdatavisualization +Architecture: amd64 arm64 armel armhf i386 ppc64el s390x +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtgui, python3-pyside2.qtcore +Description: Python bindings for Qt5 Data Visualization (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtDataVisualization module. + +Package: python3-pyside2.qtopenglfunctions +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtgui, python3-pyside2.qtcore +Description: Python bindings for Qt5 Open GL Functions (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the OpenGLFunctions module. + +Package: python3-pyside2.qtscxml +Architecture: any +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Scxml (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the Scxml module. + +Package: python3-pyside2.qtwebengine +Architecture: amd64 arm64 armhf i386 mipsel +Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, + python3-pyside2.qtcore +Description: Python bindings for Qt5 Web Engine (Python 3) + pyside2 provides Python bindings for Qt 5.x framework. + . + Qt is a cross-platform C++ application framework. Qt's primary feature + is its rich set of widgets that provide standard GUI functionality. + . + This package contains Python 3 bindings for the QtWebEngine module. diff --git a/copyright b/copyright new file mode 100644 index 0000000..4a4cb21 --- /dev/null +++ b/copyright @@ -0,0 +1,260 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pyside2 +Source: https://download.qt.io/official_releases/QtForPython/ + +Files: * +Copyright: 2016-2020 The Qt Company Ltd. +License: GPL-2 or GPL-3 or LGPL-3 + +Files: examples/* +Copyright: 2016-2018 The Qt Company Ltd. + 2011 Arun Srinivasan + 2010-2013 Riverbank Computing Limited. + 2010 Hans-Peter Jansen + 2010 velociraptor Genjix + 2009 Darryl Wallace, 2009 +License: BSD-3-clause + +Files: sources/patchelf/* +Copyright: 2004-2009 Eelco Dolstra +License: GPL-3+ + +Files: sources/patchelf/elf.h +Copyright: 1995-2008 Free Software Foundation, Inc. +License: LGPL-2.1+ + +Files: sources/pyside2/doc/typesystem_doc.xml.in + sources/pyside2/doc/codesnippets/* + sources/pyside2/doc/tutorials/* +Copyright: 2016 The Qt Company Ltd. +License: BSD-3-clause + +Files: sources/pyside2/doc/inheritance_diagram.py +Copyright: 2010-2011 by the PySide team + 2007-2011 by the Sphinx team +License: BSD-2-clause + All rights reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: sources/pyside2/tests/run_test.sh + sources/pyside2/tests/Qt* + sources/pyside2/tests/mac/qmacstyle_test.py + sources/pyside2/tests/manually/* + sources/pyside2/tests/pysidetest/* + sources/pyside2/tests/signals/* + sources/pyside2/tests/util/* + sources/shiboken2/ApiExtractor/* + sources/shiboken2/generator/* + sources/shiboken2/generatorrunnermacros.h + sources/shiboken2/generators/* + sources/shiboken2/tests/* + sources/pyside2/tests/QtQml/qquickitem_grabToImage.* +Copyright: 2009 Matthias Klose + 2002-2005 Roberto Raggi + 2011 Thomas Perl + 2013 Kitware, Inc. + 2016-2017 The Qt Company Ltd. +License: GPL-3-EXCEPT + +Files: sources/pyside2-tools/* +Copyright: 2016 The Qt Company Ltd. + 2010 Riverbank Computing Limited. + 2009-2011 Nokia Corporation and/or its subsidiary(-ies) + 2009 Torsten Marek + 2002-2007 Detlev Offenbach + 1992-2006 Trolltech AS. All rights reserved. +License: GPL-2 + +Files: debian/* +Copyright: 2018 Sophie Brun +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of The Qt Company Ltd nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2" + +License: GPL-3 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3" + +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3" + +License: GPL-3-EXCEPT + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation, annotated with The Qt Company + GPL Exception 1.0: + . + The Qt Company GPL Exception 1.0 + . + Exception 1: + . + As a special exception you may create a larger work which contains the + output of this application and distribute that work under terms of your + choice, so long as the work is not otherwise derived from or based on + this application and so long as the work does not in itself generate + output that contains the output from this application in its original + or modified form. + . + Exception 2: + . + As a special exception, you have permission to combine this application + with Plugins licensed under the terms of your choice, to produce an + executable, and to copy and distribute the resulting executable under + the terms of your choice. However, the executable must be accompanied + by a prominent notice offering all users of the executable the entire + source code to this application, excluding the source code of the + independent modules, but including any changes you have made to this + application, under the terms of this license. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3" + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + . + On Debian systems, the complete text of the Lesser GNU General + Public License version 2.1 can be found in + "/usr/share/common-licenses/LGPL-2.1" + +License: LGPL-3 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License version 3 as published by the Free Software Foundation. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + USA + . + On Debian systems, the complete text of the Lesser GNU General + Public License version 3 can be found in + "/usr/share/common-licenses/LGPL-3" diff --git a/libpyside2-dev.install b/libpyside2-dev.install new file mode 100755 index 0000000..6a8e25e --- /dev/null +++ b/libpyside2-dev.install @@ -0,0 +1,6 @@ +#!/usr/bin/dh-exec --with=subst +pyside3_install/py3*-relwithdebinfo/include/PySide2 usr/include +pyside3_install/py3*-relwithdebinfo/share/PySide2 usr/share +pyside3_install/py3*-relwithdebinfo/lib/pkgconfig/pyside2.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig +pyside3_install/py3*-relwithdebinfo/lib/libpyside2*.so usr/lib/${DEB_HOST_MULTIARCH} +pyside3_install/py3*-relwithdebinfo/lib/cmake/PySide2* usr/lib/${DEB_HOST_MULTIARCH}/cmake diff --git a/libpyside2-py3-5.15.install b/libpyside2-py3-5.15.install new file mode 100755 index 0000000..28f46be --- /dev/null +++ b/libpyside2-py3-5.15.install @@ -0,0 +1,5 @@ +#!/usr/bin/dh-exec +pyside3_install/py3*-relwithdebinfo/lib/libpyside2*.so.* usr/lib/${DEB_HOST_MULTIARCH} +pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_git_pyside_version.py usr/lib/python3/dist-packages/PySide2 +pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/__init__.py usr/lib/python3/dist-packages/PySide2 +pyside3_install/py3*-relwithdebinfo/lib/python*/site-packages/PySide2/_config.py usr/lib/python3/dist-packages/PySide2 diff --git a/libpyside2-py3-5.15.lintian-overrides b/libpyside2-py3-5.15.lintian-overrides new file mode 100644 index 0000000..c85f9d2 --- /dev/null +++ b/libpyside2-py3-5.15.lintian-overrides @@ -0,0 +1,2 @@ +# We ship compiled versions for each supported python3 version, with a symlink to the default version +package-name-doesnt-match-sonames * diff --git a/libshiboken2-dev.install b/libshiboken2-dev.install new file mode 100755 index 0000000..58d7607 --- /dev/null +++ b/libshiboken2-dev.install @@ -0,0 +1,5 @@ +#!/usr/bin/dh-exec --with=subst +pyside3_install/py3*-relwithdebinfo/include/shiboken2 usr/include +pyside3_install/py3*-relwithdebinfo/lib/pkgconfig/shiboken2.pc usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig +pyside3_install/py3*-relwithdebinfo/lib/libshiboken2*.so usr/lib/${DEB_HOST_MULTIARCH} +pyside3_install/py3*-relwithdebinfo/lib/cmake/Shiboken2* usr/lib/${DEB_HOST_MULTIARCH}/cmake diff --git a/libshiboken2-py3-5.15.install b/libshiboken2-py3-5.15.install new file mode 100755 index 0000000..10e7460 --- /dev/null +++ b/libshiboken2-py3-5.15.install @@ -0,0 +1,3 @@ +#!/usr/bin/dh-exec +pyside3_install/py3*-relwithdebinfo/lib/libshiboken2*.so.* usr/lib/${DEB_HOST_MULTIARCH} +pyside3_install/py3*-relwithdebinfo/lib/python3*/site-packages/shiboken2/* usr/lib/python3/dist-packages/shiboken2 diff --git a/libshiboken2-py3-5.15.lintian-overrides b/libshiboken2-py3-5.15.lintian-overrides new file mode 100644 index 0000000..c85f9d2 --- /dev/null +++ b/libshiboken2-py3-5.15.lintian-overrides @@ -0,0 +1,2 @@ +# We ship compiled versions for each supported python3 version, with a symlink to the default version +package-name-doesnt-match-sonames * diff --git a/patches/blacklist-failing-tests.patch b/patches/blacklist-failing-tests.patch new file mode 100644 index 0000000..fec53d4 --- /dev/null +++ b/patches/blacklist-failing-tests.patch @@ -0,0 +1,34 @@ +From: Sophie Brun +Date: Fri, 22 Nov 2019 13:24:54 +0100 +Subject: Blacklist failing tests + +Forwarded: +https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1146?filter=allopenissues +--- + build_history/blacklist.txt | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/build_history/blacklist.txt b/build_history/blacklist.txt +index 9b63f97..8b65253 100644 +--- a/build_history/blacklist.txt ++++ b/build_history/blacklist.txt +@@ -25,6 +25,9 @@ + linux + darwin + win32 ++# crash on s390x Debian build, https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1146 ++[QtCore::qbytearray_test] ++ linux + [QtGui::qmatrix_test] + win32 + [QtWidgets::bug_576] +@@ -86,6 +89,9 @@ + win32 + linux + darwin ++# crash on s390x Debian build, https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-1146 ++[QtQml::qquickitem_grabToImage] ++ linux + # In addition to a pre-existing windows failure, + # qtlocation/ac899dcc40bb3ad09307583fb7e6befd45a77b33 / QTBUG-66304 introduced + # a failure in 5.14 diff --git a/patches/fix-reuse-build.patch b/patches/fix-reuse-build.patch new file mode 100644 index 0000000..b06902a --- /dev/null +++ b/patches/fix-reuse-build.patch @@ -0,0 +1,30 @@ +From: Dmitry Shachnev +Date: Wed, 16 Dec 2020 20:26:18 +0300 +Subject: Pass --reuse-build only to commands that use DistUtilsCommandMixin + +This is a concatenation of two upstream commits: +- https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=ed0571df854a232e +- https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=3f00c2adad2e38b0 +--- + build_scripts/setup_runner.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/build_scripts/setup_runner.py b/build_scripts/setup_runner.py +index 57c8fbd..3c7116b 100644 +--- a/build_scripts/setup_runner.py ++++ b/build_scripts/setup_runner.py +@@ -88,8 +88,13 @@ class SetupRunner(object): + internal_build_type_arg = self.construct_internal_build_type_cmd_line_argument(build_type) + setup_cmd = [sys.executable] + self.sub_argv + [internal_build_type_arg] + ++ command = self.sub_argv[0] ++ if command == 'setup.py' and len(self.sub_argv) > 1: ++ command = self.sub_argv[1] ++ + # Add --reuse-build option if requested and not already present. +- if reuse_build and not self.cmd_line_argument_is_in_args("reuse-build", self.sub_argv): ++ if (reuse_build and command in ('bdist_wheel', 'build', 'build_rst_docs', 'install') ++ and not self.cmd_line_argument_is_in_args("reuse-build", self.sub_argv)): + setup_cmd.append(self.construct_cmd_line_argument("reuse-build")) + self.invocations_list.append(setup_cmd) + diff --git a/patches/fix-spelling-errors.patch b/patches/fix-spelling-errors.patch new file mode 100644 index 0000000..6e88b5f --- /dev/null +++ b/patches/fix-spelling-errors.patch @@ -0,0 +1,22 @@ +From: Sophie Brun +Date: Tue, 5 Nov 2019 10:39:14 +0100 +Subject: Fix spelling errors + +Last-Update: 2018-07-12 +--- + sources/pyside2/libpyside/pysideproperty.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sources/pyside2/libpyside/pysideproperty.cpp b/sources/pyside2/libpyside/pysideproperty.cpp +index 97729d2..3303ec0 100644 +--- a/sources/pyside2/libpyside/pysideproperty.cpp ++++ b/sources/pyside2/libpyside/pysideproperty.cpp +@@ -517,7 +517,7 @@ int setValue(PySideProperty *self, PyObject *source, PyObject *value) + Shiboken::AutoDecRef result(PyObject_CallObject(fdel, args)); + return (result.isNull() ? -1 : 0); + } +- PyErr_SetString(PyExc_AttributeError, "Attibute read only"); ++ PyErr_SetString(PyExc_AttributeError, "Attribute read only"); + return -1; + } + diff --git a/patches/py3.10-prep-Finally-support-Python-3.10.patch b/patches/py3.10-prep-Finally-support-Python-3.10.patch new file mode 100644 index 0000000..a96abf1 --- /dev/null +++ b/patches/py3.10-prep-Finally-support-Python-3.10.patch @@ -0,0 +1,139 @@ +From: Christian Tismer +Date: Sat, 8 May 2021 16:06:23 +0200 +Subject: py3.10-prep: Finally support Python 3.10 + +After the major problems are solved in + py3.10-prep: re-implement zip import + py3.10-prep: reset the type cache after feature switching + py3.10-prep: Fix parser.py for changed typing module + +, there are only some minor changes left to do. One thing +is still not clear: + +* Unsolved: In time_test.py, the last two tests work but +crash at shutdown. +It is not yet clear if this is a PySide or Python error. + +This will crash Python 3.10 if not solved until the release. + +(cherry picked from commit 81e9cff884d6b03cdf64a5dd6ec6564d99177e0c) +--- + build_scripts/config.py | 1 + + sources/pyside2/tests/QtWidgets/signature_test.py | 5 +++-- + sources/shiboken2/libshiboken/pep384impl.cpp | 13 ++++++------- + sources/shiboken2/libshiboken/pep384impl.h | 7 ++++++- + sources/shiboken2/libshiboken/sbkstring.cpp | 2 +- + .../files.dir/shibokensupport/signature/mapping.py | 1 + + 6 files changed, 18 insertions(+), 11 deletions(-) + +diff --git a/build_scripts/config.py b/build_scripts/config.py +index b1b3206..7ff155c 100644 +--- a/build_scripts/config.py ++++ b/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 +diff --git a/sources/pyside2/tests/QtWidgets/signature_test.py b/sources/pyside2/tests/QtWidgets/signature_test.py +index 57fcf38..cacb576 100644 +--- a/sources/pyside2/tests/QtWidgets/signature_test.py ++++ b/sources/pyside2/tests/QtWidgets/signature_test.py +@@ -65,8 +65,9 @@ class PySideSignatureTest(unittest.TestCase): + for thing in obj.__signature__: + self.assertEqual(type(thing), inspect.Signature) + sm = PySide2.QtWidgets.QApplication.__dict__["palette"] +- self.assertFalse(callable(sm)) +- self.assertEqual(sm.__func__, obj) ++ # PYSIDE-1436: staticmethod is a callable since Python 3.10 ++ # Instead of checking callable(sm), we check the type: ++ self.assertEqual(type(sm), staticmethod) + self.assertTrue(hasattr(sm, "__signature__") and + sm.__signature__ is not None) + +diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp +index cb80425..633d9dc 100644 +--- a/sources/shiboken2/libshiboken/pep384impl.cpp ++++ b/sources/shiboken2/libshiboken/pep384impl.cpp +@@ -751,14 +751,14 @@ _Pep_PrivateMangle(PyObject *self, PyObject *name) + #endif // IS_PY2 + Shiboken::AutoDecRef privateobj(PyObject_GetAttr( + reinterpret_cast(Py_TYPE(self)), Shiboken::PyMagicName::name())); +-#ifndef Py_LIMITED_API +- return _Py_Mangle(privateobj, name); +-#else +- // For some reason, _Py_Mangle is not in the Limited API. Why? +- size_t plen = PyUnicode_GET_LENGTH(privateobj); ++ ++ // 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 . ++ size_t plen = PyUnicode_GET_LENGTH(privateobj.object()); + /* Strip leading underscores from class name */ + size_t ipriv = 0; +- while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') ++ while (PyUnicode_READ_CHAR(privateobj.object(), ipriv) == '_') + ipriv++; + if (ipriv == plen) { + Py_INCREF(name); +@@ -787,7 +787,6 @@ _Pep_PrivateMangle(PyObject *self, PyObject *name) + if (amount > big_stack) + free(resbuf); + return result; +-#endif // else Py_LIMITED_API + } + + /***************************************************************************** +diff --git a/sources/shiboken2/libshiboken/pep384impl.h b/sources/shiboken2/libshiboken/pep384impl.h +index 7a6f57f..eb65596 100644 +--- a/sources/shiboken2/libshiboken/pep384impl.h ++++ b/sources/shiboken2/libshiboken/pep384impl.h +@@ -40,6 +40,11 @@ + #ifndef PEP384IMPL_H + #define PEP384IMPL_H + ++// 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" + { + +@@ -327,7 +332,7 @@ LIBSHIBOKEN_API PyObject *PyRun_String(const char *, int, PyObject *, PyObject * + // But this is no problem as we check it's validity for every version. + + #define PYTHON_BUFFER_VERSION_COMPATIBLE (PY_VERSION_HEX >= 0x03030000 && \ +- PY_VERSION_HEX < 0x0309FFFF) ++ PY_VERSION_HEX < 0x030AFFFF) + #if !PYTHON_BUFFER_VERSION_COMPATIBLE + # error Please check the buffer compatibility for this python version! + #endif +diff --git a/sources/shiboken2/libshiboken/sbkstring.cpp b/sources/shiboken2/libshiboken/sbkstring.cpp +index 918aae7..077fb53 100644 +--- a/sources/shiboken2/libshiboken/sbkstring.cpp ++++ b/sources/shiboken2/libshiboken/sbkstring.cpp +@@ -247,7 +247,7 @@ static void finalizeStaticStrings() + { + auto &set = staticStrings(); + for (PyObject *ob : set) { +- Py_REFCNT(ob) = 1; ++ Py_SET_REFCNT(ob, 1); + Py_DECREF(ob); + } + set.clear(); +diff --git a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py +index 6fadd19..f701d83 100644 +--- a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py ++++ b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py +@@ -300,6 +300,7 @@ type_map.update({ + "zero(object)": None, + "zero(str)": "", + "zero(typing.Any)": None, ++ "zero(Any)": None, + }) + + type_map.update({ diff --git a/patches/py3.10-prep-Fix-a-very-old-refcounting-error-in-time_test.patch b/patches/py3.10-prep-Fix-a-very-old-refcounting-error-in-time_test.patch new file mode 100644 index 0000000..8eddad7 --- /dev/null +++ b/patches/py3.10-prep-Fix-a-very-old-refcounting-error-in-time_test.patch @@ -0,0 +1,51 @@ +From: Christian Tismer +Date: Fri, 20 Aug 2021 18:18:57 +0200 +Subject: py3.10-prep: Fix a very old refcounting error in time_test.py + +Since 2012-03-08, there was a refcounting error in +the typesystem_sample.xml file at . +The boolean function results were not refcounted. + +(Commit 7b731d702c64d172e192aa1876e4a6fade6c38d7) + +This bug was hard to find because nobody expects a failure in the +testing code, and the error shows up at the very end in the +finalization code, totally unrelated to the error location. + +In order to find it, the setting `PYTHONMALLOC=malloc` was needed, +because otherwise we got a Python memory dump but no traceback. +Then, Python was modified and code was inserted in the various +involved `code_dealloc`, `tupledealloc` and `object_dealloc` +functions that printed the involved refcounts and types before +performing the actual deallocation. + +This bug actually was of no harm since only the wrong test was +involved. It was very misleading because there were quite some +changes to the `datetime` module in Python 3.10. But the bug +was nothing but a dormant refcounting error. + +(cherry picked from commit 2af6ac20de365116b52b65c6c34cfd6c536c23df) +--- + sources/shiboken2/tests/samplebinding/typesystem_sample.xml | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sources/shiboken2/tests/samplebinding/typesystem_sample.xml b/sources/shiboken2/tests/samplebinding/typesystem_sample.xml +index 595afb9..70fabcf 100644 +--- a/sources/shiboken2/tests/samplebinding/typesystem_sample.xml ++++ b/sources/shiboken2/tests/samplebinding/typesystem_sample.xml +@@ -1953,6 +1953,7 @@ + %PYARG_0 = Py_False; + else + %PYARG_0 = Py_True; ++ Py_INCREF(%PYARG_0); + } + + +@@ -1970,6 +1971,7 @@ + %PYARG_0 = Py_True; + else + %PYARG_0 = Py_False; ++ Py_INCREF(%PYARG_0); + } + + diff --git a/patches/py3.10-prep-Fix-parser.py-for-changed-typing-module.patch b/patches/py3.10-prep-Fix-parser.py-for-changed-typing-module.patch new file mode 100644 index 0000000..c6ea754 --- /dev/null +++ b/patches/py3.10-prep-Fix-parser.py-for-changed-typing-module.patch @@ -0,0 +1,51 @@ +From: Christian Tismer +Date: Sat, 8 May 2021 16:06:23 +0200 +Subject: py3.10-prep: Fix parser.py for changed typing module + +The typing module has subtle changes that are not even +documented: Typing types now have a __name__ attribute. +That confused the parser of the pyi generator because +suddenly stingizing + + Callable[..., Optional[str]] + +resulted in + + Callable[..., Optional] + +because of special rules that return the generic name +of a typing type, which was very unexpected. Finding this bug +took a lot of debugging of the recursive `_resolve_type` +function. + +(cherry picked from commit 2530cb3f165ac02b8f7132e3f5ab4f7f6896dbd9) +--- + .../shibokenmodule/files.dir/shibokensupport/signature/parser.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/parser.py b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/parser.py +index 20c791c..1a29df5 100644 +--- a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/parser.py ++++ b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/parser.py +@@ -43,10 +43,11 @@ import sys + import re + import warnings + import types ++import typing + import keyword + import functools + from shibokensupport.signature.mapping import (type_map, update_mapping, +- namespace, typing, _NotCalled, ResultVariable, ArrayLikeVariable) ++ namespace, _NotCalled, ResultVariable, ArrayLikeVariable) + from shibokensupport.signature.lib.tool import (SimpleNamespace, + build_brace_pattern) + +@@ -222,7 +223,7 @@ def _resolve_arraytype(thing, line): + def to_string(thing): + if isinstance(thing, str): + return thing +- if hasattr(thing, "__name__"): ++ if hasattr(thing, "__name__") and thing.__module__ != "typing": + dot = "." in str(thing) + name = get_name(thing) + return thing.__module__ + "." + name if dot else name diff --git a/patches/py3.10-prep-reset-the-type-cache-after-feature-switching.patch b/patches/py3.10-prep-reset-the-type-cache-after-feature-switching.patch new file mode 100644 index 0000000..cb858ff --- /dev/null +++ b/patches/py3.10-prep-reset-the-type-cache-after-feature-switching.patch @@ -0,0 +1,35 @@ +From: Christian Tismer +Date: Sat, 8 May 2021 16:06:23 +0200 +Subject: py3.10-prep: reset the type cache after feature switching + +When using feature switching in Python 3.10, there were +funny effects where switched and un-switched versions appeared +to co-exist. + +It turned out that we were hit by function caching that +is now implemented for the LOAD_ATTR opcode. + +It was not known that caching would happen at all for +PySide classes because we don't use Py_TPFLAGS_VALID_VERSION_TAG. +But actually, this flag is used internally by Python to do some +optimizations, and we just have to notify the interpreter of +type changes by PyType_Modified(). + +(cherry picked from commit 3a2b7c6f88bba04d8b7ddb571163d23c15c36a4f) +--- + sources/pyside2/libpyside/feature_select.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sources/pyside2/libpyside/feature_select.cpp b/sources/pyside2/libpyside/feature_select.cpp +index 6a21d16..3da7dde 100644 +--- a/sources/pyside2/libpyside/feature_select.cpp ++++ b/sources/pyside2/libpyside/feature_select.cpp +@@ -405,6 +405,8 @@ static inline PyObject *SelectFeatureSet(PyTypeObject *type) + if (!SelectFeatureSetSubtype(sub_type, select_id)) + break; + } ++ // PYSIDE-1436: Clear all caches for the type and subtypes. ++ PyType_Modified(type); + } + return type->tp_dict; + } diff --git a/patches/qApp-fix-flag-handling.patch b/patches/qApp-fix-flag-handling.patch new file mode 100644 index 0000000..b4fcaa3 --- /dev/null +++ b/patches/qApp-fix-flag-handling.patch @@ -0,0 +1,53 @@ +From: Christian Tismer +Date: Wed, 23 Dec 2020 13:28:16 +0200 +Subject: qApp: fix flag handling in Python 3.8+ and a Python 3.9 issue + +This is an old problem that was solved for Python 2.7. +From Python 3.8 on, the behavior is the same with Python 3. + +The fix finally was to extend a Python 2.7 patch to Python 3 +as well. See the Jira issue for details. + +This patch includes also a small patch that was mentioned as +necessary for Python 3.9: Python issue 40217. I have seen no +effect of this change yet but applied the patch, anyway. + +Origin: https://codereview.qt-project.org/c/pyside/pyside-setup/+/328046 +--- + sources/shiboken2/libshiboken/basewrapper.cpp | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +diff --git a/sources/shiboken2/libshiboken/basewrapper.cpp b/sources/shiboken2/libshiboken/basewrapper.cpp +index d866d13..b38fb3a 100644 +--- a/sources/shiboken2/libshiboken/basewrapper.cpp ++++ b/sources/shiboken2/libshiboken/basewrapper.cpp +@@ -319,6 +319,11 @@ static int SbkObject_traverse(PyObject *self, visitproc visit, void *arg) + + if (sbkSelf->ob_dict) + Py_VISIT(sbkSelf->ob_dict); ++ ++#if PY_VERSION_HEX >= 0x03090000 ++ // This was not needed before Python 3.9 (Python issue 35810 and 40217) ++ Py_VISIT(Py_TYPE(self)); ++#endif + return 0; + } + +@@ -769,12 +774,15 @@ PyObject *SbkQAppTpNew(PyTypeObject *subtype, PyObject *, PyObject *) + // PYSIDE-560: + // We avoid to use this in Python 3, because we have a hard time to get + // write access to these flags +-#ifndef IS_PY3K ++ ++ // PYSIDE-1447: ++ // Since Python 3.8, we have the same weird flags handling in Python 3.8 ++ // as well. The singleton Python is no longer needed and we could remove ++ // the whole special handling, maybe in another checkin. + if (PyType_HasFeature(subtype, Py_TPFLAGS_HAVE_GC)) { + subtype->tp_flags &= ~Py_TPFLAGS_HAVE_GC; + subtype->tp_free = PyObject_Del; + } +-#endif + auto self = reinterpret_cast(MakeQAppWrapper(subtype)); + return self == nullptr ? nullptr : _setupNew(self, subtype); + } diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..d07fb73 --- /dev/null +++ b/patches/series @@ -0,0 +1,11 @@ +update-sip-import.patch +fix-spelling-errors.patch +blacklist-failing-tests.patch +fix-reuse-build.patch +qApp-fix-flag-handling.patch +py3.10-prep-reset-the-type-cache-after-feature-switching.patch +py3.10-prep-Fix-parser.py-for-changed-typing-module.patch +py3.10-prep-Finally-support-Python-3.10.patch +py3.10-prep-Fix-a-very-old-refcounting-error-in-time_test.patch +shiboken6-Adapt-to-LLVM-12.01.patch +test-with-current-interpreter.patch diff --git a/patches/shiboken6-Adapt-to-LLVM-12.01.patch b/patches/shiboken6-Adapt-to-LLVM-12.01.patch new file mode 100644 index 0000000..8b2f593 --- /dev/null +++ b/patches/shiboken6-Adapt-to-LLVM-12.01.patch @@ -0,0 +1,28 @@ +From: Friedemann Kleint +Date: Tue, 12 Oct 2021 09:33:53 +0200 +Subject: shiboken6: Adapt to LLVM 12.01 + +The identifier for anonymous enums has been changed, causing +shiboken to no longer recognize them. + +(cherry picked from commit 1948a1b6f9a3547ba9fba9b8c525eb6e1c6b4f13) +--- + sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp b/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp +index 73b1aca..c6f3bb8 100644 +--- a/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp ++++ b/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp +@@ -887,8 +887,10 @@ static QString enumType(const CXCursor &cursor) + // PYSIDE-1228: For "typedef enum { v1, v2 } Foo;", type will return + // "Foo" as expected. Care must be taken to exclude real anonymous enums. + name = getTypeName(clang_getCursorType(cursor)); +- if (name.contains(QLatin1String("(anonymous"))) ++ if (name.contains(u"(unnamed") // Clang 12.0.1 ++ || name.contains(u"(anonymous")) { // earlier + name.clear(); ++ } + } + return name; + } diff --git a/patches/test-with-current-interpreter.patch b/patches/test-with-current-interpreter.patch new file mode 100644 index 0000000..642cb20 --- /dev/null +++ b/patches/test-with-current-interpreter.patch @@ -0,0 +1,27 @@ +From: Dmitry Shachnev +Date: Sun, 14 Nov 2021 21:08:50 +0300 +Subject: Find the build directory matching the current interpreter + +This is needed to allow us to run tests with all supported Python versions. +Without this patch, the latest build directory will be always picked, no +matter what the current interpreter is. +--- + testing/buildlog.py | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/testing/buildlog.py b/testing/buildlog.py +index 216282b..5d3aa1f 100644 +--- a/testing/buildlog.py ++++ b/testing/buildlog.py +@@ -94,6 +94,11 @@ class BuildLog(object): + """.format(fpath))) + sys.exit(1) + ++ # We need to find the build directory for the current interpreter ++ py_version = "{}.{}".format(sys.version_info[0], sys.version_info[1]) ++ if py_version not in build_classifiers: ++ continue ++ + if not os.path.exists(build_dir): + rel_dir, low_part = os.path.split(build_dir) + rel_dir, two_part = os.path.split(rel_dir) diff --git a/patches/update-sip-import.patch b/patches/update-sip-import.patch new file mode 100644 index 0000000..2f4958b --- /dev/null +++ b/patches/update-sip-import.patch @@ -0,0 +1,25 @@ +Description: Update import of PyQt5 private sip module and remove Python 2/PyQt4 setapi calls +Author: Kurt Kremitzki +Last-Updated: 2020-12-20 + +--- a/sources/pyside2/tests/tools/list-class-hierarchy.py ++++ b/sources/pyside2/tests/tools/list-class-hierarchy.py +@@ -96,14 +96,10 @@ + for l in libraries: + dictionary = [] + if l =="PyQt5": +- import sip +- sip.setapi('QDate',2) +- sip.setapi('QDateTime',2) +- sip.setapi('QString',2) +- sip.setapi('QTextStream',2) +- sip.setapi('QTime',2) +- sip.setapi('QUrl',2) +- sip.setapi('QVariant',2) ++ try: ++ from PyQt5 import sip ++ except ModuleNotFoundError: ++ import sip + + for m in modules: + exec("from %s import %s" % (l,m), globals(), locals()) diff --git a/pyside2-tools.install b/pyside2-tools.install new file mode 100644 index 0000000..bb4b1fe --- /dev/null +++ b/pyside2-tools.install @@ -0,0 +1 @@ +pyside3_install/py3.*/bin/pyside2-* usr/bin diff --git a/pyside2-tools.manpages b/pyside2-tools.manpages new file mode 100644 index 0000000..ca1b931 --- /dev/null +++ b/pyside2-tools.manpages @@ -0,0 +1,2 @@ +pyside3_install/py3*/share/man/man1/pyside2-* + diff --git a/python-pyside2-doc.docs b/python-pyside2-doc.docs new file mode 100644 index 0000000..2ada6e7 --- /dev/null +++ b/python-pyside2-doc.docs @@ -0,0 +1,3 @@ +README.md +README.pyside2.md +README.shiboken2.md diff --git a/python-pyside2-doc.examples b/python-pyside2-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/python-pyside2-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/python3-pyside2.qt3danimation.install b/python3-pyside2.qt3danimation.install new file mode 100644 index 0000000..ed48054 --- /dev/null +++ b/python3-pyside2.qt3danimation.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DAnimation.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qt3dcore.install b/python3-pyside2.qt3dcore.install new file mode 100644 index 0000000..cc90239 --- /dev/null +++ b/python3-pyside2.qt3dcore.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DCore.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qt3dextras.install b/python3-pyside2.qt3dextras.install new file mode 100644 index 0000000..d23e3a0 --- /dev/null +++ b/python3-pyside2.qt3dextras.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DExtras.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qt3dinput.install b/python3-pyside2.qt3dinput.install new file mode 100644 index 0000000..400bae0 --- /dev/null +++ b/python3-pyside2.qt3dinput.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DInput.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qt3dlogic.install b/python3-pyside2.qt3dlogic.install new file mode 100644 index 0000000..b1976e1 --- /dev/null +++ b/python3-pyside2.qt3dlogic.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DLogic.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qt3drender.install b/python3-pyside2.qt3drender.install new file mode 100644 index 0000000..6047dea --- /dev/null +++ b/python3-pyside2.qt3drender.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/Qt3DRender.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtcharts.install b/python3-pyside2.qtcharts.install new file mode 100644 index 0000000..52255de --- /dev/null +++ b/python3-pyside2.qtcharts.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtCharts.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtconcurrent.install b/python3-pyside2.qtconcurrent.install new file mode 100644 index 0000000..ed9eae0 --- /dev/null +++ b/python3-pyside2.qtconcurrent.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtConcurrent.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtcore.install b/python3-pyside2.qtcore.install new file mode 100644 index 0000000..18bfbc7 --- /dev/null +++ b/python3-pyside2.qtcore.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtCore.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtdatavisualization.install b/python3-pyside2.qtdatavisualization.install new file mode 100644 index 0000000..e44f36c --- /dev/null +++ b/python3-pyside2.qtdatavisualization.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtDataVisualization.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtgui.install b/python3-pyside2.qtgui.install new file mode 100644 index 0000000..9c8d25c --- /dev/null +++ b/python3-pyside2.qtgui.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtGui.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qthelp.install b/python3-pyside2.qthelp.install new file mode 100644 index 0000000..8012c75 --- /dev/null +++ b/python3-pyside2.qthelp.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtHelp.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtlocation.install b/python3-pyside2.qtlocation.install new file mode 100644 index 0000000..133e850 --- /dev/null +++ b/python3-pyside2.qtlocation.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtLocation.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtmultimedia.install b/python3-pyside2.qtmultimedia.install new file mode 100644 index 0000000..e100d1e --- /dev/null +++ b/python3-pyside2.qtmultimedia.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtMultimedia.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtmultimediawidgets.install b/python3-pyside2.qtmultimediawidgets.install new file mode 100644 index 0000000..11420f9 --- /dev/null +++ b/python3-pyside2.qtmultimediawidgets.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtMultimediaWidgets.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtnetwork.install b/python3-pyside2.qtnetwork.install new file mode 100644 index 0000000..cddff59 --- /dev/null +++ b/python3-pyside2.qtnetwork.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtNetwork.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtopengl.install b/python3-pyside2.qtopengl.install new file mode 100644 index 0000000..736e241 --- /dev/null +++ b/python3-pyside2.qtopengl.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtOpenGL.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtopenglfunctions.install b/python3-pyside2.qtopenglfunctions.install new file mode 100644 index 0000000..9b444f7 --- /dev/null +++ b/python3-pyside2.qtopenglfunctions.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtOpenGLFunctions.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtpositioning.install b/python3-pyside2.qtpositioning.install new file mode 100644 index 0000000..2375c30 --- /dev/null +++ b/python3-pyside2.qtpositioning.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtPositioning.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtprintsupport.install b/python3-pyside2.qtprintsupport.install new file mode 100644 index 0000000..72eb659 --- /dev/null +++ b/python3-pyside2.qtprintsupport.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtPrintSupport.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtqml.install b/python3-pyside2.qtqml.install new file mode 100644 index 0000000..8116b2d --- /dev/null +++ b/python3-pyside2.qtqml.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtQml.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtquick.install b/python3-pyside2.qtquick.install new file mode 100644 index 0000000..d2045b1 --- /dev/null +++ b/python3-pyside2.qtquick.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtQuick.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtquickcontrols2.install b/python3-pyside2.qtquickcontrols2.install new file mode 100644 index 0000000..7127ff3 --- /dev/null +++ b/python3-pyside2.qtquickcontrols2.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtQuickControls2.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtquickwidgets.install b/python3-pyside2.qtquickwidgets.install new file mode 100644 index 0000000..8e61233 --- /dev/null +++ b/python3-pyside2.qtquickwidgets.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtQuickWidgets.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtremoteobjects.install b/python3-pyside2.qtremoteobjects.install new file mode 100644 index 0000000..d1aa9e7 --- /dev/null +++ b/python3-pyside2.qtremoteobjects.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtRemoteObjects.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtscript.install b/python3-pyside2.qtscript.install new file mode 100644 index 0000000..b0b1aa5 --- /dev/null +++ b/python3-pyside2.qtscript.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtScript.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtscripttools.install b/python3-pyside2.qtscripttools.install new file mode 100644 index 0000000..9cf3a61 --- /dev/null +++ b/python3-pyside2.qtscripttools.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtScriptTools.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtscxml.install b/python3-pyside2.qtscxml.install new file mode 100644 index 0000000..1b9c790 --- /dev/null +++ b/python3-pyside2.qtscxml.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtScxml.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtsensors.install b/python3-pyside2.qtsensors.install new file mode 100644 index 0000000..4ac8aee --- /dev/null +++ b/python3-pyside2.qtsensors.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtSensors.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtserialport.install b/python3-pyside2.qtserialport.install new file mode 100644 index 0000000..bd873a1 --- /dev/null +++ b/python3-pyside2.qtserialport.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtSerialPort.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtsql.install b/python3-pyside2.qtsql.install new file mode 100644 index 0000000..b50b3e4 --- /dev/null +++ b/python3-pyside2.qtsql.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtSql.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtsvg.install b/python3-pyside2.qtsvg.install new file mode 100644 index 0000000..522de6c --- /dev/null +++ b/python3-pyside2.qtsvg.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtSvg.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qttest.install b/python3-pyside2.qttest.install new file mode 100644 index 0000000..bc16f74 --- /dev/null +++ b/python3-pyside2.qttest.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtTest.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qttexttospeech.install b/python3-pyside2.qttexttospeech.install new file mode 100644 index 0000000..28fcab4 --- /dev/null +++ b/python3-pyside2.qttexttospeech.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtTextToSpeech.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtuitools.install b/python3-pyside2.qtuitools.install new file mode 100644 index 0000000..9bbb6db --- /dev/null +++ b/python3-pyside2.qtuitools.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtUiTools.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwebchannel.install b/python3-pyside2.qtwebchannel.install new file mode 100644 index 0000000..97ab7cf --- /dev/null +++ b/python3-pyside2.qtwebchannel.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWebChannel.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwebengine.install b/python3-pyside2.qtwebengine.install new file mode 100644 index 0000000..4430a23 --- /dev/null +++ b/python3-pyside2.qtwebengine.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWebEngine.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwebenginecore.install b/python3-pyside2.qtwebenginecore.install new file mode 100644 index 0000000..efe85a2 --- /dev/null +++ b/python3-pyside2.qtwebenginecore.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWebEngineCore.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwebenginewidgets.install b/python3-pyside2.qtwebenginewidgets.install new file mode 100644 index 0000000..3dbc143 --- /dev/null +++ b/python3-pyside2.qtwebenginewidgets.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWebEngineWidgets.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwebsockets.install b/python3-pyside2.qtwebsockets.install new file mode 100644 index 0000000..54f3e1b --- /dev/null +++ b/python3-pyside2.qtwebsockets.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWebSockets.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtwidgets.install b/python3-pyside2.qtwidgets.install new file mode 100644 index 0000000..ff9a2ce --- /dev/null +++ b/python3-pyside2.qtwidgets.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtWidgets.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtx11extras.install b/python3-pyside2.qtx11extras.install new file mode 100644 index 0000000..9d56ddd --- /dev/null +++ b/python3-pyside2.qtx11extras.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtX11Extras.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtxml.install b/python3-pyside2.qtxml.install new file mode 100644 index 0000000..714f2b4 --- /dev/null +++ b/python3-pyside2.qtxml.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtXml.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/python3-pyside2.qtxmlpatterns.install b/python3-pyside2.qtxmlpatterns.install new file mode 100644 index 0000000..a4b464d --- /dev/null +++ b/python3-pyside2.qtxmlpatterns.install @@ -0,0 +1 @@ +pyside3_install/py*-relwithdebinfo/lib/python3*/site-packages/PySide2/QtXmlPatterns.*.so usr/lib/python3/dist-packages/PySide2 diff --git a/rules b/rules new file mode 100755 index 0000000..ccfe66f --- /dev/null +++ b/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/default.mk + +# Safety measure to ensure package names match SONAMEs +PYSIDE_MAJOR := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d. -f1-2) +ifeq ($(shell awk '/Package:/ {print $$2}' debian/control | grep -- -$(PYSIDE_MAJOR)$$),) + $(error Please update package names for major version $(PYSIDE_MAJOR)) +endif +ifeq ($(shell ls debian/lib* | grep -- -$(PYSIDE_MAJOR)),) + $(error Please update files debian/lib*.* for major version $(PYSIDE_MAJOR)) +endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + OPTION_JOBS = --parallel=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + +export PYBUILD_NAME=pyside2 +export PYBUILD_SYSTEM=distutils +export PYBUILD_BUILD_ARGS=--relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git $(OPTION_JOBS) + +export MAIN_VERSION_UPSTREAM := $(shell echo $(DEB_VERSION_UPSTREAM)) +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +# Add CPPFLAGS to CXXFLAGS as CMake ignores CPPFLAGS by default +CXXFLAGS+=$(CPPFLAGS) + +# Work around buildd bug (https://bugs.debian.org/842565) +undefine XDG_RUNTIME_DIR + +%: + dh $@ --with python3,sphinxdoc --buildsystem=pybuild + +override_dh_auto_install: + # Don't use pybuild install process, we take over this step to + # split files in the way we want it. But we echo the list of files + # built to make it easier to update *.install files. + echo ">>> In pyside*_{package,install}" + -find pyside*_install pyside*_build + +override_dh_makeshlibs: + dh_makeshlibs -VUpstream-Version + +override_dh_install-indep: + dh_install -X.doctrees + +override_dh_install-arch: + dh_install + # remove RUNPATH setup in shiboken2 + chrpath -d debian/shiboken2/usr/bin/shiboken2 + # change the library path in pkg-info/*.pc and in *.cmake files: + # during the build the path is setup to the build dir + # /build/pyside2* (required to find lib during the build) but it's + # not what we need + debian/set-paths + +override_dh_auto_test: +ifeq (mips64el,$(DEB_HOST_ARCH)) + # See https://bugs.debian.org/868745 + QSG_NO_DEPTH_BUFFER=1 xvfb-run -a dh_auto_test -- --system=custom \ + --test-args '{interpreter} testrunner.py test' +else + xvfb-run -a dh_auto_test -- --system=custom \ + --test-args '{interpreter} testrunner.py test' +endif diff --git a/set-paths b/set-paths new file mode 100755 index 0000000..9e334a2 --- /dev/null +++ b/set-paths @@ -0,0 +1,42 @@ +#!/bin/sh + +# Replace build directory value by install directory value +package="libshiboken2-dev" +for directory in "cmake/Shiboken2-$MAIN_VERSION_UPSTREAM" "pkgconfig"; do + sed -i "s|build.*relwithdebinfo/lib|usr/lib/$DEB_HOST_MULTIARCH|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|build.*relwithdebinfo|usr|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${PACKAGE_PREFIX_DIR}|/usr|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${_IMPORT_PREFIX}/lib|\${_IMPORT_PREFIX}/$DEB_HOST_MULTIARCH|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${_IMPORT_PREFIX}/include|\${_IMPORT_PREFIX}/../include|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|libshiboken2.*\.so|libshiboken2\${PYTHON_CONFIG_SUFFIX}.so|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/Shiboken2Targets-*.cmake; +done + +package="libpyside2-dev" +for directory in "pkgconfig" "cmake/PySide2-$MAIN_VERSION_UPSTREAM"; do + sed -i "s|build.*relwithdebinfo/lib|usr/lib/$DEB_HOST_MULTIARCH|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|build.*relwithdebinfo|usr|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${PACKAGE_PREFIX_DIR}|/usr|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${_IMPORT_PREFIX}/lib|\${_IMPORT_PREFIX}/$DEB_HOST_MULTIARCH|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|\${_IMPORT_PREFIX}/include|\${_IMPORT_PREFIX}/../include|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/*; + sed -i "s|libpyside2.*\.so|libpyside2\${PYTHON_CONFIG_SUFFIX}.so|" \ + debian/$package/usr/lib/$DEB_HOST_MULTIARCH/$directory/PySide2Targets-*.cmake; +done + +# Set correctly the python path for pyside2 (Python3) +sed -i "s|^set_and_check(PYSIDE_PYTHONPATH.*|set_and_check(PYSIDE_PYTHONPATH \"/usr/lib/python3/dist-packages/PySide2\")|" \ + debian/libpyside2-dev/usr/lib/$DEB_HOST_MULTIARCH/cmake/PySide2-$MAIN_VERSION_UPSTREAM/PySide2Config.cpython-3*-$DEB_HOST_MULTIARCH.cmake + +# Set correctly the python path for shiboken2 (Python3) +sed -i "s|^set_and_check(SHIBOKEN_PYTHON_MODULE_DIR.*|set_and_check(SHIBOKEN_PYTHON_MODULE_DIR \"/usr/lib/python3/dist-packages/shiboken2\")|" \ + debian/libshiboken2-dev/usr/lib/$DEB_HOST_MULTIARCH/cmake/Shiboken2-$MAIN_VERSION_UPSTREAM/Shiboken2Config.cpython-3*-$DEB_HOST_MULTIARCH.cmake diff --git a/shiboken2-doc.docs b/shiboken2-doc.docs new file mode 100644 index 0000000..bc427a5 --- /dev/null +++ b/shiboken2-doc.docs @@ -0,0 +1 @@ +pyside3_build/py3*-relwithdebinfo/shiboken2/doc/html diff --git a/shiboken2.install b/shiboken2.install new file mode 100644 index 0000000..335f3c4 --- /dev/null +++ b/shiboken2.install @@ -0,0 +1 @@ +pyside3_install/py3*-relwithdebinfo/bin/shiboken2 usr/bin diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/source/options b/source/options new file mode 100644 index 0000000..cb61fa5 --- /dev/null +++ b/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/tests/control b/tests/control new file mode 100644 index 0000000..d36ac6f --- /dev/null +++ b/tests/control @@ -0,0 +1,163 @@ +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcore PySide2.QtCore +Depends: python3-pyside2.qtcore, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwidgets PySide2.QtWidgets +Depends: python3-pyside2.qtwidgets, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3drender PySide2.Qt3DRender +Depends: python3-pyside2.qt3drender, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquick PySide2.QtQuick +Depends: python3-pyside2.qtquick, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtpositioning PySide2.QtPositioning +Depends: python3-pyside2.qtpositioning, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtx11extras PySide2.QtX11Extras +Depends: python3-pyside2.qtx11extras, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtqml PySide2.QtQml +Depends: python3-pyside2.qtqml, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginecore PySide2.QtWebEngineCore +Depends: python3-pyside2.qtwebenginecore, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttexttospeech PySide2.QtTextToSpeech +Depends: python3-pyside2.qttexttospeech, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qthelp PySide2.QtHelp +Depends: python3-pyside2.qthelp, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscripttools PySide2.QtScriptTools +Depends: python3-pyside2.qtscripttools, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtnetwork PySide2.QtNetwork +Depends: python3-pyside2.qtnetwork, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimediawidgets PySide2.QtMultimediaWidgets +Depends: python3-pyside2.qtmultimediawidgets, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtlocation PySide2.QtLocation +Depends: python3-pyside2.qtlocation, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dlogic PySide2.Qt3DLogic +Depends: python3-pyside2.qt3dlogic, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsensors PySide2.QtSensors +Depends: python3-pyside2.qtsensors, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimedia PySide2.QtMultimedia +Depends: python3-pyside2.qtmultimedia, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscript PySide2.QtScript +Depends: python3-pyside2.qtscript, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebchannel PySide2.QtWebChannel +Depends: python3-pyside2.qtwebchannel, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtprintsupport PySide2.QtPrintSupport +Depends: python3-pyside2.qtprintsupport, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquickwidgets PySide2.QtQuickWidgets +Depends: python3-pyside2.qtquickwidgets, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dinput PySide2.Qt3DInput +Depends: python3-pyside2.qt3dinput, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dextras PySide2.Qt3DExtras +Depends: python3-pyside2.qt3dextras, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxml PySide2.QtXml +Depends: python3-pyside2.qtxml, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttest PySide2.QtTest +Depends: python3-pyside2.qttest, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginewidgets PySide2.QtWebEngineWidgets +Depends: python3-pyside2.qtwebenginewidgets, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtconcurrent PySide2.QtConcurrent +Depends: python3-pyside2.qtconcurrent, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxmlpatterns PySide2.QtXmlPatterns +Depends: python3-pyside2.qtxmlpatterns, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcharts PySide2.QtCharts +Depends: python3-pyside2.qtcharts, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtuitools PySide2.QtUiTools +Depends: python3-pyside2.qtuitools, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopengl PySide2.QtOpenGL +Depends: python3-pyside2.qtopengl, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3danimation PySide2.Qt3DAnimation +Depends: python3-pyside2.qt3danimation, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dcore PySide2.Qt3DCore +Depends: python3-pyside2.qt3dcore, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsql PySide2.QtSql +Depends: python3-pyside2.qtsql, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtgui PySide2.QtGui +Depends: python3-pyside2.qtgui, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsvg PySide2.QtSvg +Depends: python3-pyside2.qtsvg, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebsockets PySide2.QtWebSockets +Depends: python3-pyside2.qtwebsockets, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtdatavisualization PySide2.QtDataVisualization +Depends: python3-pyside2.qtdatavisualization, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopenglfunctions PySide2.QtOpenGLFunctions +Depends: python3-pyside2.qtopenglfunctions, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscxml PySide2.QtScxml +Depends: python3-pyside2.qtscxml, python3-all +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebengine PySide2.QtWebEngine +Depends: python3-pyside2.qtwebengine, python3-all +Restrictions: allow-stderr, superficial diff --git a/tests/control.gen b/tests/control.gen new file mode 100755 index 0000000..38ca10b --- /dev/null +++ b/tests/control.gen @@ -0,0 +1,16 @@ +#!/bin/sh + +# Remove debian/tests/control +rm -f debian/tests/control + +# Create the basic (import) test for Python 3 modules +for binary_package in $(dh_listpackages|grep "python3-pyside2.qt"); do + module_name=$(echo $binary_package|awk -F. '{print $2}') + # find import_name + import_name=$(find sources/pyside2/PySide2/ -maxdepth 1 -type d| xargs -n 1 basename|grep -i ^$module_name$) + echo "Test-Command: debian/tests/test_install_python3.sh $binary_package PySide2.$import_name +Depends: $binary_package, python3-all +Restrictions: allow-stderr, superficial +" >>debian/tests/control +done + diff --git a/tests/test_install_python3.sh b/tests/test_install_python3.sh new file mode 100755 index 0000000..db431a2 --- /dev/null +++ b/tests/test_install_python3.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +echo "Testing python3 package $1" +for py in $(py3versions -r 2>/dev/null) ; do + cd "$AUTOPKGTEST_TMP" ; + echo "Testing with $py:" ; + $py -c "import $2; print($2)" ; +done diff --git a/watch b/watch new file mode 100644 index 0000000..9fe24da --- /dev/null +++ b/watch @@ -0,0 +1,2 @@ +version=4 +https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-([\d\.]+)-src/ pyside-setup-.*-src-@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate -- 2.30.2