Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/monsterz: ChangeLog monsterz-0.7.1-r3.ebuild
Date: Mon, 26 Aug 2013 23:35:20
Message-Id: 20130826233512.315E62004C@flycatcher.gentoo.org
1 hasufell 13/08/26 23:35:12
2
3 Modified: ChangeLog
4 Added: monsterz-0.7.1-r3.ebuild
5 Log:
6 fix python handling wrt #482578
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.30 games-puzzle/monsterz/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/monsterz/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/monsterz/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/monsterz/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 19 Sep 2012 02:01:24 -0000 1.29
24 +++ ChangeLog 26 Aug 2013 23:35:11 -0000 1.30
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-puzzle/monsterz
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/ChangeLog,v 1.29 2012/09/19 02:01:24 mr_bones_ Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/ChangeLog,v 1.30 2013/08/26 23:35:11 hasufell Exp $
31 +
32 +*monsterz-0.7.1-r3 (26 Aug 2013)
33 +
34 + 26 Aug 2013; Julian Ospald <hasufell@g.o> +monsterz-0.7.1-r3.ebuild:
35 + fix python handling wrt #482578
36
37 19 Sep 2012; Michael Sterrett <mr_bones_@g.o> monsterz-0.7.1-r2.ebuild:
38 any mod support will do
39
40
41
42 1.1 games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: monsterz-0.7.1-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild,v 1.1 2013/08/26 23:35:12 hasufell Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python2_6 python2_7 )
55 inherit eutils games python-r1
56
57 DESCRIPTION="a little puzzle game, similar to the famous Bejeweled or Zookeeper"
58 HOMEPAGE="http://sam.zoy.org/projects/monsterz/"
59 SRC_URI="http://sam.zoy.org/projects/monsterz/${P}.tar.gz"
60
61 LICENSE="WTFPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
64 IUSE=""
65 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
66
67 RDEPEND="${PYTHON_DEPS}
68 dev-python/pygame[${PYTHON_USEDEP}]
69 media-libs/sdl-image[png]
70 media-libs/sdl-mixer[mod]"
71 DEPEND="${RDEPEND}"
72
73 src_prepare() {
74 epatch \
75 "${FILESDIR}"/${P}-gentoo.patch \
76 "${FILESDIR}"/${P}-64bit.patch \
77 "${FILESDIR}"/${P}-blit.patch
78 sed -i \
79 -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
80 monsterz.py || die "sed failed"
81 rm Makefile || die
82 }
83
84 src_install() {
85 insinto "${GAMES_DATADIR}"/${PN}
86 doins -r graphics sound
87 newgamesbin monsterz.py ${PN}
88 newicon graphics/icon.png ${PN}.png
89 make_desktop_entry ${PN} Monsterz
90 dodoc README AUTHORS TODO
91 python_replicate_script "${ED%/}${GAMES_BINDIR}"/monsterz
92 prepgamesdirs
93 }