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