Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-simulation/singularity: singularity-0.30c.ebuild singularity-0.30c-r1.ebuild ChangeLog
Date: Sat, 29 Jun 2013 11:32:04
Message-Id: 20130629113157.290302171C@flycatcher.gentoo.org
1 slyfox 13/06/29 11:31:57
2
3 Modified: singularity-0.30c.ebuild ChangeLog
4 Added: singularity-0.30c-r1.ebuild
5 Log:
6 Ported to python-single-r1 (used funnyboat-1.5-r1 as an example). Added workaround to stable ebuild to run python2 (bug #381809 by Chris Mayo).
7
8 (Portage version: 2.2.0_alpha182_p1/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
9
10 Revision Changes Path
11 1.5 games-simulation/singularity/singularity-0.30c.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild?r1=1.4&r2=1.5
16
17 Index: singularity-0.30c.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- singularity-0.30c.ebuild 7 Feb 2013 22:16:13 -0000 1.4
24 +++ singularity-0.30c.ebuild 29 Jun 2013 11:31:56 -0000 1.5
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild,v 1.4 2013/02/07 22:16:13 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.30c.ebuild,v 1.5 2013/06/29 11:31:56 slyfox Exp $
30
31 EAPI=2
32 inherit eutils games
33 @@ -16,7 +16,8 @@
34 KEYWORDS="amd64 x86"
35 IUSE="+music"
36
37 -RDEPEND="dev-python/pygame
38 +RDEPEND="=dev-lang/python-2*
39 + dev-python/pygame
40 media-libs/sdl-mixer[vorbis]"
41 DEPEND="${RDEPEND}
42 app-arch/unzip"
43 @@ -31,7 +32,8 @@
44 if use music ; then
45 doins -r ../${MUSIC}/music || die "doins failed"
46 fi
47 - games_make_wrapper ${PN} "python ${PN}.py" "${GAMES_DATADIR}/${PN}"
48 + # uses python-2 style exceptions
49 + games_make_wrapper ${PN} "python2 ${PN}.py" "${GAMES_DATADIR}/${PN}"
50 dodoc README.txt TODO Changelog AUTHORS
51 prepgamesdirs
52 }
53
54
55
56 1.22 games-simulation/singularity/ChangeLog
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/ChangeLog?rev=1.22&view=markup
59 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/ChangeLog?rev=1.22&content-type=text/plain
60 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/ChangeLog?r1=1.21&r2=1.22
61
62 Index: ChangeLog
63 ===================================================================
64 RCS file: /var/cvsroot/gentoo-x86/games-simulation/singularity/ChangeLog,v
65 retrieving revision 1.21
66 retrieving revision 1.22
67 diff -u -r1.21 -r1.22
68 --- ChangeLog 7 Feb 2013 22:16:13 -0000 1.21
69 +++ ChangeLog 29 Jun 2013 11:31:56 -0000 1.22
70 @@ -1,6 +1,13 @@
71 # ChangeLog for games-simulation/singularity
72 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
73 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/ChangeLog,v 1.21 2013/02/07 22:16:13 ulm Exp $
74 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/ChangeLog,v 1.22 2013/06/29 11:31:56 slyfox Exp $
75 +
76 +*singularity-0.30c-r1 (29 Jun 2013)
77 +
78 + 29 Jun 2013; Sergei Trofimovich <slyfox@g.o>
79 + +singularity-0.30c-r1.ebuild, singularity-0.30c.ebuild:
80 + Ported to python-single-r1 (used funnyboat-1.5-r1 as an example). Added
81 + workaround to stable ebuild to run python2 (bug #381809 by Chris Mayo).
82
83 07 Feb 2013; Ulrich Müller <ulm@g.o> singularity-0.30c.ebuild:
84 Move Creative Commons licenses to shorter names.
85
86
87
88 1.1 games-simulation/singularity/singularity-0.30c-r1.ebuild
89
90 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/singularity-0.30c-r1.ebuild?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-simulation/singularity/singularity-0.30c-r1.ebuild?rev=1.1&content-type=text/plain
92
93 Index: singularity-0.30c-r1.ebuild
94 ===================================================================
95 # Copyright 1999-2013 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97 # $Header: /var/cvsroot/gentoo-x86/games-simulation/singularity/singularity-0.30c-r1.ebuild,v 1.1 2013/06/29 11:31:56 slyfox Exp $
98
99 EAPI=5
100 PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
101 inherit eutils python-single-r1 games
102
103 MUSIC=endgame-${PN}-music-006
104 DESCRIPTION="A simulation of a true AI. Go from computer to computer, pursued by the entire world"
105 HOMEPAGE="http://www.emhsoft.com/singularity/"
106 SRC_URI="http://endgame-singularity.googlecode.com/files/${P}-src.tar.gz
107 music? ( http://endgame-singularity.googlecode.com/files/${MUSIC}.zip )"
108
109 LICENSE="GPL-2 CC-BY-SA-2.5"
110 SLOT="0"
111 KEYWORDS="~amd64 ~x86"
112 IUSE="+music"
113 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
114
115 DEPEND="${PYTHON_DEPS}"
116 RDEPEND="${DEPEND}
117 dev-python/pygame[${PYTHON_USEDEP}]
118 media-libs/sdl-mixer[vorbis]"
119 DEPEND="${DEPEND}
120 app-arch/unzip"
121
122 pkg_setup() {
123 python-single-r1_pkg_setup
124 games_pkg_setup
125 }
126
127 src_prepare() {
128 rm -f code/{,*}/*.pyc data/*.html || die # Remove unecessary files
129 }
130
131 src_install() {
132 insinto "${GAMES_DATADIR}/${PN}"
133 doins -r code data ${PN}.py || die "doins failed"
134 python_optimize "${ED%/}/${GAMES_DATADIR}"/${PN}
135
136 if use music ; then
137 doins -r ../${MUSIC}/music || die "doins failed"
138 fi
139 games_make_wrapper ${PN} "${EPYTHON} ${PN}.py" "${GAMES_DATADIR}/${PN}"
140 dodoc README.txt TODO Changelog AUTHORS
141 prepgamesdirs
142 }