extra/pyqt5 to 5.9-2

This commit is contained in:
Kevin Mihelich 2017-10-11 14:28:34 +00:00
parent bd3ec1f0bc
commit 073cbd747c
2 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@
pkgbase=pyqt5
pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
pkgver=5.9
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
@ -22,13 +22,13 @@ makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
source=("http://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$pkgver/PyQt5_gpl-$pkgver.tar.gz"
'pyqt-support-new-qt.patch')
sha512sums=('6e925dee751d6b2ab97b3614b0150f305798b89920e11db7a2cbef579e4c21839a38f4ad7eee5828a0c28942999955715a265e043004ee7838d376025d32e4aa'
'5b0793b281ec7136670fe1b8785704a09d71f79ac4d6479c966a3ec43a76cb3e225311a121a34e3a274a627bd929be2a6e8d108a12a10967f8d1cf888be5030f')
'd5a5550aa5d94a49398ef4f1e7d7f7c752d210bfa02913820d5a5db83a8ab79d0fb9cc3458a2a630cf3e46f3376f47bd4fedcd66fe0309c8a3548f23e0e04a2b')
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
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

View file

@ -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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