$ python -c 'import turbojson' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python2.6/site-packages/turbojson/__init__.py", line 3, in <module> from turbojson.jsonsupport import JsonSupport File "/usr/lib64/python2.6/site-packages/turbojson/jsonsupport.py", line 3, in <module> from turbojson.jsonify import GenericJSON File "/usr/lib64/python2.6/site-packages/turbojson/jsonify.py", line 6, in <module> from peak.rules import abstract, around, when ImportError: No module named rules dev-python/turbojson-1.1.4 works fine. Reproducible: Always Steps to Reproduce:
Created attachment 294637 [details, diff] ebuild patch This is a (silly) flaw is the source. There is indeed no such module as peak.rules. gentoo64 dev-python # ls /usr/lib64/python2.7/site-packages/peak/ util only a peak.util. Where the rules modules is meant to comes from, Hu knows. Unless someone knows what it is and how to add it to I think the python-decorators package, the sensible fix is to remove the 1 reference to it.
forget the patch, the package exists but it's not in portage. http://peak.telecommunity.com/snapshots/PEAK-Rules-0.5a1.dev-r2700.tar.gz
Dependency added. Closing.