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.4.ebuild ChangeLog
Date: Mon, 02 Jul 2012 14:14:33
Message-Id: 20120702141420.29E312004B@flycatcher.gentoo.org
1 pesa 12/07/02 14:14:20
2
3 Modified: ChangeLog
4 Added: eric-4.5.4.ebuild
5 Log:
6 Bump eric:4 too.
7
8 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.179 dev-util/eric/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.179&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.179&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.178&r2=1.179
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
20 retrieving revision 1.178
21 retrieving revision 1.179
22 diff -u -r1.178 -r1.179
23 --- ChangeLog 28 Jun 2012 08:38:54 -0000 1.178
24 +++ ChangeLog 2 Jul 2012 14:14:20 -0000 1.179
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.178 2012/06/28 08:38:54 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.179 2012/07/02 14:14:20 pesa Exp $
30 +
31 +*eric-4.5.4 (02 Jul 2012)
32 +
33 + 02 Jul 2012; Davide Pesavento <pesa@g.o> +eric-4.5.4.ebuild:
34 + Bump eric:4 too.
35
36 *eric-5.2.3 (28 Jun 2012)
37
38
39
40
41 1.1 dev-util/eric/eric-4.5.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.5.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eric-4.5.4.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-4.5.4.ebuild,v 1.1 2012/07/02 14:14:20 pesa Exp $
51
52 EAPI="4"
53 PYTHON_DEPEND="2:2.6"
54 SUPPORT_PYTHON_ABIS="1"
55 # 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
56 RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython 2.7-pypy-*"
57
58 inherit eutils python
59
60 SLOT="4"
61 MY_PN="${PN}${SLOT}"
62 MY_PV="${PV/_pre/-snapshot-}"
63 MY_P="${MY_PN}-${MY_PV}"
64
65 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
66 HOMEPAGE="http://eric-ide.python-projects.org/"
67 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
68 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
69
70 LICENSE="GPL-3"
71 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
72 IUSE="kde spell"
73
74 DEPEND="
75 >=dev-python/sip-4.12.4
76 >=dev-python/PyQt4-4.6[assistant,svg,webkit,X]
77 >=dev-python/qscintilla-python-2.3
78 kde? ( kde-base/pykde4 )
79 "
80 RDEPEND="${DEPEND}
81 >=dev-python/chardet-2.0.1
82 >=dev-python/coverage-3.0.1
83 >=dev-python/pygments-1.3.1
84 "
85 PDEPEND="
86 spell? ( dev-python/pyenchant )
87 "
88
89 LANGS="cs de en es fr it ru tr zh_CN"
90 for L in ${LANGS}; do
91 SRC_URI+=" linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
92 IUSE+=" linguas_${L}"
93 done
94 unset L
95
96 S=${WORKDIR}/${MY_P}
97
98 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
99
100 src_prepare() {
101 epatch "${FILESDIR}/eric-4.4-no-interactive.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 sed -i -e '\|/coverage/|d' eric/${MY_PN}.e4p || die
109 sed -i -e 's/from DebugClients\.Python3\?\.coverage /from coverage /' \
110 $(grep -lr 'from DebugClients\.Python3\?\.coverage' .) || die
111 }
112
113 src_install() {
114 installation() {
115 "$(PYTHON)" install.py \
116 -z \
117 -b "${EPREFIX}/usr/bin" \
118 -i "${T}/images/${PYTHON_ABI}" \
119 -d "${EPREFIX}$(python_get_sitedir)" \
120 -c
121 }
122 python_execute_function installation
123 python_merge_intermediate_installation_images "${T}/images"
124
125 doicon eric/icons/default/eric.png || die
126 make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
127 }
128
129 pkg_postinst() {
130 python_mod_optimize ${MY_PN}{,config.py,plugins}
131
132 elog
133 elog "If you want to use Eric with mod_python, have a look at"
134 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
135 elog
136 elog "The following packages will give Eric extended functionality:"
137 elog " dev-python/pylint"
138 elog " dev-python/pysvn"
139 elog
140 elog "This version has a plugin interface with plugin-autofetch from"
141 elog "the application itself. You may want to check those as well."
142 elog
143 }
144
145 pkg_postrm() {
146 python_mod_cleanup ${MY_PN}{,config.py,plugins}
147 }