diff options
author | Fernando Serboncini <fserb@gentoo.org> | 2005-06-11 18:03:06 +0000 |
---|---|---|
committer | Fernando Serboncini <fserb@gentoo.org> | 2005-06-11 18:03:06 +0000 |
commit | 6384b07e91bdbe2cdae4a0de58fbb64358322e6d (patch) | |
tree | 91a3eb8d6e25b6bfc3b3e459ab6ef70754171537 /games-kids | |
parent | Marked ~ppc for bug #94395. (diff) | |
download | historical-6384b07e91bdbe2cdae4a0de58fbb64358322e6d.tar.gz historical-6384b07e91bdbe2cdae4a0de58fbb64358322e6d.tar.bz2 historical-6384b07e91bdbe2cdae4a0de58fbb64358322e6d.zip |
2.0 version bump
Package-Manager: portage-2.0.51.22-r1
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/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 | 41 |
5 files changed, 103 insertions, 2 deletions
diff --git a/games-kids/pytraffic/ChangeLog b/games-kids/pytraffic/ChangeLog index e2ae140de232..57262581d651 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.2 2005/02/22 12:12:55 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/pytraffic/ChangeLog,v 1.3 2005/06/11 18:03:06 fserb Exp $ + +*pytraffic-2.0 (11 Jun 2005) + + 11 Jun 2005; Fernando Serboncini <fserb@gentoo.org> + +files/2.0-gentoo-dirs.patch, +pytraffic-2.0.ebuild: + Version bump. 22 Feb 2005; David Holm <dholm@gentoo.org> pytraffic-1.2.1.ebuild: Added to ~ppc. diff --git a/games-kids/pytraffic/Manifest b/games-kids/pytraffic/Manifest index 1e2329dfccf1..4cec442b8bb6 100644 --- a/games-kids/pytraffic/Manifest +++ b/games-kids/pytraffic/Manifest @@ -1,5 +1,18 @@ -MD5 d32c588b53d7654c5a55dfabaf1fc426 ChangeLog 453 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 2741cd5f30627769c6053052fdf4921d ChangeLog 609 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 99d00a17633bbfb2c97ebcd11dec6e9a pytraffic-1.2.1.ebuild 992 +MD5 d2854cb4e5018061111f4f50048c64d4 pytraffic-2.0.ebuild 926 MD5 435a1b2a65ae7fc35c83fbeb7397d829 files/1.2.1-gentoo-dirs.patch 1730 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) + +iD8DBQFCqyeNxtZcznfol0URAlxoAKCgBD1+IZIE01w0HEdEqmf2905EoACgqcPf +13eXkpvJ/X0SSkGJkMzai64= +=rC5Z +-----END PGP SIGNATURE----- diff --git a/games-kids/pytraffic/files/2.0-gentoo-dirs.patch b/games-kids/pytraffic/files/2.0-gentoo-dirs.patch new file mode 100644 index 000000000000..50afc0539e3e --- /dev/null +++ b/games-kids/pytraffic/files/2.0-gentoo-dirs.patch @@ -0,0 +1,40 @@ +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 new file mode 100644 index 000000000000..2e518f640bdf --- /dev/null +++ b/games-kids/pytraffic/files/digest-pytraffic-2.0 @@ -0,0 +1 @@ +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 new file mode 100644 index 000000000000..c07e111494ae --- /dev/null +++ b/games-kids/pytraffic/pytraffic-2.0.ebuild @@ -0,0 +1,41 @@ +# 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.1 2005/06/11 18:03:06 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 +} |