summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-30 11:06:00 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-30 11:06:00 +0000
commit921ac2737ab9ae5850773df0f6399eab9201054f (patch)
treef75ca13518c1e302008b4023d1d24d0948799030 /games-kids
parentadded ~ppc64 (Manifest recommit) (diff)
downloadgentoo-2-921ac2737ab9ae5850773df0f6399eab9201054f.tar.gz
gentoo-2-921ac2737ab9ae5850773df0f6399eab9201054f.tar.bz2
gentoo-2-921ac2737ab9ae5850773df0f6399eab9201054f.zip
initial ebuild #75976
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/pytraffic/ChangeLog8
-rw-r--r--games-kids/pytraffic/Manifest3
-rw-r--r--games-kids/pytraffic/files/1.2-gentoo-dirs.patch36
-rw-r--r--games-kids/pytraffic/files/digest-pytraffic-1.2.11
-rw-r--r--games-kids/pytraffic/metadata.xml5
-rw-r--r--games-kids/pytraffic/pytraffic-1.2.1.ebuild38
6 files changed, 91 insertions, 0 deletions
diff --git a/games-kids/pytraffic/ChangeLog b/games-kids/pytraffic/ChangeLog
new file mode 100644
index 000000000000..17e3454188bd
--- /dev/null
+++ b/games-kids/pytraffic/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for games-kids/pytraffic
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.1 2004/12/30 11:06:00 vapier Exp $
+
+*pytraffic-1.2.1 (30 Dec 2004)
+
+ 30 Dec 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by yselkowitz@hotmail.com #75976.
diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest
new file mode 100644
index 000000000000..f00eb92ebffa
--- /dev/null
+++ b/games-kids/pytraffic/Manifest
@@ -0,0 +1,3 @@
+MD5 cfc84dfda0eedd7b1bb2d35f60f09ad9 pytraffic-1.2.1.ebuild 782
+MD5 23d02af40cdc1e4ebd9234573e05b7c2 files/digest-pytraffic-1.2.1 67
+MD5 23fed5e5884473d5939e3fb001e7b48c files/1.2-gentoo-dirs.patch 1545
diff --git a/games-kids/pytraffic/files/1.2-gentoo-dirs.patch b/games-kids/pytraffic/files/1.2-gentoo-dirs.patch
new file mode 100644
index 000000000000..d1b25252616e
--- /dev/null
+++ b/games-kids/pytraffic/files/1.2-gentoo-dirs.patch
@@ -0,0 +1,36 @@
+diff -urN PyTraffic-1.2-orig/pytraffic PyTraffic-1.2/pytraffic
+--- PyTraffic-1.2-orig/pytraffic 2004-12-27 16:16:15.000000000 -0500
++++ PyTraffic-1.2/pytraffic 2004-12-27 16:16:51.000000000 -0500
+@@ -1 +1 @@
+-exec python /usr/share/pytraffic12/Game.py
++exec python /usr/share/games/pytraffic12/Game.py
+diff -urN PyTraffic-1.2-orig/pytraffic.desktop PyTraffic-1.2/pytraffic.desktop
+--- PyTraffic-1.2-orig/pytraffic.desktop 2004-12-27 16:16:15.000000000 -0500
++++ PyTraffic-1.2/pytraffic.desktop 2004-12-27 16:17:22.000000000 -0500
+@@ -7,4 +7,4 @@
+ Exec=/usr/bin/pytraffic
+ Terminal=0
+ Type=Application
+-Icon=/usr/share/pytraffic12/ICNS/carNred64x64.png
++Icon=/usr/share/games/pytraffic12/ICNS/carNred64x64.png
+diff -urN PyTraffic-1.2-orig/setup.py PyTraffic-1.2/setup.py
+--- PyTraffic-1.2-orig/setup.py 2004-12-27 16:16:15.000000000 -0500
++++ PyTraffic-1.2/setup.py 2004-12-27 16:16:51.000000000 -0500
+@@ -45,7 +45,7 @@
+ 'install_lib' : r"c:\pytraffic12"}
+ options['build_ext']={'compiler' : 'mingw32'}
+ else:
+- options['install']={'home' : "/usr/share/pytraffic12",
++ options['install']={'home' : "/usr/share/games/pytraffic12",
+ 'install_lib' : '$base',
+ 'install_data' : '$base'}
+ options['build_ext']={'compiler' : 'unix'}
+@@ -53,7 +53,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-1.2.1 b/games-kids/pytraffic/files/digest-pytraffic-1.2.1
new file mode 100644
index 000000000000..a24ef144a948
--- /dev/null
+++ b/games-kids/pytraffic/files/digest-pytraffic-1.2.1
@@ -0,0 +1 @@
+MD5 00b2a91ccfa21be932595107f2560709 PyTraffic-1.2.1.tar.gz 754710
diff --git a/games-kids/pytraffic/metadata.xml b/games-kids/pytraffic/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-kids/pytraffic/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-kids/pytraffic/pytraffic-1.2.1.ebuild b/games-kids/pytraffic/pytraffic-1.2.1.ebuild
new file mode 100644
index 000000000000..24a0dd9c60f6
--- /dev/null
+++ b/games-kids/pytraffic/pytraffic-1.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/pytraffic-1.2.1.ebuild,v 1.1 2004/12/30 11:06:00 vapier Exp $
+
+inherit games distutils
+
+DESCRIPTION="Python version of the board game Rush Hour"
+HOMEPAGE="http://alpha.luc.ac.be/Research/Algebra/Members/pytraffic"
+SRC_URI="http://alpha.luc.ac.be/Research/Algebra/Members/pytraffic/PyTraffic-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ dev-lang/tk
+ dev-python/pygame"
+
+S="${WORKDIR}/PyTraffic-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/1.2-gentoo-dirs.patch
+}
+
+src_compile() {
+ python_tkinter_exists
+ distutils_src_compile
+}
+
+src_install() {
+ DDOCS="AUTHORS.txt CHANGELOG.txt PKG-INFO"
+ distutils_src_install
+ dohtml DOCS/*
+ prepgamesdirs
+}