From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-strategy/lightyears: ChangeLog lightyears-1.3a.ebuild |
Date: | Wed, 05 Nov 2008 20:56:19 |
Message-Id: | E1KxpQH-0006En-QE@stork.gentoo.org |
1 | tupone 08/11/05 20:56:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lightyears-1.3a.ebuild |
5 | Log: |
6 | Version bump to 1.3a. Bug #233011 |
7 | (Portage version: 2.1.4.5) |
8 | |
9 | Revision Changes Path |
10 | 1.7 games-strategy/lightyears/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/lightyears/ChangeLog?rev=1.7&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/lightyears/ChangeLog?rev=1.7&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/lightyears/ChangeLog?r1=1.6&r2=1.7 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v |
19 | retrieving revision 1.6 |
20 | retrieving revision 1.7 |
21 | diff -u -r1.6 -r1.7 |
22 | --- ChangeLog 29 May 2008 16:55:42 -0000 1.6 |
23 | +++ ChangeLog 5 Nov 2008 20:56:17 -0000 1.7 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-strategy/lightyears |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.6 2008/05/29 16:55:42 hawking Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.7 2008/11/05 20:56:17 tupone Exp $ |
29 | + |
30 | +*lightyears-1.3a (05 Nov 2008) |
31 | + |
32 | + 05 Nov 2008; Tupone Alfredo <tupone@g.o> |
33 | + +files/lightyears-1.3a-gentoo.patch, +lightyears-1.3a.ebuild: |
34 | + Version bump to 1.3a. Bug #233011 by chris salch |
35 | |
36 | 29 May 2008; Ali Polatel <hawking@g.o> lightyears-1.2a.ebuild: |
37 | python_mod_optimize is ROOT aware. |
38 | |
39 | |
40 | |
41 | 1.1 games-strategy/lightyears/lightyears-1.3a.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/lightyears/lightyears-1.3a.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/lightyears/lightyears-1.3a.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: lightyears-1.3a.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-strategy/lightyears/lightyears-1.3a.ebuild,v 1.1 2008/11/05 20:56:17 tupone Exp $ |
51 | |
52 | inherit eutils python games |
53 | |
54 | DESCRIPTION="a single-player game with a science-fiction theme" |
55 | HOMEPAGE="http://www.jwhitham.org.uk/20kly/" |
56 | SRC_URI="${HOMEPAGE}${P}.tar.gz" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86" |
61 | IUSE="" |
62 | |
63 | DEPEND="dev-lang/python |
64 | dev-python/pygame" |
65 | |
66 | src_unpack() { |
67 | unpack ${A} |
68 | cd "${S}" |
69 | |
70 | epatch "${FILESDIR}/${P}"-gentoo.patch |
71 | sed -i \ |
72 | -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \ |
73 | -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ |
74 | ${PN} || die "Changing library path failed" |
75 | } |
76 | |
77 | src_install() { |
78 | dogamesbin ${PN} || die "dogamesbin failed" |
79 | |
80 | insinto "$(games_get_libdir)/${PN}" |
81 | doins code/*.py || die "doins code failed" |
82 | |
83 | dodoc README.txt |
84 | |
85 | insinto "${GAMES_DATADIR}/${PN}" |
86 | doins -r data audio || die "doins data failed" |
87 | |
88 | newicon data/32.png ${PN}.png |
89 | make_desktop_entry ${PN} "Light Years Into Space" |
90 | prepgamesdirs |
91 | } |
92 | |
93 | pkg_postinst() { |
94 | python_mod_optimize "$(games_get_libdir)/${PN}" |
95 | games_pkg_postinst |
96 | } |
97 | |
98 | pkg_postrm() { |
99 | python_mod_cleanup "$(games_get_libdir)/${PN}" |
100 | } |