When dev-python/pygments is broken, installation of dev-python/pycairo dies like this: * Generation of documentation Traceback (most recent call last): File "/usr/bin/sphinx-build-2.7", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2672, in <module> working_set.require(__requires__) File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 655, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 553, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Pygments>=0.8 * ERROR: dev-python/pycairo-1.8.10 failed (compile phase): * Generation of documentation failed Re-emerging dev-python/pygments allows pycairo to emerge successfully.
pycairo[doc] depends on sphinx, which in turn depends on pygments. These dependencies are already in place, so I suggest something is wrong with your system.
You probably forgot to run python-updater.