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-simulation/qct: qct-0.7-r1.ebuild ChangeLog
Date: Thu, 01 Jan 2015 01:49:58
Message-Id: 20150101014951.E3986E9B3@oystercatcher.gentoo.org
1 mr_bones_ 15/01/01 01:49:51
2
3 Modified: ChangeLog
4 Added: qct-0.7-r1.ebuild
5 Log:
6 convert to python-single-r1; EAPI=5
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.9 games-simulation/qct/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 8 Apr 2010 08:48:11 -0000 1.8
24 +++ ChangeLog 1 Jan 2015 01:49:51 -0000 1.9
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-simulation/qct
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.8 2010/04/08 08:48:11 tupone Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/ChangeLog,v 1.9 2015/01/01 01:49:51 mr_bones_ Exp $
31 +
32 +*qct-0.7-r1 (01 Jan 2015)
33 +
34 + 01 Jan 2015; Michael Sterrett <mr_bones_@g.o> +qct-0.7-r1.ebuild:
35 + convert to python-single-r1; EAPI=5
36
37 08 Apr 2010; Tupone Alfredo <tupone@g.o> qct-0.7.ebuild:
38 Force use of python2 . Bug #312281 by arfrever@g.o
39 @@ -26,4 +31,3 @@
40 01 Apr 2004; Michael Sterrett <mr_bones_@g.o> metadata.xml,
41 qct-0.7.ebuild:
42 initial commit; ebuild submitted by Alexandru Toma via bug #46472
43 -
44
45
46
47 1.1 games-simulation/qct/qct-0.7-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: qct-0.7-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2015 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/games-simulation/qct/qct-0.7-r1.ebuild,v 1.1 2015/01/01 01:49:51 mr_bones_ Exp $
57
58 EAPI=5
59 PYTHON_COMPAT=( python2_7 )
60 inherit eutils python-single-r1 games
61
62 DESCRIPTION="Quiet Console Town puts you in the place of the mayor of a budding new console RPG city"
63 HOMEPAGE="http://packages.gentoo.org/package/games-simulation/qct"
64 SRC_URI="http://www.sourcefiles.org/Games/Role_Play/${P}.tar.gz"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ppc ~x86"
69 IUSE=""
70
71 DEPEND=">=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]"
72 RDEPEND=${RDEPEND}
73 REQUIRED_USE=${PYTHON_REQUIRED_USE}
74
75 S=${WORKDIR}/${PN}
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${P}-constant.patch
79 python_fix_shebang .
80 }
81
82 src_install() {
83 # Ug. Someone fix this to install in $(games_get_libdir)/${PN} instead
84 local destdir="${GAMES_DATADIR}/${PN}"
85 insinto "${destdir}"
86 exeinto "${destdir}"
87
88 dodoc README
89 doins *.py *.png
90 doexe qct.py
91
92 python_optimize "${D}${GAMES_DATADIR}/${PN}"
93
94 games_make_wrapper qct "./qct.py" "${destdir}"
95
96 prepgamesdirs
97 }
98
99 pkg_setup() {
100 python-single-r1_pkg_setup
101 games_pkg_setup
102 }