diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-12-30 11:06:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-12-30 11:06:00 +0000 |
commit | fc43e6dc647782d8f758c5a55218cf3d32a467ea (patch) | |
tree | e8bbd78dc9f3d6b150959a5748d8cd9e205910b3 /games-kids | |
parent | added ~ppc64 (diff) | |
download | historical-fc43e6dc647782d8f758c5a55218cf3d32a467ea.tar.gz historical-fc43e6dc647782d8f758c5a55218cf3d32a467ea.tar.bz2 historical-fc43e6dc647782d8f758c5a55218cf3d32a467ea.zip |
initial ebuild #75976
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/pytraffic/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/pytraffic/Manifest | 15 | ||||
-rw-r--r-- | games-kids/pytraffic/files/1.2-gentoo-dirs.patch | 36 | ||||
-rw-r--r-- | games-kids/pytraffic/files/digest-pytraffic-1.2.1 | 1 | ||||
-rw-r--r-- | games-kids/pytraffic/metadata.xml | 5 | ||||
-rw-r--r-- | games-kids/pytraffic/pytraffic-1.2.1.ebuild | 38 |
6 files changed, 103 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..5dc27270da5e --- /dev/null +++ b/games-kids/pytraffic/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 dbeff526147a6bb8fbc8005bdf899cce pytraffic-1.2.1.ebuild 888 +MD5 2aea0f8fb60a59ef65946a31fcd31216 ChangeLog 367 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 23d02af40cdc1e4ebd9234573e05b7c2 files/digest-pytraffic-1.2.1 67 +MD5 23fed5e5884473d5939e3fb001e7b48c files/1.2-gentoo-dirs.patch 1545 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFB0+EyroRuSHgZdywRArapAJ91SwOiM7a4mu/2KUR7BIHCrrEv/QCfVidQ +VxE6QJtVU8SsP8td+cF8lBE= +=yulo +-----END PGP SIGNATURE----- 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 +} |