Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric: eric-4.4.11.ebuild ChangeLog
Date: Tue, 04 Jan 2011 21:44:09
Message-Id: 20110104214400.2D9BA2005C@flycatcher.gentoo.org
1 arfrever 11/01/04 21:44:00
2
3 Modified: ChangeLog
4 Added: eric-4.4.11.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha12_p8/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.145 dev-util/eric/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.145&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.145&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.144&r2=1.145
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
20 retrieving revision 1.144
21 retrieving revision 1.145
22 diff -u -r1.144 -r1.145
23 --- ChangeLog 6 Dec 2010 19:09:36 -0000 1.144
24 +++ ChangeLog 4 Jan 2011 21:44:00 -0000 1.145
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/eric
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.144 2010/12/06 19:09:36 arfrever Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.145 2011/01/04 21:44:00 arfrever Exp $
31 +
32 +*eric-4.4.11 (04 Jan 2011)
33 +
34 + 04 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + +eric-4.4.11.ebuild:
36 + Version bump.
37
38 *eric-5.0.4 (06 Dec 2010)
39
40
41
42
43 1.1 dev-util/eric/eric-4.4.11.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.4.11.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-4.4.11.ebuild?rev=1.1&content-type=text/plain
47
48 Index: eric-4.4.11.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.4.11.ebuild,v 1.1 2011/01/04 21:44:00 arfrever Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="2:2.6"
56 SUPPORT_PYTHON_ABIS="1"
57 # 2.4 and 2.5 are restricted to avoid conditional dependency on dev-python/simplejson.
58 RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
59
60 inherit eutils python
61
62 MY_PN="${PN}${PV%%.*}"
63 MY_PV="${PV/_pre/-snapshot-}"
64 MY_P="${MY_PN}-${MY_PV}"
65
66 DESCRIPTION="A full featured Python IDE using PyQt4 and QScintilla"
67 HOMEPAGE="http://eric-ide.python-projects.org/"
68 BASE_URI="mirror://sourceforge/eric-ide/${MY_PN}/stable/${PV}"
69 SRC_URI="${BASE_URI}/${MY_P}.tar.gz"
70
71 LICENSE="GPL-3"
72 SLOT="4"
73 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
74 IUSE="kde spell"
75
76 DEPEND="dev-python/PyQt4[assistant,svg,webkit,X]
77 dev-python/qscintilla-python
78 kde? ( kde-base/pykde4 )"
79 RDEPEND="${DEPEND}
80 >=dev-python/chardet-2.0
81 dev-python/coverage
82 >=dev-python/pygments-1.1"
83 PDEPEND="spell? ( dev-python/pyenchant )"
84
85 LANGS="cs de es fr it ru tr zh_CN"
86 for L in ${LANGS}; do
87 SRC_URI="${SRC_URI}
88 linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )"
89 IUSE="${IUSE} linguas_${L}"
90 done
91 unset L
92
93 S="${WORKDIR}/${MY_P}"
94
95 PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*")
96
97 src_prepare() {
98 epatch "${FILESDIR}/eric-4.4-no-interactive.patch"
99 epatch "${FILESDIR}/remove_coverage.patch"
100 use kde || epatch "${FILESDIR}/eric-4.4-no-pykde.patch"
101
102 # Delete internal copies of dev-python/chardet, dev-python/coverage, dev-python/pygments and dev-python/simplejson.
103 rm -fr eric/ThirdParty
104 rm -fr eric/DebugClients/Python{,3}/coverage
105 }
106
107 src_install() {
108 installation() {
109 "$(PYTHON)" install.py \
110 -z \
111 -b "${EPREFIX}/usr/bin" \
112 -i "${T}/images/${PYTHON_ABI}" \
113 -d "${EPREFIX}$(python_get_sitedir)" \
114 -c
115 }
116 python_execute_function installation
117 python_merge_intermediate_installation_images "${T}/images"
118
119 doicon eric/icons/default/eric.png || die "doicon failed"
120 make_desktop_entry "${MY_PN} --nosplash" ${MY_PN} eric "Development;IDE;Qt"
121 }
122
123 pkg_postinst() {
124 python_mod_optimize ${MY_PN}{,config.py,plugins}
125
126 elog
127 elog "If you want to use Eric with mod_python, have a look at"
128 elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"."
129 elog
130 elog "The following packages will give Eric extended functionality:"
131 elog " dev-python/pylint"
132 elog " dev-python/pysvn"
133 elog
134 elog "This version has a plugin interface with plugin-autofetch from"
135 elog "the application itself. You may want to check those as well."
136 elog
137 }
138
139 pkg_postrm() {
140 python_mod_cleanup ${MY_PN}{,config.py,plugins}
141 }