Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/whichwayisup: ChangeLog whichwayisup-0.7.9.ebuild
Date: Tue, 26 Feb 2008 22:21:57
Message-Id: E1JU8BM-0004ra-L9@stork.gentoo.org
1 coldwind 08/02/26 22:21:52
2
3 Modified: ChangeLog
4 Added: whichwayisup-0.7.9.ebuild
5 Log:
6 Version bump, closes bug #209986
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.7 games-arcade/whichwayisup/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 20 Feb 2008 18:42:53 -0000 1.6
23 +++ ChangeLog 26 Feb 2008 22:21:52 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-arcade/whichwayisup
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.6 2008/02/20 18:42:53 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.7 2008/02/26 22:21:52 coldwind Exp $
29 +
30 +*whichwayisup-0.7.9 (26 Feb 2008)
31 +
32 + 26 Feb 2008; Santiago M. Mola <coldwind@g.o>
33 + +whichwayisup-0.7.9.ebuild:
34 + Version bump, closes bug #209986
35
36 20 Feb 2008; nixnut <nixnut@g.o> whichwayisup-0.7.0.ebuild:
37 Added ~ppc wrt bug 207910
38
39
40
41 1.1 games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: whichwayisup-0.7.9.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild,v 1.1 2008/02/26 22:21:52 coldwind Exp $
51
52 NEED_PYTHON="2.4"
53
54 inherit eutils python games
55
56 MY_PV=${PV//./}
57 MY_P=${PN}_b${MY_PV}
58 DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist"
59 HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/"
60 SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip"
61
62 LICENSE="GPL-2 CCPL-Attribution-3.0"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66
67 DEPEND="app-arch/unzip"
68 RDEPEND=">=dev-python/pygame-1.6"
69 # media-libs/sdl-image[png]
70
71 S=${WORKDIR}/${PN}
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76 sed -i -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
77 run_game.py || die "Changing library path failed"
78 sed -i -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
79 lib/data.py || die "Changing data path failed"
80 rm data/pictures/Thumbs.db
81 }
82
83 src_install() {
84 newgamesbin run_game.py ${PN} || die "newgamesbin failed"
85
86 insinto "$(games_get_libdir)/${PN}"
87 doins lib/*.py || die "doins lib failed"
88
89 dodoc README.txt changelog.txt
90
91 insinto "${GAMES_DATADIR}/${PN}"
92 doins -r data/* || die "doins data failed"
93
94 doicon "${FILESDIR}"/${PN}-32.xpm
95 make_desktop_entry ${PN} "Which Way Is Up?" ${PN}-32.xpm
96 prepgamesdirs
97 }
98
99 pkg_postinst() {
100 python_mod_optimize "$(games_get_libdir)/${PN}"
101 games_pkg_postinst
102 }
103
104 pkg_postrm() {
105 python_mod_cleanup "$(games_get_libdir)/${PN}"
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list