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