1 |
commit: 24c516062ddd7464a454b932f001b55759035e57 |
2 |
Author: Xavier Forestier <xavier.forestier <AT> free <DOT> fr> |
3 |
AuthorDate: Fri Oct 28 12:06:02 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 28 12:08:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c51606 |
7 |
|
8 |
dev-python/PyQt5: add patch to solve build failure with Qt 5.6.2 |
9 |
|
10 |
Gentoo-bug: 597302 |
11 |
|
12 |
Package-Manager: portage-2.3.2 |
13 |
|
14 |
dev-python/PyQt5/PyQt5-5.7.ebuild | 1 + |
15 |
dev-python/PyQt5/files/PyQt5-5.7-qt-5.6.2.patch | 11 +++++++++++ |
16 |
2 files changed, 12 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/PyQt5/PyQt5-5.7.ebuild b/dev-python/PyQt5/PyQt5-5.7.ebuild |
19 |
index 2a87ef1..0990f7a 100644 |
20 |
--- a/dev-python/PyQt5/PyQt5-5.7.ebuild |
21 |
+++ b/dev-python/PyQt5/PyQt5-5.7.ebuild |
22 |
@@ -96,6 +96,7 @@ DEPEND="${RDEPEND} |
23 |
S=${WORKDIR}/${MY_P} |
24 |
|
25 |
DOCS=( "${S}"/{ChangeLog,NEWS} ) |
26 |
+PATCHES=( "${FILESDIR}/${P}-qt-5.6.2.patch" ) |
27 |
|
28 |
pyqt_use_enable() { |
29 |
use "$1" || return |
30 |
|
31 |
diff --git a/dev-python/PyQt5/files/PyQt5-5.7-qt-5.6.2.patch b/dev-python/PyQt5/files/PyQt5-5.7-qt-5.6.2.patch |
32 |
new file mode 100644 |
33 |
index 00000000..542f6d0 |
34 |
--- /dev/null |
35 |
+++ b/dev-python/PyQt5/files/PyQt5-5.7-qt-5.6.2.patch |
36 |
@@ -0,0 +1,11 @@ |
37 |
+--- a/sip/QtCore/QtCoremod.sip |
38 |
++++ b/sip/QtCore/QtCoremod.sip |
39 |
+@@ -22,7 +22,7 @@ |
40 |
+ |
41 |
+ %Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", version=1) |
42 |
+ |
43 |
+-%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_7_0} |
44 |
++%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_7_0} |
45 |
+ |
46 |
+ %Platforms {WS_X11 WS_WIN WS_MACX} |
47 |
+ |