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