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-rpg/dragonhunt: dragonhunt-3.56-r1.ebuild ChangeLog
Date: Fri, 02 Jan 2015 08:02:54
Message-Id: 20150102080250.EF8BFEB2A@oystercatcher.gentoo.org
1 mr_bones_ 15/01/02 08:02:50
2
3 Modified: dragonhunt-3.56-r1.ebuild ChangeLog
4 Log:
5 tidy
6
7 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.3 games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild?r1=1.2&r2=1.3
15
16 Index: dragonhunt-3.56-r1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- dragonhunt-3.56-r1.ebuild 5 Sep 2013 19:44:42 -0000 1.2
23 +++ dragonhunt-3.56-r1.ebuild 2 Jan 2015 08:02:50 -0000 1.3
24 @@ -1,9 +1,9 @@
25 -# Copyright 1999-2013 Gentoo Foundation
26 +# Copyright 1999-2015 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild,v 1.2 2013/09/05 19:44:42 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56-r1.ebuild,v 1.3 2015/01/02 08:02:50 mr_bones_ Exp $
30
31 EAPI=5
32 -PYTHON_COMPAT=( python2_6 python2_7 )
33 +PYTHON_COMPAT=( python2_7 )
34 inherit eutils python-single-r1 games
35
36 MY_P="Dragon_Hunt-${PV}"
37 @@ -33,38 +33,34 @@
38 sed -i "s:\.\./modules/:${GAMES_DATADIR}/${PN}/:" \
39 code/g.py \
40 code/map_editor.py \
41 - code/rpg.py \
42 - || die "Could not change module path."
43 + code/rpg.py || die
44
45 # Where to look for keybinding
46 sed -i "s:\.\./settings:${GAMES_SYSCONFDIR}/${PN}/settings:" \
47 - code/g.py \
48 - || die "Could not change settings.txt directory"
49 + code/g.py || die
50
51 # Save games in ~/.${PN}/.
52 sed -i \
53 -e "s:^\(from os import.*\):\1\, environ:" \
54 -e "s:g.mod_dir.*\"/saves/\?\":environ[\"HOME\"] + \"/.${PN}/\":" \
55 - code/g.py code/loadgame.py \
56 - || die "Could not change savegames location."
57 + code/g.py code/loadgame.py || die
58
59 # Save maps in ~/.
60 sed -i \
61 -e "s:^\(from os import.*\):\1\, environ:" \
62 -e "s:g.mod_dir.*\"map\.txt\":environ[\"HOME\"]\ +\ \"/dh_map.txt\":" \
63 - code/map_editor.py \
64 - || die "Could not change map location."
65 + code/map_editor.py || die
66 }
67
68 src_install() {
69 insinto "${GAMES_DATADIR}"/${PN}
70 - doins -r modules/* || die "doins modules failed"
71 + doins -r modules/*
72
73 insinto "${GAMES_SYSCONFDIR}"/${PN}
74 - doins settings.txt || die "doins settings.txt failed"
75 + doins settings.txt
76
77 insinto "$(games_get_libdir)"/${PN}
78 - doins code/*.py || die "doins code failed"
79 + doins code/*.py
80
81 games_make_wrapper ${PN} "${EPYTHON} ./rpg.py" "$(games_get_libdir)"/${PN}
82 games_make_wrapper ${PN}-mapeditor "${EPYTHON} ./map_editor.py" \
83
84
85
86 1.10 games-rpg/dragonhunt/ChangeLog
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/ChangeLog?rev=1.10&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/ChangeLog?rev=1.10&content-type=text/plain
90 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/dragonhunt/ChangeLog?r1=1.9&r2=1.10
91
92 Index: ChangeLog
93 ===================================================================
94 RCS file: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v
95 retrieving revision 1.9
96 retrieving revision 1.10
97 diff -u -r1.9 -r1.10
98 --- ChangeLog 5 Sep 2013 19:44:42 -0000 1.9
99 +++ ChangeLog 2 Jan 2015 08:02:50 -0000 1.10
100 @@ -1,6 +1,10 @@
101 # ChangeLog for games-rpg/dragonhunt
102 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
103 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.9 2013/09/05 19:44:42 mgorny Exp $
104 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
105 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.10 2015/01/02 08:02:50 mr_bones_ Exp $
106 +
107 + 02 Jan 2015; Michael Sterrett <mr_bones_@g.o>
108 + dragonhunt-3.56-r1.ebuild:
109 + tidy
110
111 05 Sep 2013; Michał Górny <mgorny@g.o> dragonhunt-3.56-r1.ebuild:
112 Clean up PYTHON_COMPAT from old implementations.