Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75976
Collapse All | Expand All

(-)PyTraffic-1.2-orig/pytraffic (-1 / +1 lines)
Line 1 Link Here
1
exec python /usr/share/pytraffic12/Game.py 
1
exec python /usr/share/games/pytraffic12/Game.py 
(-)PyTraffic-1.2-orig/pytraffic.desktop (-1 / +1 lines)
Lines 7-10 Link Here
7
Exec=/usr/bin/pytraffic
7
Exec=/usr/bin/pytraffic
8
Terminal=0
8
Terminal=0
9
Type=Application
9
Type=Application
10
Icon=/usr/share/pytraffic12/ICNS/carNred64x64.png
10
Icon=/usr/share/games/pytraffic12/ICNS/carNred64x64.png
(-)PyTraffic-1.2-orig/setup.py (-2 / +2 lines)
Lines 45-51 Link Here
45
                        'install_lib' :  r"c:\pytraffic12"}
45
                        'install_lib' :  r"c:\pytraffic12"}
46
    options['build_ext']={'compiler' : 'mingw32'}
46
    options['build_ext']={'compiler' : 'mingw32'}
47
else:
47
else:
48
    options['install']={'home' : "/usr/share/pytraffic12",
48
    options['install']={'home' : "/usr/share/games/pytraffic12",
49
                       'install_lib' : '$base',
49
                       'install_lib' : '$base',
50
                       'install_data' : '$base'}
50
                       'install_data' : '$base'}
51
    options['build_ext']={'compiler' : 'unix'}
51
    options['build_ext']={'compiler' : 'unix'}
Lines 53-59 Link Here
53
53
54
def main_command():
54
def main_command():
55
    if os.name=='posix':
55
    if os.name=='posix':
56
        return [("/usr/bin",['pytraffic'])]
56
        return [("/usr/games/bin",['pytraffic'])]
57
    else:
57
    else:
58
        return [(".",["WinGame.pyw"])]
58
        return [(".",["WinGame.pyw"])]
59
59

Return to bug 75976