The games-board/pysol-4.82 ebuild fails if Python 2.4 is installed. This is a packaging problem, not an actual compatibility problem; if one installs PySol from source it works fine with 2.4. "emerge pysol" works fine, but then: $ pysol /usr/bin/pysol: could not find the file 'pysol_24.pyc' ! The problem is that it installs only .pyc files (which are not portable across Python versions) instead of .py files. And no .pyc file for 2.4 is installed: $ qpkg -l -nc pysol |grep "\.py" /usr/share/pysol/4.82/pysol_15.pyc /usr/share/pysol/4.82/pysol_16.pyc /usr/share/pysol/4.82/pysol_20.pyc /usr/share/pysol/4.82/pysol_21.pyc /usr/share/pysol/4.82/pysol_22.pyc /usr/share/pysol/4.82/pysol_23.pyc This is a classic binaries-are-brittle problem. IMO the ebuild should distribute the .py files and build the .pyc files dynamically on install, as is done with other Python ebuilds, and 99% of other Gentoo ebuilds.
a workaround is to unpack somewhere pysol-4.82-src.tar.bz2 and to run: python <somewhere>/pysol-4.82/src/pysol.py if you want like me play absolutly a bit ;) pysol must be merged ;)
4.82-r1 now installs with the source code
Confirm that it now installs correctly. But I had permission problems that prevented non-root users in the games group from playing. A manual "chgrp -R games /usr/games/lib/pysol" fixed the problem -- some files had group permissions, but the group was "root" rather than "games". Once I did that, it was playable with Python 2.4.1. Thanks.
oops, forgot the prepgamesdirs ... thanks for the feedback