[arch-commits] Commit in pyside2/trunk (PKGBUILD fix-build.patch)

Antonio Rojas arojas at gemini.archlinux.org
Thu Sep 8 22:00:44 UTC 2022


    Date: Thursday, September 8, 2022 @ 22:00:43
  Author: arojas
Revision: 455644

upgpkg: pyside2 5.15.6-1: Update to 5.15.6

Added:
  pyside2/trunk/fix-build.patch
Modified:
  pyside2/trunk/PKGBUILD

-----------------+
 PKGBUILD        |   14 ++++++++++----
 fix-build.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-08 21:34:26 UTC (rev 455643)
+++ PKGBUILD	2022-09-08 22:00:43 UTC (rev 455644)
@@ -3,10 +3,10 @@
 
 pkgbase=pyside2
 pkgname=(shiboken2 python-shiboken2 pyside2 pyside2-tools)
-_qtver=5.15.5
+_qtver=5.15.6
 _clangver=14.0.6
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -30,9 +30,15 @@
             'qt5-serialport: QtSerialPort bindings'
             'qt5-quickcontrols2: QtQuickControls2 bindings')
 _pkgfqn=pyside-setup-opensource-src-$_qtver
-source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz)
-sha256sums=('3920a4fb353300260c9bc46ff70f1fb975c5e7efa22e9d51222588928ce19b33')
+source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz
+        fix-build.patch)
+sha256sums=('171ee058d056599b8e9e8605fe3dae5dabdab7764285b21b28f64760a0f6779d'
+            '4f8815840b5df2e1e3b9f201a3402126821b0d9702920cefdc18050639143ad1')
 
+prepare() {
+  patch -d $_pkgfqn -p1 < fix-build.patch
+}
+
 build() {
   cmake -B build -S $_pkgfqn \
     -DCMAKE_INSTALL_PREFIX=/usr \

Added: fix-build.patch
===================================================================
--- fix-build.patch	                        (rev 0)
+++ fix-build.patch	2022-09-08 22:00:43 UTC (rev 455644)
@@ -0,0 +1,12 @@
+diff -ru pyside-setup-opensource-src-5.15.6.orig/sources/shiboken2/libshiboken/embed/signature_bootstrap.py pyside-setup-opensource-src-5.15.6/sources/shiboken2/libshiboken/embed/signature_bootstrap.py
+--- pyside-setup-opensource-src-5.15.6.orig/sources/shiboken2/libshiboken/embed/signature_bootstrap.py	2022-09-08 23:54:19.419724864 +0200
++++ pyside-setup-opensource-src-5.15.6/sources/shiboken2/libshiboken/embed/signature_bootstrap.py	2022-09-08 23:55:04.494277606 +0200
+@@ -211,7 +211,7 @@
+         return self if self._mod2path.get(fullname) else None
+ 
+     def load_module(self, fullname):
+-        import importlib
++        import importlib.machinery
+         import sys
+ 
+         filename = self._mod2path.get(fullname)



More information about the arch-commits mailing list