Don't forget to remove ${PREFIX}/bin/python or/and ${PREFIX}/bin/pydoc if they were symlinks to ${PREFIX}/bin/python2.5 or to ${PREFIX}/bin/pydoc2.5.