diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-16 16:02:57 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-06-16 20:18:42 +0200 |
commit | 91695ef44efc0df1c981b4de5e141b32323b4c56 (patch) | |
tree | d92eaab7a6d607c83adf7c40fe975f57865b0edf /dev-python/PyQt5/files | |
parent | app-eselect/eselect-sndpeek: Fix WORKDIR (#657734) (diff) | |
download | gentoo-91695ef44efc0df1c981b4de5e141b32323b4c56.tar.gz gentoo-91695ef44efc0df1c981b4de5e141b32323b4c56.tar.bz2 gentoo-91695ef44efc0df1c981b4de5e141b32323b4c56.zip |
dev-python/PyQt5: Fix build with USE=testlib
Bug: https://bugs.gentoo.org/654742
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/PyQt5/files')
-rw-r--r-- | dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch b/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch new file mode 100644 index 000000000000..38a20bc36d12 --- /dev/null +++ b/dev-python/PyQt5/files/PyQt5-5.10.1-fix-testlib.patch @@ -0,0 +1,17 @@ +From: Fabian Vogt <fabian@ritter-vogt.de> +Subject: QTest::waitForEvents() is internal only + +Must not be used, got removed with Qt 5.11. + +Index: PyQt5_gpl-5.10.1/sip/QtTest/qtestmouse.sip +=================================================================== +--- a/sip/QtTest/qtestmouse.sip ++++ b/sip/QtTest/qtestmouse.sip +@@ -41,7 +41,6 @@ namespace QTest + void mousePress(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier = 0, QPoint pos = QPoint(), int delay = -1); + void mouseEvent(QTest::MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); +- void waitForEvents() /ReleaseGIL/; + void mouseEvent(QTest::MouseAction action, QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier, QPoint pos, int delay = -1); + void mousePress(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); + void mouseRelease(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers modifier = Qt::KeyboardModifiers(), QPoint pos = QPoint(), int delay = -1); |