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-engines/renpy: renpy-6.15.5.ebuild ChangeLog renpy-6.15.3.ebuild
Date: Wed, 05 Jun 2013 12:27:37
Message-Id: 20130605122729.D12232171D@flycatcher.gentoo.org
1 hasufell 13/06/05 12:27:29
2
3 Modified: ChangeLog
4 Added: renpy-6.15.5.ebuild
5 Removed: renpy-6.15.3.ebuild
6 Log:
7 version bump, remove old
8
9 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.15 games-engines/renpy/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/renpy/ChangeLog?rev=1.15&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/renpy/ChangeLog?rev=1.15&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/renpy/ChangeLog?r1=1.14&r2=1.15
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-engines/renpy/ChangeLog,v
21 retrieving revision 1.14
22 retrieving revision 1.15
23 diff -u -r1.14 -r1.15
24 --- ChangeLog 26 May 2013 15:56:04 -0000 1.14
25 +++ ChangeLog 5 Jun 2013 12:27:29 -0000 1.15
26 @@ -1,6 +1,13 @@
27 # ChangeLog for games-engines/renpy
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/ChangeLog,v 1.14 2013/05/26 15:56:04 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/ChangeLog,v 1.15 2013/06/05 12:27:29 hasufell Exp $
31 +
32 +*renpy-6.15.5 (05 Jun 2013)
33 +
34 + 05 Jun 2013; Julian Ospald <hasufell@g.o> -renpy-6.15.3.ebuild,
35 + -files/renpy-6.15.3-multiple-abi.patch, +renpy-6.15.5.ebuild,
36 + +files/renpy-6.15.5-multiple-abi.patch:
37 + version bump, remove old
38
39 26 May 2013; Agostino Sarubbo <ago@g.o> renpy-6.14.1-r1.ebuild:
40 Stable for x86, wrt bug #470726
41
42
43
44 1.1 games-engines/renpy/renpy-6.15.5.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/renpy/renpy-6.15.5.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-engines/renpy/renpy-6.15.5.ebuild?rev=1.1&content-type=text/plain
48
49 Index: renpy-6.15.5.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/games-engines/renpy/renpy-6.15.5.ebuild,v 1.1 2013/06/05 12:27:29 hasufell Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_6 python2_7 )
57 DISTUTILS_IN_SOURCE_BUILD=1
58 inherit eutils toolchain-funcs python-r1 versionator gnome2-utils games distutils-r1
59
60 DESCRIPTION="Visual novel engine written in python"
61 HOMEPAGE="http://www.renpy.org"
62 SRC_URI="http://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
63
64 LICENSE="MIT"
65 SLOT="$(get_version_component_range 1-2)"
66 MYSLOT=$(delete_all_version_separators ${SLOT})
67 KEYWORDS="~amd64 ~x86"
68 IUSE="development doc examples"
69 REQUIRED_USE="examples? ( development )"
70
71 RDEPEND="
72 >=app-admin/eselect-renpy-0.2
73 dev-libs/fribidi
74 dev-python/pygame[X,${PYTHON_USEDEP}]
75 >=dev-python/python-exec-0.3[${PYTHON_USEDEP}]
76 media-libs/glew
77 media-libs/libpng:0
78 media-libs/libsdl[X,video]
79 media-libs/freetype:2
80 sys-libs/zlib
81 virtual/ffmpeg
82 virtual/python-argparse[${PYTHON_USEDEP}]"
83 DEPEND="${RDEPEND}
84 virtual/pkgconfig"
85
86 S=${WORKDIR}/${P}-source
87
88 pkg_setup() {
89 games_pkg_setup
90 export CFLAGS="${CFLAGS} $($(tc-getPKG_CONFIG) --cflags fribidi)"
91 }
92
93 python_prepare_all() {
94 # wooosh! this should fix multiple abi
95 epatch "${FILESDIR}"/${P}-multiple-abi.patch
96
97 einfo "Deleting precompiled python files"
98 find . -name '*.py[co]' -print -delete || die
99
100 sed -i \
101 -e "s/@SLOT@/${MYSLOT}/" \
102 renpy.py renpy/common.py || die "setting slot failed!"
103
104 distutils-r1_python_prepare_all
105 }
106
107 python_compile() {
108 cd "${S}"/module || die
109 distutils-r1_python_compile
110 }
111
112 python_install() {
113 cd "${S}"/module || die
114 distutils-r1_python_install --install-lib="$(python_get_sitedir)/renpy${MYSLOT}"
115
116 cd "${S}" || die
117 python_scriptinto "${GAMES_BINDIR}"
118 python_newscript renpy.py ${PN}-${SLOT}
119
120 python_moduleinto renpy${MYSLOT}
121 python_domodule renpy
122 if use development ; then
123 python_domodule launcher template
124 fi
125 if use examples ; then
126 python_domodule the_question tutorial
127 fi
128 }
129
130 python_install_all() {
131 if use development; then
132 newicon -s 32 launcher/game/logo32.png ${P}.png
133 make_desktop_entry ${PN}-${SLOT} "Ren'Py ${PV}" ${P}
134 fi
135
136 if use doc; then
137 dohtml -r doc
138 fi
139
140 prepgamesdirs
141 }
142
143 pkg_preinst() {
144 games_pkg_preinst
145 use development && gnome2_icon_savelist
146 }
147
148 pkg_postinst() {
149 games_pkg_postinst
150 use development && gnome2_icon_cache_update
151
152 einfo "running: eselect renpy update --if-unset"
153 eselect renpy update --if-unset
154 }
155
156 pkg_postrm() {
157 use development && gnome2_icon_cache_update
158
159 einfo "running: eselect renpy update --if-unset"
160 eselect renpy update --if-unset
161 }