The patch to pytraffic so that it should install in the games hierarchy missed something in the .desktop file. I'm attaching a revised patch to fix this.
Created attachment 47261 [details, diff] revised patch
Created attachment 47262 [details] revised ebuild Now that I look at the ebuild, there's a few revisions to make. One, bytecode isn't compiled (since the python modules aren't installed into /usr/lib/python*. Also, there's a typo DDOCS instead of DOCS. I tried out the attached ebuild, and now it properly postinstalls both for games and python bytecode compiling.
merged with cvs, thanks
Thank you. I noticed however that pkg_postrm from the new ebuild wasn't merged. IFAIK without it the bytecode created by pkg_postinst will be left behind if the packages is unmerged. If it doesn't belong, could you please explain why so that I know for the future?
added this to the ebuild: pkg_postrm() { distutils_pkg_postrm }