If Trac doesn’t run anymore after an ’emerge -uD world’ (i.e. there’s a “500 Internal Server Error”) and Apache complains about “ImportError: No module named trac.web.modpython_frontend”, here’s the solution:
(IOW: Emerge mod_python-3.3.1-r1 from your local portage overlay and restart Apache)