Created attachment 297673 [details] my emerge --info FEATURES test set. std use flags; ______________________ ERROR collecting test/api_test.py _______________________ test/api_test.py:12: in <module> > import cairo E ImportError: No module named cairo ____________________ ERROR collecting test/examples_test.py ____________________ test/examples_test.py:11: in <module> > import cairo E ImportError: No module named cairo =========================== 2 error in 0.32 seconds ============================ * ERROR: dev-python/pycairo-1.10.0-r2 failed (test phase): * Testing failed with PyPy 1.7 (Python 2.7) in python_test_function() function
Created attachment 297675 [details] the build log
Build system seems to have CPython-specific assumptions. I have restricted PyPy ABIs.
Confirmed the build system just does not work right: it uses python-config (and finds python-config-2.7 from cpython 2.7 when building with pypy) and ends up installing /usr/lib64/python2.7/site-packages/cairo/_cairo.pypy-18.so which just isn't going to work. Restricted pypy for now, we'll probably need pypy to install a python-config before this can be fixed properly.