import pygraphiz fails due to a lack of tests module which should be included in the sources. I checked the ebuild and found that the /tests/ dir is deleted during installation. Reproducible: Always Steps to Reproduce: enter the python interactive shell >> import pygraphviz Actual Results: Python 2.6.4 (r264:75706, Apr 29 2010, 09:44:29) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygraphviz Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/site-packages/pygraphviz/__init__.py", line 72, in <module> from tests import run as test ImportError: No module named tests
confirm
So, either keep it in or remove references to test. (Why on earth include tests on a basic library init?)
Fixed in dev-python/pygraphviz-1.0-r1.