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