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

Antonio Rojas arojas at gemini.archlinux.org
Sat May 14 17:40:31 UTC 2022


    Date: Saturday, May 14, 2022 @ 17:40:30
  Author: arojas
Revision: 445601

Update to 5.15.4

Modified:
  pyside2/trunk/PKGBUILD
Deleted:
  pyside2/trunk/python310.patch

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-14 17:21:27 UTC (rev 445600)
+++ PKGBUILD	2022-05-14 17:40:30 UTC (rev 445601)
@@ -3,10 +3,10 @@
 
 pkgbase=pyside2
 pkgname=(shiboken2 python-shiboken2 pyside2 pyside2-tools)
-_qtver=5.15.3
+_qtver=5.15.4
 _clangver=13.0.1
 pkgver=${_qtver/-/}
-pkgrel=3
+pkgrel=1
 arch=(x86_64)
 url='https://www.qt.io'
 license=(LGPL)
@@ -30,15 +30,9 @@
             '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
-        python310.patch)
-sha256sums=('7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137'
-            'dcda195170a2ada52d7914be8535926e9deea7bdcd006a4ea37b1b82dbe5cae4')
+source=(https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-$pkgver-src/${_pkgfqn}.tar.xz)
+sha256sums=('3c68ed0def4111ef5d0641370306338d277ae8983a77eaf22f223ddd3a14450b')
 
-prepare() {
-  patch -d $_pkgfqn -p1 -i ../python310.patch # Fix build with Python 3.10
-}
-
 build() {
   cmake -B build -S $_pkgfqn \
     -DCMAKE_INSTALL_PREFIX=/usr \

Deleted: python310.patch
===================================================================
--- python310.patch	2022-05-14 17:21:27 UTC (rev 445600)
+++ python310.patch	2022-05-14 17:40:30 UTC (rev 445601)
@@ -1,12 +0,0 @@
-diff -upr pyside-setup-opensource-src-5.15.2.orig/sources/shiboken2/libshiboken/pep384impl.cpp pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.cpp
---- pyside-setup-opensource-src-5.15.2.orig/sources/shiboken2/libshiboken/pep384impl.cpp	2020-11-11 14:51:30.000000000 +0200
-+++ pyside-setup-opensource-src-5.15.2/sources/shiboken2/libshiboken/pep384impl.cpp	2021-12-01 15:17:21.444888977 +0200
-@@ -751,7 +751,7 @@ _Pep_PrivateMangle(PyObject *self, PyObj
- #endif // IS_PY2
-     Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
-         reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name()));
--#ifndef Py_LIMITED_API
-+#if 0
-     return _Py_Mangle(privateobj, name);
- #else
-     // PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.



More information about the arch-commits mailing list