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.3.3.ebuild ChangeLog
Date: Wed, 22 May 2013 09:49:24
Message-Id: 20130522094918.ADC332171D@flycatcher.gentoo.org
1 patrick 13/05/22 09:49:18
2
3 Modified: ChangeLog
4 Added: eric-5.3.3.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.196 dev-util/eric/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.196&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.196&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.195&r2=1.196
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
20 retrieving revision 1.195
21 retrieving revision 1.196
22 diff -u -r1.195 -r1.196
23 --- ChangeLog 22 May 2013 08:10:00 -0000 1.195
24 +++ ChangeLog 22 May 2013 09:49:18 -0000 1.196
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/eric
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.195 2013/05/22 08:10:00 kensington Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.196 2013/05/22 09:49:18 patrick Exp $
30 +
31 +*eric-5.3.3 (22 May 2013)
32 +
33 + 22 May 2013; Patrick Lauer <patrick@g.o> +eric-5.3.3.ebuild:
34 + Bump
35
36 22 May 2013; Michael Palimaka <kensington@g.o>
37 +files/eric-4.5-no-interactive.patch, eric-4.5.10.ebuild:
38
39
40
41 1.1 dev-util/eric/eric-5.3.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.3.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.3.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eric-5.3.3.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.3.3.ebuild,v 1.1 2013/05/22 09:49:18 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.9.6-r1[X,help,sql,svg,webkit]
76 >=dev-python/qscintilla-python-2.6
77 "
78 RDEPEND="${DEPEND}
79 >=dev-python/chardet-2.0.1
80 >=dev-python/coverage-3.2
81 >=dev-python/pygments-1.5
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 # Fix desktop files (bug 458092).
117 sed -i -e '/^Categories=/s:Python:X-&:' eric/eric5{,_webbrowser}.desktop || 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 }