This regards ImageSurface.create_for_data and ImageSurface.get_data. Both return NotImplemented in python3. It's has been asked a few times in the last few months on cairo mailing list, but upstream seem a but unresponsive. Latest seems to be http://lists.cairographics.org/archives/cairo/2011-December/022563.html. This patch seems to more or less work, though it would be better if somebody tested it more thoroughly. I filed http://bugs.freedesktop.org/show_bug.cgi?id=44935 upstream to get it tracked today, then again there was no activity in this regard since pycairo 1.10.0 release.
Created attachment 304033 [details, diff] ebuild patch archtester pycairo # ebuild pycairo-1.10.0-r2.ebuild install * Compilation and optimization of Python modules for CPython 2.7 ... [ ok ] * Compilation and optimization of Python modules for CPython 3.2 ... [ ok ] >>> dev-python/pycairo-1.10.0-r2 merged.
Created attachment 304035 [details, diff] files/pycairo-install.patch Copied from the link in the Description