Gentoo Archives: gentoo-commits

From: "Davide Pesavento (pesa)" <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric: eric-5.2.2.ebuild eric-4.5.3.ebuild ChangeLog eric-5.2.1.ebuild eric-4.5.2.ebuild
Date: Wed, 02 May 2012 23:18:27
Message-Id: 20120502231807.34E582004B@flycatcher.gentoo.org
1 pesa 12/05/02 23:18:07
2
3 Modified: ChangeLog
4 Added: eric-5.2.2.ebuild eric-4.5.3.ebuild
5 Removed: eric-5.2.1.ebuild eric-4.5.2.ebuild
6 Log:
7 Version bumps.
8
9 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.173 dev-util/eric/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.173&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.173&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.172&r2=1.173
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
21 retrieving revision 1.172
22 retrieving revision 1.173
23 diff -u -r1.172 -r1.173
24 --- ChangeLog 30 Apr 2012 14:37:32 -0000 1.172
25 +++ ChangeLog 2 May 2012 23:18:07 -0000 1.173
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-util/eric
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.172 2012/04/30 14:37:32 pesa Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.173 2012/05/02 23:18:07 pesa Exp $
31 +
32 +*eric-5.2.2 (02 May 2012)
33 +*eric-4.5.3 (02 May 2012)
34 +
35 + 02 May 2012; Davide Pesavento <pesa@g.o> +eric-4.5.3.ebuild,
36 + +eric-5.2.2.ebuild, -eric-4.5.2.ebuild, -eric-5.2.1.ebuild:
37 + Version bumps.
38
39 30 Apr 2012; Davide Pesavento <pesa@g.o> eric-4.5.0.ebuild:
40 Also stabilize 4.5.0 on amd64, ack'ed by ago on irc.
41
42
43
44 1.1 dev-util/eric/eric-5.2.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.2.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.2.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: eric-5.2.2.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.2.2.ebuild,v 1.1 2012/05/02 23:18:07 pesa Exp $
54
55 EAPI="4"
56 PYTHON_DEPEND="3:3.1"
57 SUPPORT_PYTHON_ABIS="1"
58 RESTRICT_PYTHON_ABIS="2.* *-jython 2.7-pypy-*"
59
60 inherit eutils python
61
62 SLOT="5"
63 MY_PN="${PN}${SLOT}"
64 MY_PV="${PV/_pre/-snapshot-}"
65 MY_P="${MY_PN}-${MY_PV}"
66
67 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
68 HOMEPAGE="http://eric-ide.python-projects.org/"
69 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
70 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
71
72 LICENSE="GPL-3"
73 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
74 IUSE="spell"
75
76 DEPEND="
77 >=dev-python/sip-4.12.4
78 >=dev-python/PyQt4-4.8[assistant,svg,webkit,X]
79 >=dev-python/qscintilla-python-2.4
80 "
81 RDEPEND="${DEPEND}
82 >=dev-python/chardet-2.0.1
83 >=dev-python/coverage-3.2
84 >=dev-python/pygments-1.4
85 "
86 PDEPEND="
87 spell? ( dev-python/pyenchant )
88 "
89
90 LANGS="cs de en es fr it ru tr zh_CN"
91 for L in ${LANGS}; do
92 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
93 IUSE+=" linguas_${L}"
94 done
95 unset L
96
97 S=${WORKDIR}/${MY_P}
98
99 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
100
101 src_prepare() {
102 # Avoid file collisions between different slots of Eric.
103 sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die
104 sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" \
105 -i $(grep -lr "eric\.png" .) || die
106 mv eric/icons/default/eric{,5}.png || die
107 mv eric/pixmaps/eric{,5}.png || die
108 rm -f eric/APIs/Python/zope-*.api
109 rm -f eric/APIs/Ruby/Ruby-*.api
110
111 # Delete internal copies of dev-python/chardet,
112 # dev-python/coverage and dev-python/pygments.
113 rm -fr eric/ThirdParty
114 rm -fr eric/DebugClients/Python{,3}/coverage
115 sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
116 sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
117 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
118 }
119
120 src_install() {
121 installation() {
122 "$(PYTHON)" install.py \
123 -z \
124 -b "${EPREFIX}/usr/bin" \
125 -i "${T}/images/${PYTHON_ABI}" \
126 -d "${EPREFIX}$(python_get_sitedir)" \
127 -c
128 }
129 python_execute_function installation
130 python_merge_intermediate_installation_images "${T}/images"
131
132 doicon eric/icons/default/${MY_PN}.png || die
133 }
134
135 pkg_postinst() {
136 python_mod_optimize -x "/eric5/(DebugClients/Python|UtilitiesPython2)/" ${MY_PN}{,config.py,plugins}
137
138 elog
139 elog "If you want to use Eric with mod_python, have a look at"
140 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
141 elog
142 elog "The following packages will give Eric extended functionality:"
143 elog " dev-python/pylint"
144 elog " dev-python/pysvn"
145 elog
146 elog "This version has a plugin interface with plugin-autofetch from"
147 elog "the application itself. You may want to check those as well."
148 elog
149 }
150
151 pkg_postrm() {
152 python_mod_cleanup ${MY_PN}{,config.py,plugins}
153 }
154
155
156
157 1.1 dev-util/eric/eric-4.5.3.ebuild
158
159 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.3.ebuild?rev=1.1&view=markup
160 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.3.ebuild?rev=1.1&content-type=text/plain
161
162 Index: eric-4.5.3.ebuild
163 ===================================================================
164 # Copyright 1999-2012 Gentoo Foundation
165 # Distributed under the terms of the GNU General Public License v2
166 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.5.3.ebuild,v 1.1 2012/05/02 23:18:07 pesa Exp $
167
168 EAPI="4"
169 PYTHON_DEPEND="2:2.6"
170 SUPPORT_PYTHON_ABIS="1"
171 # 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
172 RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
173
174 inherit eutils python
175
176 SLOT="4"
177 MY_PN="${PN}${SLOT}"
178 MY_PV="${PV/_pre/-snapshot-}"
179 MY_P="${MY_PN}-${MY_PV}"
180
181 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
182 HOMEPAGE="http://eric-ide.python-projects.org/"
183 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
184 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
185
186 LICENSE="GPL-3"
187 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
188 IUSE="kde spell"
189
190 DEPEND="
191 >=dev-python/sip-4.12.4
192 >=dev-python/PyQt4-4.6[assistant,svg,webkit,X]
193 >=dev-python/qscintilla-python-2.3
194 kde? ( kde-base/pykde4 )
195 "
196 RDEPEND="${DEPEND}
197 >=dev-python/chardet-2.0.1
198 >=dev-python/coverage-3.0.1
199 >=dev-python/pygments-1.3.1
200 "
201 PDEPEND="
202 spell? ( dev-python/pyenchant )
203 "
204
205 LANGS="cs de en es fr it ru tr zh_CN"
206 for L in ${LANGS}; do
207 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
208 IUSE+=" linguas_${L}"
209 done
210 unset L
211
212 S=${WORKDIR}/${MY_P}
213
214 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
215
216 src_prepare() {
217 epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
218 use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
219
220 # Delete internal copies of dev-python/chardet, dev-python/coverage,
221 # dev-python/pygments and dev-python/simplejson.
222 rm -fr eric/ThirdParty
223 rm -fr eric/DebugClients/Python{,3}/coverage
224 sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
225 sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
226 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
227 }
228
229 src_install() {
230 installation() {
231 "$(PYTHON)" install.py \
232 -z \
233 -b "${EPREFIX}/usr/bin" \
234 -i "${T}/images/${PYTHON_ABI}" \
235 -d "${EPREFIX}$(python_get_sitedir)" \
236 -c
237 }
238 python_execute_function installation
239 python_merge_intermediate_installation_images "${T}/images"
240
241 doicon eric/icons/default/eric.png || die
242 make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
243 }
244
245 pkg_postinst() {
246 python_mod_optimize ${MY_PN}{,config.py,plugins}
247
248 elog
249 elog "If you want to use Eric with mod_python, have a look at"
250 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
251 elog
252 elog "The following packages will give Eric extended functionality:"
253 elog " dev-python/pylint"
254 elog " dev-python/pysvn"
255 elog
256 elog "This version has a plugin interface with plugin-autofetch from"
257 elog "the application itself. You may want to check those as well."
258 elog
259 }
260
261 pkg_postrm() {
262 python_mod_cleanup ${MY_PN}{,config.py,plugins}
263 }