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