summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-08-26 23:15:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-08-26 23:15:59 +0000
commitc02fe93bdf8830010653cc57d31ec74cf9539689 (patch)
tree419567324a5635ed2c4b4f2fecf4c0a9fbed2b55 /games-kids/pytraffic/files
parentadd ~alpha ~ia64 (diff)
downloadhistorical-c02fe93bdf8830010653cc57d31ec74cf9539689.tar.gz
historical-c02fe93bdf8830010653cc57d31ec74cf9539689.tar.bz2
historical-c02fe93bdf8830010653cc57d31ec74cf9539689.zip
version bump - patch from Algardas Pelakauskas via bug #103716
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-kids/pytraffic/files')
-rw-r--r--games-kids/pytraffic/files/2.5-gentoo-dirs.patch53
-rw-r--r--games-kids/pytraffic/files/digest-pytraffic-2.51
2 files changed, 54 insertions, 0 deletions
diff --git a/games-kids/pytraffic/files/2.5-gentoo-dirs.patch b/games-kids/pytraffic/files/2.5-gentoo-dirs.patch
new file mode 100644
index 000000000000..a974f7e36467
--- /dev/null
+++ b/games-kids/pytraffic/files/2.5-gentoo-dirs.patch
@@ -0,0 +1,53 @@
+--- pytraffic-2.5-orig/setup.py 2005-07-30 12:09:08.000000000 +0300
++++ pytraffic-2.5/setup.py 2005-08-25 18:23:37.000000000 +0300
+@@ -48,7 +48,7 @@
+ # Furthermore both their location and content depend on <prefix>.
+ # Distutils should really have a 'configure' step.
+ if os.name=='posix':
+- prefix='/usr/local'
++ prefix='/usr'
+ for arg_index in xrange(1,len(sys.argv)):
+ arg=sys.argv[arg_index]
+ if arg=='--prefix':
+@@ -72,8 +72,8 @@
+ options['build_ext']={'compiler' : 'mingw32'}
+ else:
+ options['install']={'prefix' : prefix,
+- 'install_lib' : '$base/share/'+version.install_leaf,
+- 'install_data' : '$base/share/'+version.install_leaf}
++ 'install_lib' : '$base/share/games/'+version.install_leaf,
++ 'install_data' : '$base/share/games/'+version.install_leaf}
+ options['build_ext']={'compiler' : 'unix'}
+
+ if py2exe_present:
+@@ -85,7 +85,7 @@
+ # We now construct the files pytraffic and pytraffic.desktop. We will
+ # remove them afterwards.
+ if os.name=='posix':
+- main_command_contents=r"""exec python %s/share/%s/Main.py
++ main_command_contents=r"""exec python %s/share/games/%s/Main.py
+ """ % (prefix,version.install_leaf)
+
+ main_command_file=open("pytraffic","w")
+@@ -100,10 +100,10 @@
+ X-Desktop-File-Install-Version=0.2
+ Name=PyTraffic
+ Description=A Python version of the board game Rush Hour created by Binary Arts Coporation.
+-Exec=%s/bin/pytraffic
++Exec=%s/games/bin/pytraffic
+ Terminal=0
+ Type=Application
+-Icon=%s/share/%s/ICNS/carNred64x64.png
++Icon=%s/share/games/%s/ICNS/carNred64x64.png
+ """ % (prefix,prefix,version.install_leaf)
+
+ menu_entry_file=open("pytraffic.desktop","w")
+@@ -113,7 +113,7 @@
+
+ def main_command():
+ if os.name=='posix':
+- return [(prefix+"/bin",['pytraffic'])]
++ return [(prefix+"/games/bin",['pytraffic'])]
+ else:
+ return [(".",["WinMain.pyw"])]
+
diff --git a/games-kids/pytraffic/files/digest-pytraffic-2.5 b/games-kids/pytraffic/files/digest-pytraffic-2.5
new file mode 100644
index 000000000000..95556e5fcad2
--- /dev/null
+++ b/games-kids/pytraffic/files/digest-pytraffic-2.5
@@ -0,0 +1 @@
+MD5 22752222139a58a125a0270262ae95e9 pytraffic-2.5.tar.gz 2196165