diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-20 06:54:39 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-20 06:54:39 +0000 |
commit | d3a17dc266d0031e1281c202ae2b1edb5a33b1ff (patch) | |
tree | 19ecb044a8a046035b728c72e01615c54840ba93 /games-kids/pytraffic | |
parent | old (diff) | |
download | gentoo-2-d3a17dc266d0031e1281c202ae2b1edb5a33b1ff.tar.gz gentoo-2-d3a17dc266d0031e1281c202ae2b1edb5a33b1ff.tar.bz2 gentoo-2-d3a17dc266d0031e1281c202ae2b1edb5a33b1ff.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-kids/pytraffic')
-rw-r--r-- | games-kids/pytraffic/Manifest | 3 | ||||
-rw-r--r-- | games-kids/pytraffic/files/2.5-gentoo-dirs.patch | 53 | ||||
-rw-r--r-- | games-kids/pytraffic/pytraffic-2.5.ebuild | 39 |
3 files changed, 0 insertions, 95 deletions
diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest index e84554418766..a1f9f8974c1c 100644 --- a/games-kids/pytraffic/Manifest +++ b/games-kids/pytraffic/Manifest @@ -1,7 +1,4 @@ -AUX 2.5-gentoo-dirs.patch 2013 RMD160 5a76fd451790f772bd6ff9c8859f4ab90f9efca9 SHA1 dfb0717e6fcca0ce3a53ee7fea35f06a7bace2e4 SHA256 209c68607b5d2581e4be16ad14c39bfa1cd4fe358870980e1609f496a5731ac2 DIST pytraffic-2.5.4.tar.gz 2474006 RMD160 3749068efff7f670463a75d1279bbd157ee63658 SHA1 08077ccf3803f6f4dbb5a7892ae23416f5097350 SHA256 7a3254f5a37d71104a1223d960ce8b5d23d40caa4b2b8b8b6236d6a762c00a2a -DIST pytraffic-2.5.tar.gz 2196165 RMD160 07dfa09588a2cb5dd891f16aa07959ca9a1f47a2 SHA1 1e1a4ad193704233873c3293c052c5a1ba3b83fe SHA256 ce07df8a0878da3ee6b1da5760c701a9bfa7850b997276d8264a3db3ae9d7e72 EBUILD pytraffic-2.5.4.ebuild 1435 RMD160 42731ea95fda57bb7e96110dcc35ed4be48d2789 SHA1 55c877f9369213efc9e401c99c217dcb2edcee62 SHA256 63052fd4d4a20d13e02f11a8ec58bbf18b2381b2b39795aa9aa3cae9ecb3e3cc -EBUILD pytraffic-2.5.ebuild 886 RMD160 838d9743041ed57c377f9548f88eb920b982cd37 SHA1 b9cdc9c607774d5f1a180a6b0c1426e5d39f8e64 SHA256 a18912e32ef1f73c4709585705d3f209ea8a4f996b82d2a0498b8a6b5b587990 MISC ChangeLog 1456 RMD160 8e95b2047cc5301c2361d1c40100208018ab5d3b SHA1 dc4943a723c429da2318d60ec7d16add33446b5a SHA256 0fffdc3ff7cd339f704f062c30790a1fb666d97ef277c934f6b96e9a2c5a19b3 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-kids/pytraffic/files/2.5-gentoo-dirs.patch b/games-kids/pytraffic/files/2.5-gentoo-dirs.patch deleted file mode 100644 index a974f7e36467..000000000000 --- a/games-kids/pytraffic/files/2.5-gentoo-dirs.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- 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/pytraffic-2.5.ebuild b/games-kids/pytraffic/pytraffic-2.5.ebuild deleted file mode 100644 index b3c9f9ad6386..000000000000 --- a/games-kids/pytraffic/pytraffic-2.5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.5.ebuild,v 1.4 2007/04/25 21:03:41 nyhm Exp $ - -inherit distutils eutils games - -DESCRIPTION="Python version of the board game Rush Hour" -HOMEPAGE="http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/" -SRC_URI="http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="" - -DEPEND="dev-python/pygame - >=dev-python/pygtk-2.4" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PV}-gentoo-dirs.patch" -} - -src_compile() { - distutils_src_compile -} - -src_install() { - DOCS="AUTHORS.txt CHANGELOG.txt PKG-INFO" - distutils_src_install - dohtml DOCS/* - prepgamesdirs -} - -pkg_postinst() { - distutils_pkg_postinst - games_pkg_postinst -} |