diff --git a/python/py-pyqt5/Portfile b/python/py-pyqt5/Portfile
index f18fd41..8b953f6 100644
a
|
b
|
PortSystem 1.0 |
4 | 4 | PortGroup python 1.0 |
5 | 5 | |
6 | 6 | name py-pyqt5 |
7 | | version 5.6 |
8 | | revision 4 |
| 7 | version 5.7.1 |
9 | 8 | categories-append devel |
10 | 9 | platforms darwin |
11 | 10 | maintainers mmoll openmaintainer |
… |
… |
homepage http://www.riverbankcomputing.co.uk/software/pyqt/intro |
16 | 15 | license GPL-3 |
17 | 16 | master_sites sourceforge:pyqt |
18 | 17 | distname PyQt5_gpl-${version} |
19 | | checksums rmd160 498905b678fc2641c8ff6521b5c2126ac6ddf347 \ |
20 | | sha256 2e481a6c4c41b96ed3b33449e5f9599987c63a5c8db93313bd57a6acbf20f0e1 |
| 18 | checksums rmd160 d103fd1e27b8591893b55f56eb0d306767569e2b \ |
| 19 | sha256 be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad14 |
21 | 20 | |
22 | 21 | python.versions 27 34 35 |
23 | 22 | |
… |
… |
if {${name} ne ${subport}} { |
42 | 41 | global qt5_dependency |
43 | 42 | depends_lib-append ${qt5_dependency} |
44 | 43 | } else { |
45 | | depends_lib-append port:${qt5main} |
| 44 | # pull in the port:qt5 meta-port, plus 2 components qt5-kde provides by default |
| 45 | depends_lib-append port:${qt5main} \ |
| 46 | port:${qt5main}-qtscript \ |
| 47 | port:${qt5main}-qt3d |
46 | 48 | } |
47 | 49 | } else { |
48 | 50 | set portname "${qt5main}-${comp}" |
… |
… |
if {${name} ne ${subport}} { |
55 | 57 | # pull in the Qt5 meta-port |
56 | 58 | qt5.depends_component \ |
57 | 59 | qt5 |
58 | | |
59 | 60 | depends_lib-append port:py${python.version}-sip \ |
60 | 61 | port:dbus-python${python.version} |
61 | 62 | |
diff --git a/python/py-pyqt5/files/patch-dbus_includes.diff b/python/py-pyqt5/files/patch-dbus_includes.diff
index aea645d..b45a2c8 100644
a
|
b
|
|
1 | | --- configure.py.orig 2016-04-24 03:55:08.000000000 -0700 |
2 | | +++ configure.py 2016-12-18 09:15:29.000000000 -0700 |
3 | | @@ -2140,7 +2140,7 @@ |
4 | | else: |
5 | | dlist = target_config.dbus_inc_dirs |
| 1 | --- configure.py.orig 2017-01-03 15:00:18.000000000 +0100 |
| 2 | +++ configure.py 2017-01-03 19:56:25.000000000 +0100 |
| 3 | @@ -2147,7 +2147,7 @@ |
| 4 | # Instead we look where DBus itself is installed - which in most cases will |
| 5 | # be where dbus-python is also installed. |
| 6 | if target_config.pydbus_inc_dir != '': |
| 7 | - target_config.dbus_inc_dirs = [target_config.pydbus_inc_dir] |
| 8 | + target_config.dbus_inc_dirs.append(target_config.pydbus_inc_dir) |
6 | 9 | |
7 | | - target_config.dbus_inc_dirs = [] |
8 | | + #target_config.dbus_inc_dirs = [] |
9 | | |
10 | | for d in dlist: |
| 10 | for d in target_config.dbus_inc_dirs: |
11 | 11 | if os.access(os.path.join(d, 'dbus', 'dbus-python.h'), os.F_OK): |