[arch-commits] Commit in pyqt5/trunk (PKGBUILD restore-sip4-support.patch)

Antonio Rojas arojas at gemini.archlinux.org
Sat Nov 6 18:55:46 UTC 2021


    Date: Saturday, November 6, 2021 @ 18:55:45
  Author: arojas
Revision: 427414

Restore sip4 support

Added:
  pyqt5/trunk/restore-sip4-support.patch
Modified:
  pyqt5/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   12 +++++++++---
 restore-sip4-support.patch |   12 ++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-06 17:54:19 UTC (rev 427413)
+++ PKGBUILD	2021-11-06 18:55:45 UTC (rev 427414)
@@ -9,7 +9,7 @@
 pkgname=('python-pyqt5')
 pkgdesc="A set of Python bindings for the Qt5 toolkit"
 pkgver=5.15.6
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://riverbankcomputing.com/software/pyqt/intro"
 license=('GPL')
@@ -35,9 +35,15 @@
              'qt5-connectivity' 'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-speech' 'qt5-svg'
              'qt5-webkit' 'qt5-websockets' 'qt5-x11extras' 'qt5-xmlpatterns' 'qt5-remoteobjects' 'qt5-quick3d')
 conflicts=('pyqt5-common')
-source=("https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$pkgver.tar.gz")
-sha256sums=('80343bcab95ffba619f2ed2467fd828ffeb0a251ad7225be5fc06dcc333af452')
+source=("https://pypi.python.org/packages/source/P/PyQt5/PyQt5-$pkgver.tar.gz"
+         restore-sip4-support.patch)
+sha256sums=('80343bcab95ffba619f2ed2467fd828ffeb0a251ad7225be5fc06dcc333af452'
+            'c8881a8dc666e509773f93330615d310f9f040c2167dc9e98843741691395f72')
 
+prepare() {
+  patch -d PyQt5-$pkgver -p1 < restore-sip4-support.patch # https://www.riverbankcomputing.com/pipermail/pyqt/2021-November/044346.html
+}
+
 build() {
   cd PyQt5-$pkgver
   sip-build \

Added: restore-sip4-support.patch
===================================================================
--- restore-sip4-support.patch	                        (rev 0)
+++ restore-sip4-support.patch	2021-11-06 18:55:45 UTC (rev 427414)
@@ -0,0 +1,12 @@
+diff -ru PyQt5-5.15.6.orig/sip/QtCore/QtCoremod.sip PyQt5-5.15.6/sip/QtCore/QtCoremod.sip
+--- PyQt5-5.15.6.orig/sip/QtCore/QtCoremod.sip	2021-11-06 19:41:47.117226645 +0100
++++ PyQt5-5.15.6/sip/QtCore/QtCoremod.sip	2021-11-06 19:42:32.674011854 +0100
+@@ -20,7 +20,7 @@
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ 
+ 
+-%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True, py_ssize_t_clean=True)
++%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True)
+ 
+ %Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_9_5 Qt_5_9_6 Qt_5_9_7 Qt_5_9_8 Qt_5_9_9 Qt_5_10_0 Qt_5_10_1 Qt_5_11_0 Qt_5_11_1 Qt_5_11_2 Qt_5_11_3 Qt_5_12_0 Qt_5_12_1 Qt_5_12_2 Qt_5_12_3 Qt_5_12_4 Qt_5_13_0 Qt_5_14_0 Qt_5_15_0}
+ 



More information about the arch-commits mailing list