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.3.7.ebuild eric-4.5.15.ebuild ChangeLog eric-5.3.5.ebuild
Date: Tue, 01 Oct 2013 22:17:21
Message-Id: 20131001221714.833942004C@flycatcher.gentoo.org
1 pesa 13/10/01 22:17:14
2
3 Modified: ChangeLog
4 Added: eric-5.3.7.ebuild eric-4.5.15.ebuild
5 Removed: eric-5.3.5.ebuild
6 Log:
7 Version bumps.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
10
11 Revision Changes Path
12 1.203 dev-util/eric/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.203&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.203&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.202&r2=1.203
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
21 retrieving revision 1.202
22 retrieving revision 1.203
23 diff -u -r1.202 -r1.203
24 --- ChangeLog 27 Aug 2013 08:31:18 -0000 1.202
25 +++ ChangeLog 1 Oct 2013 22:17:14 -0000 1.203
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-util/eric
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.202 2013/08/27 08:31:18 pesa Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.203 2013/10/01 22:17:14 pesa Exp $
31 +
32 +*eric-5.3.7 (01 Oct 2013)
33 +*eric-4.5.15 (01 Oct 2013)
34 +
35 + 01 Oct 2013; Davide Pesavento <pesa@g.o> +eric-4.5.15.ebuild,
36 + +eric-5.3.7.ebuild, -eric-5.3.5.ebuild:
37 + Version bumps.
38
39 *eric-5.3.6 (27 Aug 2013)
40 *eric-4.5.14 (27 Aug 2013)
41
42
43
44 1.1 dev-util/eric/eric-5.3.7.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.3.7.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.3.7.ebuild?rev=1.1&content-type=text/plain
48
49 Index: eric-5.3.7.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/dev-util/eric/eric-5.3.7.ebuild,v 1.1 2013/10/01 22:17:14 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.9.6-r1[X,help,sql,svg,webkit]
79 >=dev-python/qscintilla-python-2.6
80 "
81 RDEPEND="${DEPEND}
82 >=dev-python/chardet-2.0.1
83 >=dev-python/coverage-3.2
84 >=dev-python/pygments-1.5
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 # Fix desktop files (bug 458092).
120 sed -i -e '/^Categories=/s:Python:X-&:' eric/eric5{,_webbrowser}.desktop || die
121 }
122
123 src_install() {
124 installation() {
125 "$(PYTHON)" install.py \
126 -z \
127 -b "${EPREFIX}/usr/bin" \
128 -i "${T}/images/${PYTHON_ABI}" \
129 -d "${EPREFIX}$(python_get_sitedir)" \
130 -c
131 }
132 python_execute_function installation
133 python_merge_intermediate_installation_images "${T}/images"
134
135 doicon eric/icons/default/${MY_PN}.png || die
136 }
137
138 pkg_postinst() {
139 python_mod_optimize -x "/eric5/(DebugClients/Python|UtilitiesPython2)/" ${MY_PN}{,config.py,plugins}
140
141 elog
142 elog "If you want to use Eric with mod_python, have a look at"
143 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
144 elog
145 elog "The following packages will give Eric extended functionality:"
146 elog " dev-python/pylint"
147 elog " dev-python/pysvn"
148 elog
149 elog "This version has a plugin interface with plugin-autofetch from"
150 elog "the application itself. You may want to check those as well."
151 elog
152 }
153
154 pkg_postrm() {
155 python_mod_cleanup ${MY_PN}{,config.py,plugins}
156 }
157
158
159
160 1.1 dev-util/eric/eric-4.5.15.ebuild
161
162 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.15.ebuild?rev=1.1&view=markup
163 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.15.ebuild?rev=1.1&content-type=text/plain
164
165 Index: eric-4.5.15.ebuild
166 ===================================================================
167 # Copyright 1999-2013 Gentoo Foundation
168 # Distributed under the terms of the GNU General Public License v2
169 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.5.15.ebuild,v 1.1 2013/10/01 22:17:14 pesa Exp $
170
171 EAPI="4"
172 PYTHON_DEPEND="2:2.6"
173 SUPPORT_PYTHON_ABIS="1"
174 # 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
175 RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
176
177 inherit eutils python
178
179 SLOT="4"
180 MY_PN="${PN}${SLOT}"
181 MY_PV="${PV/_pre/-snapshot-}"
182 MY_P="${MY_PN}-${MY_PV}"
183
184 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
185 HOMEPAGE="http://eric-ide.python-projects.org/"
186 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
187 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
188
189 LICENSE="GPL-3"
190 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
191 IUSE="kde spell"
192
193 DEPEND="
194 >=dev-python/sip-4.12.4
195 >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit]
196 >=dev-python/qscintilla-python-2.3
197 kde? ( kde-base/pykde4 )
198 "
199 RDEPEND="${DEPEND}
200 >=dev-python/chardet-2.0.1
201 >=dev-python/coverage-3.0.1
202 >=dev-python/pygments-1.3.1
203 "
204 PDEPEND="
205 spell? ( dev-python/pyenchant )
206 "
207
208 LANGS="cs de en es fr it ru tr zh_CN"
209 for L in ${LANGS}; do
210 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
211 IUSE+=" linguas_${L}"
212 done
213 unset L
214
215 S=${WORKDIR}/${MY_P}
216
217 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
218
219 src_prepare() {
220 epatch "${FILESDIR}/eric-4.5-no-interactive.patch"
221 use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
222
223 # Delete internal copies of dev-python/chardet, dev-python/coverage,
224 # dev-python/pygments and dev-python/simplejson.
225 rm -fr eric/ThirdParty
226 rm -fr eric/DebugClients/Python{,3}/coverage
227 sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
228 sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
229 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
230 }
231
232 src_install() {
233 installation() {
234 "$(PYTHON)" install.py \
235 -z \
236 -b "${EPREFIX}/usr/bin" \
237 -i "${T}/images/${PYTHON_ABI}" \
238 -d "${EPREFIX}$(python_get_sitedir)" \
239 -c
240 }
241 python_execute_function installation
242 python_merge_intermediate_installation_images "${T}/images"
243
244 doicon eric/icons/default/eric.png || die
245 make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
246 }
247
248 pkg_postinst() {
249 python_mod_optimize ${MY_PN}{,config.py,plugins}
250
251 elog
252 elog "If you want to use Eric with mod_python, have a look at"
253 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
254 elog
255 elog "The following packages will give Eric extended functionality:"
256 elog " dev-python/pylint"
257 elog " dev-python/pysvn"
258 elog
259 elog "This version has a plugin interface with plugin-autofetch from"
260 elog "the application itself. You may want to check those as well."
261 elog
262 }
263
264 pkg_postrm() {
265 python_mod_cleanup ${MY_PN}{,config.py,plugins}
266 }