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-action/accelerator3d: accelerator3d-0.1.1-r2.ebuild ChangeLog
Date: Sun, 01 Dec 2013 17:02:57
Message-Id: 20131201170252.8ABFE2004B@flycatcher.gentoo.org
1 hasufell 13/12/01 17:02:52
2
3 Modified: ChangeLog
4 Added: accelerator3d-0.1.1-r2.ebuild
5 Log:
6 convert to python-r1
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.10 games-action/accelerator3d/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/accelerator3d/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/accelerator3d/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/accelerator3d/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 26 Feb 2012 14:55:15 -0000 1.9
24 +++ ChangeLog 1 Dec 2013 17:02:52 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-action/accelerator3d
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.9 2012/02/26 14:55:15 tupone Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/ChangeLog,v 1.10 2013/12/01 17:02:52 hasufell Exp $
31 +
32 +*accelerator3d-0.1.1-r2 (01 Dec 2013)
33 +
34 + 01 Dec 2013; Julian Ospald <hasufell@g.o>
35 + +accelerator3d-0.1.1-r2.ebuild:
36 + convert to python-r1
37
38 26 Feb 2012; Tupone Alfredo <tupone@g.o>
39 accelerator3d-0.1.1-r1.ebuild:
40
41
42
43 1.1 games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: accelerator3d-0.1.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-action/accelerator3d/accelerator3d-0.1.1-r2.ebuild,v 1.1 2013/12/01 17:02:52 hasufell Exp $
53
54 # TODO: convert dev-python/pyode wrt #493042
55
56 EAPI=5
57 PYTHON_COMPAT=( python2_6 python2_7 )
58 inherit eutils python-r1 games
59
60 DESCRIPTION="Fast-paced, 3D, first-person shoot/dodge-'em-up, in the vain of Tempest or n2o"
61 HOMEPAGE="http://accelerator3d.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/accelerator3d/accelerator-${PV}.tar.bz2"
63
64 LICENSE="Artistic"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
67 IUSE=""
68 REQUIRED_USE=${PYTHON_REQUIRED_USE}
69
70 RDEPEND="${PYTHON_DEPS}
71 dev-python/pyode
72 dev-python/pygame[${PYTHON_USEDEP}]
73 dev-python/pyopengl[${PYTHON_USEDEP}]"
74 DEPEND="${RDEPEND}"
75
76 S=${WORKDIR}/${PN}
77
78 src_prepare() {
79 epatch \
80 "${FILESDIR}"/${P}-gentoo-paths.patch \
81 "${FILESDIR}"/${P}-gllightmodel.patch
82 sed -i \
83 -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
84 accelerator.py || die
85 }
86
87 src_install() {
88 python_scriptinto "${GAMES_BINDIR}"
89 python_foreach_impl python_newscript accelerator.py accelerator
90 insinto "${GAMES_DATADIR}"/${PN}
91 doins gfx/* snd/* || die "doins failed"
92 dodoc CHANGELOG README
93 make_desktop_entry accelerator
94
95 prepgamesdirs
96 }