From ff69e287bb2887b8c1d53402f73a9019e480f40f Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 15 Oct 2023 21:04:58 +0100 Subject: [PATCH] Import pyside2_5.15.11-1.debian.tar.xz [dgit import tarball pyside2 5.15.11-1 pyside2_5.15.11-1.debian.tar.xz] --- changelog | 420 +++++++++++ clean | 6 + control | 712 ++++++++++++++++++ copyright | 259 +++++++ libpyside2-dev.install | 5 + libpyside2-py3-5.15.install | 4 + libpyside2-py3-5.15.lintian-overrides | 2 + libshiboken2-dev.install | 4 + libshiboken2-py3-5.15.install | 2 + libshiboken2-py3-5.15.lintian-overrides | 2 + ...atector-sample_privatedtor-failing-w.patch | 33 + ...ing-duplicates-work-with-Python-3.11.patch | 77 ++ ...ken-Fix-the-oldest-shiboken-bug-ever.patch | 44 ++ patches/blacklist-failing-tests.patch | 34 + patches/fix-spelling-errors.patch | 22 + ...e-wheels-compatible-with-Python-3.11.patch | 29 + patches/series | 8 + 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 | 178 +++++ tests/control.gen | 21 + tests/test_install_python3.sh | 10 + watch | 2 + 77 files changed, 2086 insertions(+) create mode 100644 changelog create mode 100644 clean create mode 100644 control create mode 100644 copyright create mode 100644 libpyside2-dev.install create mode 100644 libpyside2-py3-5.15.install create mode 100644 libpyside2-py3-5.15.lintian-overrides create mode 100644 libshiboken2-dev.install create mode 100644 libshiboken2-py3-5.15.install create mode 100644 libshiboken2-py3-5.15.lintian-overrides create mode 100644 patches/Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch create mode 100644 patches/PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch create mode 100644 patches/Shiboken-Fix-the-oldest-shiboken-bug-ever.patch create mode 100644 patches/blacklist-failing-tests.patch create mode 100644 patches/fix-spelling-errors.patch create mode 100644 patches/make-wheels-compatible-with-Python-3.11.patch create mode 100644 patches/series 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..a75f88f --- /dev/null +++ b/changelog @@ -0,0 +1,420 @@ +pyside2 (5.15.11-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Drop patches, included in the new release: + - libshiboken-Fix-a-crash-in-Shiboken-Object-isValid.patch + - Fix-usage-of-Py_TYPE-for-Python-3.11.patch + - libshiboken-Fix-crashes-with-static-strings-in-Python-3.11.patch + - Fix-Property-GC-tracking-for-Python-3.11.patch + - Fix-GLES-builds.patch + * Refresh other patches. + + -- Dmitry Shachnev Sun, 15 Oct 2023 23:04:58 +0300 + +pyside2 (5.15.10-4) unstable; urgency=medium + + * Team upload. + * Build with LLVM 15 for now (closes: #1051886). + * Backport upstream patch to fix test failures with Python 3.11.5. + * Add a debian/clean file (closes: #1047480). + + -- Dmitry Shachnev Sun, 01 Oct 2023 23:43:44 +0300 + +pyside2 (5.15.10-3) unstable; urgency=medium + + * Team upload. + * Stop building the Qt WebEngine package on mipsel (closes: #1041253). + + -- Dmitry Shachnev Sun, 16 Jul 2023 17:49:14 +0300 + +pyside2 (5.15.10-2) unstable; urgency=medium + + * Team upload. + * Regenerate debian/tests/control using debian/tests/control.gen. + * Enable the Qt WebEngine packages on mips64el. + * Enable the Qt Data Visualization package on all architectures. + * Test WebEngine only on architectures where it is available. + + -- Dmitry Shachnev Wed, 28 Jun 2023 00:02:49 +0300 + +pyside2 (5.15.10-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Drop patches, no longer needed after upstream changes: + - Revert-removal-of-version-check.patch + - importlib-machinery.patch + * Refresh other patches. + + -- Dmitry Shachnev Sun, 18 Jun 2023 19:12:26 +0300 + +pyside2 (5.15.8-2) unstable; urgency=medium + + * Team upload. + * Backport upstream patch to fix GLES builds. + + -- Dmitry Shachnev Mon, 09 Jan 2023 00:06:53 +0400 + +pyside2 (5.15.8-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Drop patches, included in the new release: + - 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 + * Refresh debian/patches/blacklist-failing-tests.patch. + * Backport 7 upstream patches to support Python 3.11 (closes: #1027950). + * Remove dh-exec (debhelper now supports substitutions natively). + * Revert a change from 5.15.8 which broke build without limited API. + * Add a patch to fix AttributeError in signature_bootstrap.py. + * Fix redundant-globbing-patterns Lintian warning. + * Bump Standards-Version to 4.6.2, no changes needed. + + -- Dmitry Shachnev Sat, 07 Jan 2023 17:38:12 +0400 + +pyside2 (5.15.2-2.3) unstable; urgency=medium + + * Call "py3versions -d" instead of "py3versions -r" in tests. + + -- Christian Marillat Fri, 17 Jun 2022 17:49:37 +0200 + +pyside2 (5.15.2-2.2) unstable; urgency=medium + + * Don't test with python3-all but python3 as only the current python3 is + supported. (Closes:# 1012878) + + -- Christian Marillat Thu, 16 Jun 2022 10:57:23 +0200 + +pyside2 (5.15.2-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Should always Build-Depends on python3-dev but not on python3-all-dev. + This package is unable to manage two python versions at the same time. + (Closes: #1008849) + + -- Christian Marillat Sun, 12 Jun 2022 18:30:03 +0200 + +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/clean b/clean new file mode 100644 index 0000000..007fd64 --- /dev/null +++ b/clean @@ -0,0 +1,6 @@ +build_history/2*/ +pyside3_build/ +pyside3_install/ +sources/pyside2/doc/pyside-config.qdocconf +sources/pyside2/doc/pyside.qdocconf.in +sources/pyside2/doc/qtmodules/pyside-*.qdocconf diff --git a/control b/control new file mode 100644 index 0000000..dceb7a1 --- /dev/null +++ b/control @@ -0,0 +1,712 @@ +Source: pyside2 +Section: python +Priority: optional +Maintainer: Debian Qt/KDE Maintainers +Uploaders: Kurt Kremitzki +Build-Depends: chrpath, + cmake (>= 3.1), + debhelper-compat (= 13), + dh-python, + graphviz, + libclang-15-dev, + libqt5charts5-dev (>= 5.15), + libqt5datavisualization5-dev (>= 5.15), + 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-15-dev, + patchelf, + python3-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 mips64el], + xauth, + xvfb +Rules-Requires-Root: no +Standards-Version: 4.6.2 +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 mips64el +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 mips64el +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: any +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 mips64el +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..88f22cc --- /dev/null +++ b/copyright @@ -0,0 +1,259 @@ +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/* +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 100644 index 0000000..3eb64ff --- /dev/null +++ b/libpyside2-dev.install @@ -0,0 +1,5 @@ +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 100644 index 0000000..cd81eb8 --- /dev/null +++ b/libpyside2-py3-5.15.install @@ -0,0 +1,4 @@ +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 100644 index 0000000..b2dd32a --- /dev/null +++ b/libshiboken2-dev.install @@ -0,0 +1,4 @@ +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 100644 index 0000000..1bc2122 --- /dev/null +++ b/libshiboken2-py3-5.15.install @@ -0,0 +1,2 @@ +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/Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch b/patches/Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch new file mode 100644 index 0000000..8a59789 --- /dev/null +++ b/patches/Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch @@ -0,0 +1,33 @@ +From: Friedemann Kleint +Date: Mon, 18 Sep 2023 13:39:17 +0200 +Subject: Fix tests sample_privatector sample_privatedtor failing with Python + 3.11.5 + +Remove special characters from the format string as they cause: +ValueError PyUnicode_FromFormatV() expects an ASCII-encoded format string, got a non-ASCII byte: 0xc2 + +Fixes: PYSIDE-2465 +Pick-to: 6.6 6.5 6.2 5.15 +Change-Id: I506efcb44168fdc979a1d16bf33d5d5d14525e2e +Reviewed-by: Shyamnath Premnadh +(cherry picked from commit e726ec6450553d268413ab10ed68889a1c1f4fa6) +--- + sources/shiboken2/libshiboken/basewrapper.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/sources/shiboken2/libshiboken/basewrapper.cpp b/sources/shiboken2/libshiboken/basewrapper.cpp +index 1919f28..f908f22 100644 +--- a/sources/shiboken2/libshiboken/basewrapper.cpp ++++ b/sources/shiboken2/libshiboken/basewrapper.cpp +@@ -841,9 +841,9 @@ PyObject *SbkQAppTpNew(PyTypeObject *subtype, PyObject *, PyObject *) + PyObject *SbkDummyNew(PyTypeObject *type, PyObject *, PyObject *) + { + // PYSIDE-595: Give the same error as type_call does when tp_new is NULL. ++ const char regret[] = "¯\\_(ツ)_/¯"; + PyErr_Format(PyExc_TypeError, +- "cannot create '%.100s' instances ¯\\_(ツ)_/¯", +- type->tp_name); ++ "cannot create '%.100s' instances %s", type->tp_name, regret); + return nullptr; + } + diff --git a/patches/PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch b/patches/PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch new file mode 100644 index 0000000..27677d0 --- /dev/null +++ b/patches/PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch @@ -0,0 +1,77 @@ +From: Christian Tismer +Date: Tue, 21 Jun 2022 10:22:04 +0200 +Subject: PyEnum: make forgiving duplicates work with Python 3.11 + +There was a silent change in PyEnums that turns Enum attributes +into properties. This does not harm the Python interface but +needed some change in the duplication emulation. + +Furthermore, new internal enums are created with an underscore name. + +The meta class was changed from EnumMeta to EnumType. + +[ChangeLog][shiboken6] The new Python Enums are now compatible with Python 3.11 + +Change-Id: I3b1ab63dc5eed15a75ebd0f42dddf4001f640c00 +Pick-to: 6.3 +Task-number: PYSIDE-1735 +Fixes: PYSIDE-1960 +Reviewed-by: Qt CI Bot +Reviewed-by: Cristian Maureira-Fredes +(cherry picked from commit da2cf031521815a9559ca784beadb70c7a2852d9) +--- + sources/pyside2/tests/QtCore/qenum_test.py | 6 ++++-- + sources/shiboken2/libshiboken/pep384impl.h | 2 +- + .../files.dir/shibokensupport/signature/lib/enum_sig.py | 3 ++- + 3 files changed, 7 insertions(+), 4 deletions(-) + +diff --git a/sources/pyside2/tests/QtCore/qenum_test.py b/sources/pyside2/tests/QtCore/qenum_test.py +index f99a893..0981c26 100644 +--- a/sources/pyside2/tests/QtCore/qenum_test.py ++++ b/sources/pyside2/tests/QtCore/qenum_test.py +@@ -197,14 +197,16 @@ class SomeClass(QObject): + + @unittest.skipUnless(HAVE_ENUM, "requires 'enum' module (use 'pip install enum34' for Python 2)") + class TestQEnumMacro(unittest.TestCase): ++ meta_name = "EnumType" if sys.version_info[:2] >= (3, 11) else "EnumMeta" ++ + def testTopLevel(self): + self.assertEqual(type(OuterEnum).__module__, "enum") +- self.assertEqual(type(OuterEnum).__name__, "EnumMeta") ++ self.assertEqual(type(OuterEnum).__name__, self.meta_name) + self.assertEqual(len(OuterEnum.__members__), 2) + + def testSomeClass(self): + self.assertEqual(type(SomeClass.SomeEnum).__module__, "enum") +- self.assertEqual(type(SomeClass.SomeEnum).__name__, "EnumMeta") ++ self.assertEqual(type(SomeClass.SomeEnum).__name__, self.meta_name) + self.assertEqual(len(SomeClass.SomeEnum.__members__), 3) + with self.assertRaises(TypeError): + int(SomeClass.SomeEnum.C) == 6 +diff --git a/sources/shiboken2/libshiboken/pep384impl.h b/sources/shiboken2/libshiboken/pep384impl.h +index eb65596..1ba8205 100644 +--- a/sources/shiboken2/libshiboken/pep384impl.h ++++ b/sources/shiboken2/libshiboken/pep384impl.h +@@ -332,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 < 0x030AFFFF) ++ PY_VERSION_HEX < 0x030C0000) + #if !PYTHON_BUFFER_VERSION_COMPATIBLE + # error Please check the buffer compatibility for this python version! + #endif +diff --git a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/lib/enum_sig.py b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/lib/enum_sig.py +index 088a93a..2f78718 100644 +--- a/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/lib/enum_sig.py ++++ b/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/lib/enum_sig.py +@@ -139,7 +139,8 @@ class ExactEnumerator(object): + functions.append((func_name, thing)) + elif type(type(thing)) is EnumMeta: + # take the real enum name, not what is in the dict +- enums.append((thing_name, type(thing).__qualname__, thing)) ++ if not thing_name.startswith("_"): ++ enums.append((thing_name, type(thing).__qualname__, thing)) + init_signature = getattr(klass, "__signature__", None) + enums.sort(key=lambda tup: tup[1 : 3]) # sort by class then enum value + self.fmt.have_body = bool(subclasses or functions or enums or init_signature) diff --git a/patches/Shiboken-Fix-the-oldest-shiboken-bug-ever.patch b/patches/Shiboken-Fix-the-oldest-shiboken-bug-ever.patch new file mode 100644 index 0000000..98315dd --- /dev/null +++ b/patches/Shiboken-Fix-the-oldest-shiboken-bug-ever.patch @@ -0,0 +1,44 @@ +From: Christian Tismer +Date: Tue, 21 Jun 2022 10:22:04 +0200 +Subject: Shiboken: Fix the oldest shiboken bug ever which shows up on Python + 3.11 + +b7df2f1c0 "Fix signal initializer.", 18. May 2010 at 00:55 + +There was a `PySequence_Check` in the evaluation of some signature +function parameter processing, which should have been `PyTuple_Check`. + +Since the new PyEnums are also sequences, the new optimization in +Python 3.11 changed the parameter handling in a correct way and +replaced the argument tuple by a direct single argument of an enum +type. And that is also a sequence ... + +There are probably still dormant issues like this in the codebase +which gives reason to submit a task that checks all Python interface +functions for correctness. + +Change-Id: I45996a0458c3e60795d2eb802eb98f7dd3678d92 +Pick-to: 6.3 +Task-number: PYSIDE-1735 +Task-number: PYSIDE-1987 +Fixes: PYSIDE-1988 +Reviewed-by: Cristian Maureira-Fredes +Reviewed-by: Shyamnath Premnadh +(cherry picked from commit 2720e01f21f3771cb755ef183b8160f691bdb575) +--- + sources/pyside2/libpyside/pysidesignal.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sources/pyside2/libpyside/pysidesignal.cpp b/sources/pyside2/libpyside/pysidesignal.cpp +index 607ce16..6824a71 100644 +--- a/sources/pyside2/libpyside/pysidesignal.cpp ++++ b/sources/pyside2/libpyside/pysidesignal.cpp +@@ -726,7 +726,7 @@ static QByteArray buildSignature(const QByteArray &name, const QByteArray &signa + + static QByteArray parseSignature(PyObject *args) + { +- if (args && (Shiboken::String::check(args) || !PySequence_Check(args))) ++ if (args && (Shiboken::String::check(args) || !PyTuple_Check(args))) + return getTypeName(args); + + QByteArray signature; diff --git a/patches/blacklist-failing-tests.patch b/patches/blacklist-failing-tests.patch new file mode 100644 index 0000000..2e04395 --- /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 827191a..8a60237 100644 +--- a/build_history/blacklist.txt ++++ b/build_history/blacklist.txt +@@ -22,6 +22,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] +@@ -83,6 +86,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-spelling-errors.patch b/patches/fix-spelling-errors.patch new file mode 100644 index 0000000..941e661 --- /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 0d0957f..86909d3 100644 +--- a/sources/pyside2/libpyside/pysideproperty.cpp ++++ b/sources/pyside2/libpyside/pysideproperty.cpp +@@ -519,7 +519,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/make-wheels-compatible-with-Python-3.11.patch b/patches/make-wheels-compatible-with-Python-3.11.patch new file mode 100644 index 0000000..343c776 --- /dev/null +++ b/patches/make-wheels-compatible-with-Python-3.11.patch @@ -0,0 +1,29 @@ +From: Cristian Maureira-Fredes +Date: Mon, 17 Oct 2022 09:57:22 +0200 +Subject: make wheels compatible with Python 3.11 + +These leftover mentions to <3.11 made those wheel +impossible to install for Python 3.11 + +Pick-to: 6.4 +Fixes: PYSIDE-2086 +Change-Id: I2a0e3f87c265e3ddc97e1036ea0137a12e895794 +Reviewed-by: Cristian Maureira-Fredes +(cherry picked from commit d169554f2e8e57382dfc66a62e06fa75706cb649) +--- + build_scripts/config.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build_scripts/config.py b/build_scripts/config.py +index 63e52a2..7cbb8b6 100644 +--- a/build_scripts/config.py ++++ b/build_scripts/config.py +@@ -137,7 +137,7 @@ class Config(object): + setup_kwargs['zip_safe'] = False + setup_kwargs['cmdclass'] = cmd_class_dict + setup_kwargs['version'] = package_version +- setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.11" ++ setup_kwargs['python_requires'] = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <3.12" + + if quiet: + # Tells distutils / setuptools to be quiet, and only print warnings or errors. diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..0997c97 --- /dev/null +++ b/patches/series @@ -0,0 +1,8 @@ +update-sip-import.patch +fix-spelling-errors.patch +blacklist-failing-tests.patch +test-with-current-interpreter.patch +Shiboken-Fix-the-oldest-shiboken-bug-ever.patch +PyEnum-make-forgiving-duplicates-work-with-Python-3.11.patch +make-wheels-compatible-with-Python-3.11.patch +Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch 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..9d39e78 --- /dev/null +++ b/tests/control @@ -0,0 +1,178 @@ +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcore PySide2.QtCore +Depends: python3-pyside2.qtcore, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwidgets PySide2.QtWidgets +Depends: python3-pyside2.qtwidgets, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3drender PySide2.Qt3DRender +Depends: python3-pyside2.qt3drender, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquick PySide2.QtQuick +Depends: python3-pyside2.qtquick, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquickcontrols2 PySide2.QtQuickControls2 +Depends: python3-pyside2.qtquickcontrols2, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtpositioning PySide2.QtPositioning +Depends: python3-pyside2.qtpositioning, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtremoteobjects PySide2.QtRemoteObjects +Depends: python3-pyside2.qtremoteobjects, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtx11extras PySide2.QtX11Extras +Depends: python3-pyside2.qtx11extras, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtqml PySide2.QtQml +Depends: python3-pyside2.qtqml, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginecore PySide2.QtWebEngineCore +Depends: python3-pyside2.qtwebenginecore, python3 +Restrictions: allow-stderr, superficial +Architecture: amd64 arm64 armhf i386 mips64el + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttexttospeech PySide2.QtTextToSpeech +Depends: python3-pyside2.qttexttospeech, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qthelp PySide2.QtHelp +Depends: python3-pyside2.qthelp, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscripttools PySide2.QtScriptTools +Depends: python3-pyside2.qtscripttools, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtnetwork PySide2.QtNetwork +Depends: python3-pyside2.qtnetwork, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimediawidgets PySide2.QtMultimediaWidgets +Depends: python3-pyside2.qtmultimediawidgets, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtlocation PySide2.QtLocation +Depends: python3-pyside2.qtlocation, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dlogic PySide2.Qt3DLogic +Depends: python3-pyside2.qt3dlogic, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsensors PySide2.QtSensors +Depends: python3-pyside2.qtsensors, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtserialport PySide2.QtSerialPort +Depends: python3-pyside2.qtserialport, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtmultimedia PySide2.QtMultimedia +Depends: python3-pyside2.qtmultimedia, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscript PySide2.QtScript +Depends: python3-pyside2.qtscript, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebchannel PySide2.QtWebChannel +Depends: python3-pyside2.qtwebchannel, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtprintsupport PySide2.QtPrintSupport +Depends: python3-pyside2.qtprintsupport, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtquickwidgets PySide2.QtQuickWidgets +Depends: python3-pyside2.qtquickwidgets, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dinput PySide2.Qt3DInput +Depends: python3-pyside2.qt3dinput, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxml PySide2.QtXml +Depends: python3-pyside2.qtxml, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qttest PySide2.QtTest +Depends: python3-pyside2.qttest, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebenginewidgets PySide2.QtWebEngineWidgets +Depends: python3-pyside2.qtwebenginewidgets, python3 +Restrictions: allow-stderr, superficial +Architecture: amd64 arm64 armhf i386 mips64el + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtconcurrent PySide2.QtConcurrent +Depends: python3-pyside2.qtconcurrent, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtxmlpatterns PySide2.QtXmlPatterns +Depends: python3-pyside2.qtxmlpatterns, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtcharts PySide2.QtCharts +Depends: python3-pyside2.qtcharts, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtuitools PySide2.QtUiTools +Depends: python3-pyside2.qtuitools, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopengl PySide2.QtOpenGL +Depends: python3-pyside2.qtopengl, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3danimation PySide2.Qt3DAnimation +Depends: python3-pyside2.qt3danimation, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dcore PySide2.Qt3DCore +Depends: python3-pyside2.qt3dcore, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qt3dextras PySide2.Qt3DExtras +Depends: python3-pyside2.qt3dextras, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsql PySide2.QtSql +Depends: python3-pyside2.qtsql, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtgui PySide2.QtGui +Depends: python3-pyside2.qtgui, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtsvg PySide2.QtSvg +Depends: python3-pyside2.qtsvg, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebsockets PySide2.QtWebSockets +Depends: python3-pyside2.qtwebsockets, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtdatavisualization PySide2.QtDataVisualization +Depends: python3-pyside2.qtdatavisualization, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtopenglfunctions PySide2.QtOpenGLFunctions +Depends: python3-pyside2.qtopenglfunctions, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtscxml PySide2.QtScxml +Depends: python3-pyside2.qtscxml, python3 +Restrictions: allow-stderr, superficial + +Test-Command: debian/tests/test_install_python3.sh python3-pyside2.qtwebengine PySide2.QtWebEngine +Depends: python3-pyside2.qtwebengine, python3 +Restrictions: allow-stderr, superficial +Architecture: amd64 arm64 armhf i386 mips64el diff --git a/tests/control.gen b/tests/control.gen new file mode 100755 index 0000000..c3a4140 --- /dev/null +++ b/tests/control.gen @@ -0,0 +1,21 @@ +#!/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 +Restrictions: allow-stderr, superficial" >>debian/tests/control + architecture=$(sed -n "/^Package: ${binary_package}$/{n; p}" debian/control) + if [ "$architecture" != 'Architecture: any' ]; then + echo "$architecture" >>debian/tests/control + fi + echo "" >>debian/tests/control +done + +sed -i '$d' debian/tests/control diff --git a/tests/test_install_python3.sh b/tests/test_install_python3.sh new file mode 100755 index 0000000..db5b06b --- /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 -d >/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