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
commitae46292fd321bd4c014e8fd9c046417ed980d4e8 (patch)
treea5c90c7c56931b7621812b13fad9f8078268cfa6 /games-kids
parentadd ~alpha ~ia64 (diff)
downloadgentoo-2-ae46292fd321bd4c014e8fd9c046417ed980d4e8.tar.gz
gentoo-2-ae46292fd321bd4c014e8fd9c046417ed980d4e8.tar.bz2
gentoo-2-ae46292fd321bd4c014e8fd9c046417ed980d4e8.zip
version bump - patch from Algardas Pelakauskas via bug #103716
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/pytraffic/ChangeLog8
-rw-r--r--games-kids/pytraffic/Manifest21
-rw-r--r--games-kids/pytraffic/files/2.5-gentoo-dirs.patch53
-rw-r--r--games-kids/pytraffic/files/digest-pytraffic-2.51
-rw-r--r--games-kids/pytraffic/pytraffic-2.5.ebuild39
5 files changed, 107 insertions, 15 deletions
diff --git a/games-kids/pytraffic/ChangeLog b/games-kids/pytraffic/ChangeLog
index 57262581d651..44865fe7e03f 100644
--- a/games-kids/pytraffic/ChangeLog
+++ b/games-kids/pytraffic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-kids/pytraffic
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.3 2005/06/11 18:03:06 fserb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.4 2005/08/26 23:15:59 mr_bones_ Exp $
+
+*pytraffic-2.5 (26 Aug 2005)
+
+ 26 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/2.5-gentoo-dirs.patch, +pytraffic-2.5.ebuild:
+ version bump - patch from Algardas Pelakauskas via bug #103716
*pytraffic-2.0 (11 Jun 2005)
diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest
index 5fbeaa0d6366..bc2fa54b54fc 100644
--- a/games-kids/pytraffic/Manifest
+++ b/games-kids/pytraffic/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 2741cd5f30627769c6053052fdf4921d ChangeLog 609
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 99d00a17633bbfb2c97ebcd11dec6e9a pytraffic-1.2.1.ebuild 992
MD5 73bd859b30938168ae0a99d709f8d917 pytraffic-2.0.ebuild 929
-MD5 435a1b2a65ae7fc35c83fbeb7397d829 files/1.2.1-gentoo-dirs.patch 1730
+MD5 4fffcb3d8bbf68ef15b1f1df09235148 pytraffic-2.5.ebuild 889
+MD5 99d00a17633bbfb2c97ebcd11dec6e9a pytraffic-1.2.1.ebuild 992
+MD5 2741cd5f30627769c6053052fdf4921d ChangeLog 609
+MD5 f2e093329e4a626fbfd1f4b5bca0bf98 files/2.5-gentoo-dirs.patch 2013
+MD5 1e3d3d52e6d4c7c501afd907d04a7f80 files/digest-pytraffic-2.5 66
MD5 23d02af40cdc1e4ebd9234573e05b7c2 files/digest-pytraffic-1.2.1 67
-MD5 7be5b74960df3f7159e4914d8d10d3ba files/digest-pytraffic-2.0 65
MD5 3a461a8258af9efb5d7772db7e2e8267 files/2.0-gentoo-dirs.patch 1735
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCqytDxtZcznfol0URAnjpAJ4rYcC5k+yI53WfcN+MUXHKqf8JSQCgt3lC
-Klx02qdFOT2jJd8FvuylV/4=
-=MU5n
------END PGP SIGNATURE-----
+MD5 7be5b74960df3f7159e4914d8d10d3ba files/digest-pytraffic-2.0 65
+MD5 435a1b2a65ae7fc35c83fbeb7397d829 files/1.2.1-gentoo-dirs.patch 1730
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
diff --git a/games-kids/pytraffic/pytraffic-2.5.ebuild b/games-kids/pytraffic/pytraffic-2.5.ebuild
new file mode 100644
index 000000000000..c3f1322ff5a4
--- /dev/null
+++ b/games-kids/pytraffic/pytraffic-2.5.ebuild
@@ -0,0 +1,39 @@
+# 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.5.ebuild,v 1.1 2005/08/26 23:15:59 mr_bones_ 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
+}