Created attachment 161508 [details] Build log of the failed build. After the Python3.5 update, I tried to build graphics/py3-cairo. This fails, see attached build log. The configure script fails after detecting the Python version and when trying to find the Python library.
Created attachment 162580 [details] Update py3cairo's waf to 1.8.14. This attachment contains a script and some files to replace py3cairo's old waf by the recent waf 1.8.14. The script requires pycairo-1.10.0.tar.bz2 and waf-waf-1.8.14.tar.gz in the same directory as the script. It configures the new waf, puts it in the pycairo build directory and replaces the wscripts. It then build py3cairo and wraps it up in a tarball. I've tested it and it works. But it is not a finished port, and it is more invasive than Ruslan Makhmatkhanov's patch.
That simple one-liner for old waf from bug 204075 was just committed, to not over complicate things. Thank you for the submission!