Looks like someone refused to use the eclass. checking for headers required to compile python extensions... File "<string>", line 1 import sys; print sys.prefix ^ SyntaxError: invalid syntax File "<string>", line 1 import sys; print sys.exec_prefix ^ SyntaxError: invalid syntax /include/python3.3 checking for Python.h... no configure: error: Python.h not found in /include/python3.3 !!! Please attach the following file when seeking support: !!! /tmp/portage/sys-apps/paludis-1.4.0/work/paludis-1.4.0/config.log
I already mentioned this when reporting an issue with ruby-bindings: https://bugs.gentoo.org/show_bug.cgi?id=439372 paludis really could get some love in gentoo.
This is fixed in 1.4.2.