summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-15 14:22:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-15 14:22:41 +0100
commit4a0b9aa6202930be86f8a5571e3728143dc59758 (patch)
tree29cdfc6550e385a7d37034eff847a36d991f4acf /dev-python
parent92f017609bb5389739ed353d7b715837e883c46e (diff)
dev-python/PyQt5 : fix building against Qt 5.9.2
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyQt5/PyQt5-5.9.ebuild5
-rw-r--r--dev-python/PyQt5/files/pyqt-support-new-qt.patch12
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/PyQt5/PyQt5-5.9.ebuild b/dev-python/PyQt5/PyQt5-5.9.ebuild
index 3eab65c3..bc4f8ad0 100644
--- a/dev-python/PyQt5/PyQt5-5.9.ebuild
+++ b/dev-python/PyQt5/PyQt5-5.9.ebuild
@@ -106,6 +106,11 @@ pyqt_use_enable() {
fi
}
+src_prepare() {
+ default
+ eapply ${FILESDIR}/pyqt-support-new-qt.patch
+}
+
src_configure() {
configuration() {
local myconf=(
diff --git a/dev-python/PyQt5/files/pyqt-support-new-qt.patch b/dev-python/PyQt5/files/pyqt-support-new-qt.patch
new file mode 100644
index 00000000..f505fca3
--- /dev/null
+++ b/dev-python/PyQt5/files/pyqt-support-new-qt.patch
@@ -0,0 +1,12 @@
+diff -ru a/sip/QtCore/QtCoremod.sip b/sip/QtCore/QtCoremod.sip
+--- a/sip/QtCore/QtCoremod.sip 2016-12-25 18:56:11.000000000 +0100
++++ b/sip/QtCore/QtCoremod.sip 2017-01-24 12:03:50.707514377 +0100
+@@ -22,7 +22,7 @@
+
+ %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}
++%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}
+
+ %Platforms {WS_X11 WS_WIN WS_MACX}
+