Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric: eric-5.2.3.ebuild ChangeLog
Date: Thu, 28 Jun 2012 08:39:12
Message-Id: 20120628083854.24ADC2004B@flycatcher.gentoo.org
1 patrick 12/06/28 08:38:54
2
3 Modified: ChangeLog
4 Added: eric-5.2.3.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.178 dev-util/eric/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.178&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.178&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.177&r2=1.178
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
20 retrieving revision 1.177
21 retrieving revision 1.178
22 diff -u -r1.177 -r1.178
23 --- ChangeLog 3 Jun 2012 17:50:58 -0000 1.177
24 +++ ChangeLog 28 Jun 2012 08:38:54 -0000 1.178
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/eric
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.177 2012/06/03 17:50:58 pesa Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.178 2012/06/28 08:38:54 patrick Exp $
30 +
31 +*eric-5.2.3 (28 Jun 2012)
32 +
33 + 28 Jun 2012; Patrick Lauer <patrick@g.o> +eric-5.2.3.ebuild:
34 + Bump
35
36 03 Jun 2012; Davide Pesavento <pesa@g.o> -eric-4.5.0.ebuild,
37 -eric-5.2.0.ebuild, eric-4.5.3.ebuild, eric-5.2.2.ebuild:
38
39
40
41 1.1 dev-util/eric/eric-5.2.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.2.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.2.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eric-5.2.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-5.2.3.ebuild,v 1.1 2012/06/28 08:38:54 patrick Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="3:3.1"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="2.* *-jython 2.7-pypy-*"
56
57 inherit eutils python
58
59 SLOT="5"
60 MY_PN="${PN}${SLOT}"
61 MY_PV="${PV/_pre/-snapshot-}"
62 MY_P="${MY_PN}-${MY_PV}"
63
64 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
65 HOMEPAGE="http://eric-ide.python-projects.org/"
66 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
67 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
68
69 LICENSE="GPL-3"
70 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
71 IUSE="spell"
72
73 DEPEND="
74 >=dev-python/sip-4.12.4
75 >=dev-python/PyQt4-4.8[assistant,svg,webkit,X]
76 >=dev-python/qscintilla-python-2.4
77 "
78 RDEPEND="${DEPEND}
79 >=dev-python/chardet-2.0.1
80 >=dev-python/coverage-3.2
81 >=dev-python/pygments-1.4
82 "
83 PDEPEND="
84 spell? ( dev-python/pyenchant )
85 "
86
87 LANGS="cs de en es fr it ru tr zh_CN"
88 for L in ${LANGS}; do
89 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
90 IUSE+=" linguas_${L}"
91 done
92 unset L
93
94 S=${WORKDIR}/${MY_P}
95
96 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
97
98 src_prepare() {
99 # Avoid file collisions between different slots of Eric.
100 sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die
101 sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" \
102 -i $(grep -lr "eric\.png" .) || die
103 mv eric/icons/default/eric{,5}.png || die
104 mv eric/pixmaps/eric{,5}.png || die
105 rm -f eric/APIs/Python/zope-*.api
106 rm -f eric/APIs/Ruby/Ruby-*.api
107
108 # Delete internal copies of dev-python/chardet,
109 # dev-python/coverage and dev-python/pygments.
110 rm -fr eric/ThirdParty
111 rm -fr eric/DebugClients/Python{,3}/coverage
112 sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
113 sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
114 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
115 }
116
117 src_install() {
118 installation() {
119 "$(PYTHON)" install.py \
120 -z \
121 -b "${EPREFIX}/usr/bin" \
122 -i "${T}/images/${PYTHON_ABI}" \
123 -d "${EPREFIX}$(python_get_sitedir)" \
124 -c
125 }
126 python_execute_function installation
127 python_merge_intermediate_installation_images "${T}/images"
128
129 doicon eric/icons/default/${MY_PN}.png || die
130 }
131
132 pkg_postinst() {
133 python_mod_optimize -x "/eric5/(DebugClients/Python|UtilitiesPython2)/" ${MY_PN}{,config.py,plugins}
134
135 elog
136 elog "If you want to use Eric with mod_python, have a look at"
137 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
138 elog
139 elog "The following packages will give Eric extended functionality:"
140 elog " dev-python/pylint"
141 elog " dev-python/pysvn"
142 elog
143 elog "This version has a plugin interface with plugin-autofetch from"
144 elog "the application itself. You may want to check those as well."
145 elog
146 }
147
148 pkg_postrm() {
149 python_mod_cleanup ${MY_PN}{,config.py,plugins}
150 }