Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/whichwayisup: whichwayisup-0.7.9-r1.ebuild ChangeLog
Date: Thu, 01 Jan 2015 21:40:19
Message-Id: 20150101214014.A1BADEAA0@oystercatcher.gentoo.org
1 mr_bones_ 15/01/01 21:40:14
2
3 Modified: ChangeLog
4 Added: whichwayisup-0.7.9-r1.ebuild
5 Log:
6 EAPI=5; use python-single-r1
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.20 games-arcade/whichwayisup/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/whichwayisup/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 7 Feb 2013 22:07:08 -0000 1.19
24 +++ ChangeLog 1 Jan 2015 21:40:14 -0000 1.20
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-arcade/whichwayisup
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.19 2013/02/07 22:07:08 ulm Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.20 2015/01/01 21:40:14 mr_bones_ Exp $
31 +
32 +*whichwayisup-0.7.9-r1 (01 Jan 2015)
33 +
34 + 01 Jan 2015; Michael Sterrett <mr_bones_@g.o>
35 + +whichwayisup-0.7.9-r1.ebuild:
36 + EAPI=5; use python-single-r1
37
38 07 Feb 2013; Ulrich Müller <ulm@g.o> whichwayisup-0.7.9.ebuild:
39 Move Creative Commons licenses to shorter names.
40 @@ -73,4 +79,3 @@
41 13 Aug 2007; Santiago M. Mola <coldwind@g.o>
42 +files/whichwayisup-32.xpm, +metadata.xml, +whichwayisup-0.7.0.ebuild:
43 Initial ebuild. Thanks to Denilson.
44 -
45
46
47
48 1.1 games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: whichwayisup-0.7.9-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2015 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild,v 1.1 2015/01/01 21:40:14 mr_bones_ Exp $
58
59 EAPI=5
60 PYTHON_COMPAT=( python2_7 )
61 inherit eutils python-single-r1 games
62
63 MY_PV=${PV//./}
64 MY_P=${PN}_b${MY_PV}
65 DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist"
66 HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/"
67 SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip"
68
69 LICENSE="GPL-2 CC-BY-3.0"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~x86"
72 IUSE=""
73
74 RDEPEND="dev-python/pygame[${PYTHON_USEDEP}]
75 ${PYTHON_DEPS}"
76 DEPEND="${RDEPEND}
77 app-arch/unzip"
78 REQUIRED_USE=${PYTHON_REQUIRED_USE}
79
80 S=${WORKDIR}/${PN}
81
82 pkg_setup() {
83 python-single-r1_pkg_setup
84 games_pkg_setup
85 }
86
87 src_prepare() {
88 sed -i \
89 -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
90 run_game.py || die
91 sed -i \
92 -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
93 lib/data.py || die
94 rm data/pictures/Thumbs.db
95 python_fix_shebang .
96 }
97
98 src_install() {
99 newgamesbin run_game.py ${PN}
100
101 insinto "$(games_get_libdir)/${PN}"
102 doins lib/*.py
103
104 python_optimize "${D}$(games_get_libdir)/${PN}"
105
106 dodoc README.txt changelog.txt
107
108 insinto "${GAMES_DATADIR}/${PN}"
109 doins -r data/*
110
111 newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm
112 make_desktop_entry ${PN} "Which Way Is Up?"
113 prepgamesdirs
114 }