git » pyqt5.git » commit 6a1fc4a

Qt 5.9 rebuild

author Antonio Rojas
2017-05-31 21:42:25 UTC
committer Antonio Rojas
2017-05-31 21:42:25 UTC
parent d5e4f0f55bd63a86cb87bb8fca9bcfe908544495

Qt 5.9 rebuild

PKGBUILD +3 -1
pyqt-support-new-qt.patch +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index 54f0766..ed04116 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 pkgbase=pyqt5
 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
 pkgver=5.8.2
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://riverbankcomputing.co.uk/software/pyqt/intro"
 license=('GPL')
@@ -20,7 +20,9 @@ sha512sums=('8b765b9ae6210b7312a2dc6ed94d2664ae569625fe8a27443bae4230d9d9c00e0cf
 
 prepare() {
   # Support new versions of Qt - don't remove, needs to be reapplied after every new Qt release
+  # pushd PyQt5_gpl-$pkgver
   # patch -p1 -i ../pyqt-support-new-qt.patch
+  # popd
 
   # The additional include path was removed due to this line, I don't really know why they are doing this...
   sed -i '/target_config.dbus_inc_dirs = \[\]/d' PyQt5_gpl-$pkgver/configure.py
diff --git a/pyqt-support-new-qt.patch b/pyqt-support-new-qt.patch
index 7d3a633..bbbccfb 100644
--- a/pyqt-support-new-qt.patch
+++ b/pyqt-support-new-qt.patch
@@ -5,8 +5,8 @@ diff -ru a/sip/QtCore/QtCoremod.sip b/sip/QtCore/QtCoremod.sip
  
  %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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