Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-kids/tuxmathscrabble: ChangeLog tuxmathscrabble-4.5.ebuild
Date: Wed, 24 Oct 2007 01:28:17
Message-Id: E1IkV2U-0002tP-W7@stork.gentoo.org
1 nyhm 07/10/24 01:28:06
2
3 Modified: ChangeLog
4 Added: tuxmathscrabble-4.5.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.14 games-kids/tuxmathscrabble/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 2 Oct 2007 05:36:53 -0000 1.13
23 +++ ChangeLog 24 Oct 2007 01:28:06 -0000 1.14
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-kids/tuxmathscrabble
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.13 2007/10/02 05:36:53 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.14 2007/10/24 01:28:06 nyhm Exp $
29 +
30 +*tuxmathscrabble-4.5 (24 Oct 2007)
31 +
32 + 24 Oct 2007; Tristan Heaven <nyhm@g.o> +tuxmathscrabble-4.5.ebuild:
33 + Version bump
34
35 *tuxmathscrabble-4.3 (02 Oct 2007)
36
37
38
39
40 1.1 games-kids/tuxmathscrabble/tuxmathscrabble-4.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-4.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-4.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tuxmathscrabble-4.5.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-4.5.ebuild,v 1.1 2007/10/24 01:28:06 nyhm Exp $
50
51 inherit eutils python multilib games
52
53 MY_PN=TuxMathScrabble
54 MY_P=${MY_PN}-0.${PV}
55 DESCRIPTION="math-version of the popular board game for children 4-10"
56 HOMEPAGE="http://www.asymptopia.org/"
57 SRC_URI="http://www.asymptopia.org/software/${MY_P}.tgz
58 mirror://sourceforge/${PN}/${MY_P}.tgz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE=""
64
65 DEPEND="dev-python/pygame
66 =dev-python/wxpython-2.6*"
67
68 S=${WORKDIR}/${MY_P}
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 rm -f $(find . -name '*.pyc')
74 mv -f ${MY_PN}/{Accounts,Globals,Simulation,StudentData} .
75 sed -i "s:'/','var','games':'${GAMES_STATEDIR}':" \
76 asymptopia_0_1_3/environment.py \
77 || die "sed failed"
78 }
79
80 src_install() {
81 newgamesbin ${MY_PN}.py ${PN} || die "newgamesbin failed"
82
83 python_version
84 insinto /usr/$(get_libdir)/python${PYVER}/site-packages
85 doins -r ${MY_PN} || die "doins failed"
86 doins -r asymptopia_0_1_3 || die "doins asymptopia_0_1_2 failed"
87
88 insinto "${GAMES_STATEDIR}"/${MY_PN}
89 doins -r Accounts Globals Simulation StudentData || die "doins failed"
90
91 newicon tms.ico ${PN}.ico
92 make_desktop_entry ${PN} ${MY_PN} /usr/share/pixmaps/${PN}.ico
93
94 dodoc CHANGES README
95 prepgamesdirs
96 fperms -R g+w "${GAMES_STATEDIR}"/${MY_PN}
97 }
98
99
100
101 --
102 gentoo-commits@g.o mailing list