Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549568

Summary: games-puzzle/hexamine seems to run on wrong python version
Product: Gentoo Linux Reporter: manuel
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description manuel 2015-05-15 13:43:09 UTC
Running hexamine produces this error:

  File "./hexamine.py", line 367
    fnt = pygame.font.Font("./skins/%s/font.ttf" % (SKIN),14)
                                                            ^
TabError: inconsistent use of tabs and spaces in indentation


Can it be related to python2/python3?
"eselect python show" returns python3.3.


Reproducible: Always
Comment 1 manuel 2015-05-15 13:43:41 UTC
Created attachment 403336 [details]
emerge --info
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2015-05-15 19:26:16 UTC
changed the wrapper to use EPYTHON instead of just hardcoding "python".
Comment 3 manuel 2015-05-16 08:23:24 UTC
Maybe it would be good to increase the version number so one doesn't have to manually unmerge it, delete the source from /usr/portage/distfiles and merge it again?