diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-12 10:47:19 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-11-12 10:47:19 +0000 |
commit | 25143eea7e0bc2ec1e31ec0917e4ba6dc50f3b3b (patch) | |
tree | 0e3e13cf150cc6ec391a0768ecf8b8d9a444a13c /games-kids/pytraffic | |
parent | install the templates as documentation (diff) | |
download | gentoo-2-25143eea7e0bc2ec1e31ec0917e4ba6dc50f3b3b.tar.gz gentoo-2-25143eea7e0bc2ec1e31ec0917e4ba6dc50f3b3b.tar.bz2 gentoo-2-25143eea7e0bc2ec1e31ec0917e4ba6dc50f3b3b.zip |
old
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-kids/pytraffic')
-rw-r--r-- | games-kids/pytraffic/files/2.0-gentoo-dirs.patch | 40 | ||||
-rw-r--r-- | games-kids/pytraffic/files/digest-pytraffic-2.0 | 1 | ||||
-rw-r--r-- | games-kids/pytraffic/pytraffic-2.0.ebuild | 40 |
3 files changed, 0 insertions, 81 deletions
diff --git a/games-kids/pytraffic/files/2.0-gentoo-dirs.patch b/games-kids/pytraffic/files/2.0-gentoo-dirs.patch deleted file mode 100644 index 50afc0539e3e..000000000000 --- a/games-kids/pytraffic/files/2.0-gentoo-dirs.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -u -r pytraffic-2.0-orig/pytraffic pytraffic-2.0/pytraffic ---- pytraffic-2.0-orig/pytraffic 2005-06-11 14:44:32.000000000 -0300 -+++ pytraffic-2.0/pytraffic 2005-06-11 14:44:43.000000000 -0300 -@@ -1 +1 @@ --exec python /usr/share/pytraffic2/Game.py -+exec python /usr/share/games/pytraffic2/Game.py -diff -u -r pytraffic-2.0-orig/pytraffic.desktop pytraffic-2.0/pytraffic.desktop ---- pytraffic-2.0-orig/pytraffic.desktop 2005-06-11 14:44:32.000000000 -0300 -+++ pytraffic-2.0/pytraffic.desktop 2005-06-11 14:45:04.000000000 -0300 -@@ -4,7 +4,7 @@ - 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=/usr/bin/pytraffic -+Exec=pytraffic - Terminal=0 - Type=Application --Icon=/usr/share/pytraffic2/ICNS/carNred64x64.png -+Icon=/usr/share/games/pytraffic2/ICNS/carNred64x64.png -diff -u -r pytraffic-2.0-orig/setup.py pytraffic-2.0/setup.py ---- pytraffic-2.0-orig/setup.py 2005-06-11 14:44:32.000000000 -0300 -+++ pytraffic-2.0/setup.py 2005-06-11 14:45:50.000000000 -0300 -@@ -47,7 +47,7 @@ - 'install_lib' : "c:\\"+version.install_leaf}
- options['build_ext']={'compiler' : 'mingw32'}
- else:
-- options['install']={'home' : "/usr/share/"+version.install_leaf,
-+ options['install']={'home' : "/usr/share/games/"+version.install_leaf,
- 'install_lib' : '$base',
- 'install_data' : '$base'}
- options['build_ext']={'compiler' : 'unix'}
-@@ -60,7 +60,7 @@ -
- def main_command():
- if os.name=='posix':
-- return [("/usr/bin",['pytraffic'])]
-+ return [("/usr/games/bin",['pytraffic'])]
- else:
- return [(".",["WinGame.pyw"])]
-
diff --git a/games-kids/pytraffic/files/digest-pytraffic-2.0 b/games-kids/pytraffic/files/digest-pytraffic-2.0 deleted file mode 100644 index 2e518f640bdf..000000000000 --- a/games-kids/pytraffic/files/digest-pytraffic-2.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 7e07b7e837369ef7c06316e9684aa662 pytraffic-2.0.tar.gz 651455 diff --git a/games-kids/pytraffic/pytraffic-2.0.ebuild b/games-kids/pytraffic/pytraffic-2.0.ebuild deleted file mode 100644 index 42c9b3bbf616..000000000000 --- a/games-kids/pytraffic/pytraffic-2.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-2.0.ebuild,v 1.2 2005/06/11 18:18:57 fserb 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="" - -# pytraffic doesn't work with pygtk-2.6 -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 -} |