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.5.17.ebuild eric-5.4.0_rc1.ebuild ChangeLog eric-4.5.16.ebuild
Date: Fri, 27 Dec 2013 01:54:57
Message-Id: 20131227015452.EE5492004C@flycatcher.gentoo.org
1 pesa 13/12/27 01:54:52
2
3 Modified: ChangeLog
4 Added: eric-4.5.17.ebuild eric-5.4.0_rc1.ebuild
5 Removed: eric-4.5.16.ebuild
6 Log:
7 Version bumps. Switch to python-single-r1 for 5.4 and raise some dependencies.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
10
11 Revision Changes Path
12 1.208 dev-util/eric/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.208&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.208&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.207&r2=1.208
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
21 retrieving revision 1.207
22 retrieving revision 1.208
23 diff -u -r1.207 -r1.208
24 --- ChangeLog 25 Dec 2013 19:35:34 -0000 1.207
25 +++ ChangeLog 27 Dec 2013 01:54:52 -0000 1.208
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.207 2013/12/25 19:35:34 pesa Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.208 2013/12/27 01:54:52 pesa Exp $
31 +
32 +*eric-5.4.0_rc1 (27 Dec 2013)
33 +*eric-4.5.17 (27 Dec 2013)
34 +
35 + 27 Dec 2013; Davide Pesavento <pesa@g.o> +eric-4.5.17.ebuild,
36 + +eric-5.4.0_rc1.ebuild, -eric-4.5.16.ebuild:
37 + Version bumps. Switch to python-single-r1 for 5.4 and raise some dependencies.
38
39 25 Dec 2013; Davide Pesavento <pesa@g.o> -eric-4.5.10.ebuild:
40 old
41
42
43
44 1.1 dev-util/eric/eric-4.5.17.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.17.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.17.ebuild?rev=1.1&content-type=text/plain
48
49 Index: eric-4.5.17.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-4.5.17.ebuild,v 1.1 2013/12/27 01:54:52 pesa Exp $
54
55 EAPI=4
56
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 2.7-pypy-*"
61
62 PLOCALES="cs de en es fr it ru tr zh_CN"
63
64 inherit eutils l10n python
65
66 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
67 HOMEPAGE="http://eric-ide.python-projects.org/"
68
69 SLOT="4"
70 MY_PV=${PV/_pre/-snapshot-}
71 MY_P=${PN}${SLOT}-${MY_PV}
72
73 BASE_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${PV}"
74 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
75 for L in ${PLOCALES}; do
76 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${PN}${SLOT}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
77 done
78 unset L
79
80 LICENSE="GPL-3"
81 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
82 IUSE="kde spell"
83
84 DEPEND="
85 >=dev-python/sip-4.12.4
86 >=dev-python/PyQt4-4.9.6-r1[X,help,svg,webkit]
87 >=dev-python/qscintilla-python-2.3
88 kde? ( kde-base/pykde4 )
89 "
90 RDEPEND="${DEPEND}
91 >=dev-python/chardet-2.0.1
92 >=dev-python/coverage-3.0.1
93 >=dev-python/pygments-1.3.1
94 "
95 PDEPEND="
96 spell? ( dev-python/pyenchant )
97 "
98
99 S=${WORKDIR}/${MY_P}
100
101 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
102
103 src_prepare() {
104 epatch "${FILESDIR}/eric-4.5-no-interactive.patch"
105 use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
106
107 # Delete internal copies of dev-python/chardet, dev-python/coverage,
108 # dev-python/pygments and dev-python/simplejson.
109 rm -fr eric/ThirdParty
110 rm -fr eric/DebugClients/Python{,3}/coverage
111 sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \
112 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
113 }
114
115 src_install() {
116 installation() {
117 "$(PYTHON)" install.py \
118 -z \
119 -b "${EPREFIX}/usr/bin" \
120 -i "${T}/images/${PYTHON_ABI}" \
121 -d "${EPREFIX}$(python_get_sitedir)" \
122 -c
123 }
124 python_execute_function installation
125 python_merge_intermediate_installation_images "${T}/images"
126
127 doicon eric/icons/default/eric.png || die
128 make_desktop_entry "eric4 --nosplash" eric4 eric "Development;IDE;Qt"
129 }
130
131 pkg_postinst() {
132 python_mod_optimize eric4{,config.py,plugins}
133
134 elog
135 elog "If you want to use Eric with mod_python, have a look at"
136 elog "\"${EROOT}$(python_get_sitedir -b -f)/eric4/patch_modpython.py\"."
137 elog
138 elog "The following packages will give Eric extended functionality:"
139 elog " dev-python/pylint"
140 elog " dev-python/pysvn"
141 elog
142 elog "This version has a plugin interface with plugin-autofetch from"
143 elog "the application itself. You may want to check those as well."
144 elog
145 }
146
147 pkg_postrm() {
148 python_mod_cleanup eric4{,config.py,plugins}
149 }
150
151
152
153 1.1 dev-util/eric/eric-5.4.0_rc1.ebuild
154
155 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.4.0_rc1.ebuild?rev=1.1&view=markup
156 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.4.0_rc1.ebuild?rev=1.1&content-type=text/plain
157
158 Index: eric-5.4.0_rc1.ebuild
159 ===================================================================
160 # Copyright 1999-2013 Gentoo Foundation
161 # Distributed under the terms of the GNU General Public License v2
162 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.4.0_rc1.ebuild,v 1.1 2013/12/27 01:54:52 pesa Exp $
163
164 EAPI=5
165
166 PYTHON_COMPAT=( python3_2 )
167 PYTHON_REQ_USE="sqlite,xml"
168 PLOCALES="cs de en es fr it ru tr zh_CN"
169
170 inherit eutils l10n python-single-r1
171
172 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
173 HOMEPAGE="http://eric-ide.python-projects.org/"
174
175 SLOT="5"
176 MY_PV=${PV/_rc/-RC}
177 MY_P=${PN}${SLOT}-${MY_PV}
178
179 BASE_URI="mirror://sourceforge/eric-ide/${PN}${SLOT}/stable/${MY_PV}"
180 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
181 for L in ${PLOCALES}; do
182 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${PN}${SLOT}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
183 done
184 unset L
185
186 LICENSE="GPL-3"
187 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
188 IUSE="spell"
189
190 DEPEND="
191 ${PYTHON_DEPS}
192 >=dev-python/sip-4.14.3[${PYTHON_USEDEP}]
193 >=dev-python/PyQt4-4.10[${PYTHON_USEDEP},X,help,sql,svg,webkit]
194 >=dev-python/qscintilla-python-2.7.1[${PYTHON_USEDEP}]
195 "
196 RDEPEND="${DEPEND}
197 >=dev-python/chardet-2.0.1[${PYTHON_USEDEP}]
198 >=dev-python/coverage-3.2[${PYTHON_USEDEP}]
199 >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
200 "
201 PDEPEND="
202 spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] )
203 "
204 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
205
206 S=${WORKDIR}/${MY_P}
207
208 src_prepare() {
209 # Avoid file collisions between different slots of Eric.
210 sed -i -e 's/^Icon=eric$/&5/' eric/eric5.desktop || die
211 sed -i -e 's/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/' \
212 $(grep -lr 'eric\.png' .) || die
213 mv eric/icons/default/eric{,5}.png || die
214 mv eric/pixmaps/eric{,5}.png || die
215 rm -f eric/APIs/Python/zope-*.api
216 rm -f eric/APIs/Ruby/Ruby-*.api
217
218 # Delete internal copies of dev-python/chardet,
219 # dev-python/coverage and dev-python/pygments.
220 rm -fr eric/ThirdParty/{CharDet,Pygments}
221 rm -fr eric/DebugClients/Python{,3}/coverage
222 sed -i -e 's/from DebugClients\.Python3\?\.coverage/from coverage/' \
223 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
224
225 # Fix desktop files (bug 458092).
226 sed -i -e '/^Categories=/s:Python:X-&:' eric/eric5{,_webbrowser}.desktop || die
227 }
228
229 src_install() {
230 "${PYTHON}" install.py \
231 -b "${EPREFIX}/usr/bin" \
232 -d "$(python_get_sitedir)" \
233 -i "${D}" \
234 -c \
235 -z \
236 || die
237
238 python_optimize
239
240 doicon eric/icons/default/eric5.png
241 dodoc changelog THANKS
242 }
243
244 pkg_postinst() {
245 elog "The following packages will give Eric extended functionality:"
246 elog " dev-python/cx_Freeze"
247 elog " dev-python/pylint"
248 elog " dev-python/pysvn"
249 elog " dev-vcs/mercurial"
250 elog
251 elog "This version has a plugin interface with plugin-autofetch from"
252 elog "the application itself. You may want to check those as well."
253 }