From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-kids/tuxmathscrabble: tuxmathscrabble-7.4-r1.ebuild ChangeLog |
Date: | Mon, 02 Feb 2015 17:24:20 |
Message-Id: | 20150202172416.B517B10E87@oystercatcher.gentoo.org |
1 | tupone 15/02/02 17:24:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: tuxmathscrabble-7.4-r1.ebuild |
5 | Log: |
6 | migrate to python-single-r1 |
7 | |
8 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D) |
9 | |
10 | Revision Changes Path |
11 | 1.20 games-kids/tuxmathscrabble/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.20&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?rev=1.20&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog?r1=1.19&r2=1.20 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v |
20 | retrieving revision 1.19 |
21 | retrieving revision 1.20 |
22 | diff -u -r1.19 -r1.20 |
23 | --- ChangeLog 4 Mar 2011 12:58:07 -0000 1.19 |
24 | +++ ChangeLog 2 Feb 2015 17:24:16 -0000 1.20 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for games-kids/tuxmathscrabble |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.19 2011/03/04 12:58:07 ranger Exp $ |
29 | +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/ChangeLog,v 1.20 2015/02/02 17:24:16 tupone Exp $ |
31 | + |
32 | +*tuxmathscrabble-7.4-r1 (02 Feb 2015) |
33 | + |
34 | + 02 Feb 2015; Tupone Alfredo <tupone@g.o> +tuxmathscrabble-7.4-r1.ebuild: |
35 | + Port to python-single-r1 class |
36 | |
37 | 04 Mar 2011; Brent Baude <ranger@g.o> tuxmathscrabble-7.4.ebuild: |
38 | stable ppc, bug 353821 |
39 | |
40 | |
41 | |
42 | 1.1 games-kids/tuxmathscrabble/tuxmathscrabble-7.4-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-7.4-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-7.4-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: tuxmathscrabble-7.4-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-kids/tuxmathscrabble/tuxmathscrabble-7.4-r1.ebuild,v 1.1 2015/02/02 17:24:16 tupone Exp $ |
52 | |
53 | EAPI=5 |
54 | PYTHON_COMPAT=( python2_7 ) |
55 | inherit eutils python-single-r1 multilib games |
56 | |
57 | MY_PN=TuxMathScrabble |
58 | MY_P=${PN}-0.${PV} |
59 | DESCRIPTION="math-version of the popular board game for children 4-10" |
60 | HOMEPAGE="http://www.asymptopia.org/" |
61 | SRC_URI="mirror://gentoo/${MY_P}.zip" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~ppc ~x86" |
66 | IUSE="" |
67 | |
68 | CDEPEND="${PYTHON_DEPS} |
69 | dev-python/wxpython[${PYTHON_USEDEP}]" |
70 | DEPEND="${CDEPEND} |
71 | app-arch/unzip" |
72 | RDEPEND="${CDEPEND} |
73 | dev-python/pygame[${PYTHON_USEDEP}]" |
74 | REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
75 | |
76 | S=${WORKDIR}/${MY_P} |
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 | } |