Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-kids/tuxmathscrabble: tuxmathscrabble-0.7.4.ebuild ChangeLog tuxmathscrabble-7.4-r1.ebuild
Date: Tue, 03 Feb 2015 16:57:06
Message-Id: 20150203165703.1460E10FA5@oystercatcher.gentoo.org
1 tupone 15/02/03 16:57:03
2
3 Modified: ChangeLog
4 Added: tuxmathscrabble-0.7.4.ebuild
5 Removed: tuxmathscrabble-7.4-r1.ebuild
6 Log:
7 Change version numbering following upstream
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0145142D)
10
11 Revision Changes Path
12 1.22 games-kids/tuxmathscrabble/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.22&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.22&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?r1=1.21&r2=1.22
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v
21 retrieving revision 1.21
22 retrieving revision 1.22
23 diff -u -r1.21 -r1.22
24 --- ChangeLog 2 Feb 2015 17:28:20 -0000 1.21
25 +++ ChangeLog 3 Feb 2015 16:57:03 -0000 1.22
26 @@ -1,6 +1,14 @@
27 # ChangeLog for games-kids/tuxmathscrabble
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.21 2015/02/02 17:28:20 tupone Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.22 2015/02/03 16:57:03 tupone Exp $
31 +
32 +*tuxmathscrabble-0.7.4 (03 Feb 2015)
33 +
34 + 03 Feb 2015; Tupone Alfredo <tupone@g.o>
35 + +tuxmathscrabble-0.7.4.ebuild, -tuxmathscrabble-7.4-r1.ebuild,
36 + +files/tuxmathscrabble-0.7.4-gentoo.patch,
37 + -files/tuxmathscrabble-7.4-gentoo.patch:
38 + Change numbering schema following upstream numbering
39
40 02 Feb 2015; Tupone Alfredo <tupone@g.o> -tuxmathscrabble-7.4.ebuild,
41 tuxmathscrabble-7.4-r1.ebuild:
42
43
44
45 1.1 games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: tuxmathscrabble-0.7.4.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-0.7.4.ebuild,v 1.1 2015/02/03 16:57:03 tupone Exp $
55
56 EAPI=5
57 PYTHON_COMPAT=( python2_7 )
58 inherit eutils python-single-r1 multilib games
59
60 MY_PN=TuxMathScrabble
61 DESCRIPTION="math-version of the popular board game for children 4-10"
62 HOMEPAGE="http://www.asymptopia.org/"
63 SRC_URI="mirror://gentoo/${P}.zip"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ppc x86"
68 IUSE=""
69
70 CDEPEND="${PYTHON_DEPS}
71 dev-python/wxpython[${PYTHON_USEDEP}]"
72 DEPEND="${CDEPEND}
73 app-arch/unzip"
74 RDEPEND="${CDEPEND}
75 dev-python/pygame[${PYTHON_USEDEP}]"
76 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
77
78 pkg_setup() {
79 python-single-r1_pkg_setup
80 games_pkg_setup
81 }
82
83 src_prepare() {
84 rm -f $(find . -name '*.pyc')
85 epatch "${FILESDIR}"/${P}-gentoo.patch
86 sed -i \
87 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${MY_PN}:" \
88 ${MY_PN}/tms.py \
89 .tms_config_master \
90 || die "sed failed"
91 python_fix_shebang .
92 }
93
94 src_install() {
95 newgamesbin ${PN}.py ${PN}
96
97 insinto $(python_get_sitedir)
98 doins -r ${MY_PN}
99
100 insinto "${GAMES_DATADIR}"/${MY_PN}
101 doins -r .tms_config_master Font
102
103 python_optimize
104
105 newicon tms.ico ${PN}.ico
106 make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico
107
108 dodoc CHANGES README
109 prepgamesdirs
110 }