diff --git a/python/py-pyqt5/Portfile b/python/py-pyqt5/Portfile
index f18fd41..1337d7c 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
5 | 5 | |
6 | 6 | name py-pyqt5 |
7 | | version 5.6 |
| 7 | version 5.7.1 |
8 | 8 | revision 4 |
9 | 9 | categories-append devel |
10 | 10 | platforms darwin |
… |
… |
if {${name} ne ${subport}} { |
42 | 42 | global qt5_dependency |
43 | 43 | depends_lib-append ${qt5_dependency} |
44 | 44 | } else { |
45 | | depends_lib-append port:${qt5main} |
| 45 | # pull in the port:qt5 meta-port, plus 2 components qt5-kde provides by default |
| 46 | depends_lib-append port:${qt5main} \ |
| 47 | port:${qt5main}-qtscript \ |
| 48 | port:${qt5main}-qt3d |
46 | 49 | } |
47 | 50 | } else { |
48 | 51 | set portname "${qt5main}-${comp}" |
… |
… |
if {${name} ne ${subport}} { |
78 | 81 | # using --dbus means the compiler will find dbus-python.h but not |
79 | 82 | # the DBus headers themselves |
80 | 83 | # do not clear include directories just because --dbus is given |
81 | | patchfiles-append patch-dbus_includes.diff |
| 84 | patchfiles-append patch-dbus_includes.diff \ |
| 85 | patch-for-sip419.diff |
82 | 86 | |
83 | 87 | build.cmd make |
84 | 88 | build.target all |
diff --git a/python/py-pyqt5/files/patch-for-sip419.diff b/python/py-pyqt5/files/patch-for-sip419.diff
new file mode 100644
index 0000000..c685800
-
|
+
|
|
| 1 | --- sip/QtCore/orig.QtCoremod.sip 2016-04-24 12:55:17.000000000 +0200 |
| 2 | +++ sip/QtCore/QtCoremod.sip 2017-01-02 18:54:25.000000000 +0100 |
| 3 | @@ -20,7 +20,7 @@ |
| 4 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 5 | |
| 6 | |
| 7 | -%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", version=1) |
| 8 | +%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional") |
| 9 | |
| 10 | %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} |
| 11 | |