Pyqt5 5.2 + python3 support

This PR
* updates pyqt5 to version 5.2
* adds again support for python3 (based on #26372) 

installing and test `--with-python` are working for me
[more readable w=1 diff](https://github.com/Homebrew/homebrew/pull/26499/files?w=1)