1 |
arfrever 11/01/04 21:48:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: eric-5.0.5.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.146 dev-util/eric/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.146&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?rev=1.146&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/ChangeLog?r1=1.145&r2=1.146 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v |
20 |
retrieving revision 1.145 |
21 |
retrieving revision 1.146 |
22 |
diff -u -r1.145 -r1.146 |
23 |
--- ChangeLog 4 Jan 2011 21:44:00 -0000 1.145 |
24 |
+++ ChangeLog 4 Jan 2011 21:48:22 -0000 1.146 |
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.145 2011/01/04 21:44:00 arfrever Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.146 2011/01/04 21:48:22 arfrever Exp $ |
30 |
+ |
31 |
+*eric-5.0.5 (04 Jan 2011) |
32 |
+ |
33 |
+ 04 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 |
+ +eric-5.0.5.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*eric-4.4.11 (04 Jan 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/eric/eric-5.0.5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.0.5.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/eric/eric-5.0.5.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: eric-5.0.5.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-5.0.5.ebuild,v 1.1 2011/01/04 21:48:22 arfrever Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
PYTHON_DEPEND="3" |
55 |
SUPPORT_PYTHON_ABIS="1" |
56 |
RESTRICT_PYTHON_ABIS="2.* *-jython" |
57 |
|
58 |
inherit eutils python |
59 |
|
60 |
MY_PN="${PN}${PV%%.*}" |
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 |
SLOT="5" |
71 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
72 |
IUSE="spell" |
73 |
|
74 |
DEPEND=">=dev-python/PyQt4-4.7[assistant,svg,webkit,X] |
75 |
>=dev-python/qscintilla-python-2.4" |
76 |
RDEPEND="${DEPEND} |
77 |
>=dev-python/chardet-2.0.1 |
78 |
>=dev-python/coverage-3.2 |
79 |
>=dev-python/pygments-1.1.1" |
80 |
PDEPEND="spell? ( dev-python/pyenchant )" |
81 |
|
82 |
LANGS="cs de es it ru" |
83 |
for L in ${LANGS}; do |
84 |
SRC_URI="${SRC_URI} |
85 |
linguas_${L}? ( ${BASE_URI}/${MY_PN}-i18n-${L/zh_CN/zh_CN.GB2312}-${MY_PV}.tar.gz )" |
86 |
IUSE="${IUSE} linguas_${L}" |
87 |
done |
88 |
unset L |
89 |
|
90 |
S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
PYTHON_VERSIONED_EXECUTABLES=("/usr/bin/.*") |
93 |
|
94 |
src_prepare() { |
95 |
epatch "${FILESDIR}/${PN}-5.0.2-remove_coverage.patch" |
96 |
|
97 |
# Avoid file collisions between different slots of Eric. |
98 |
sed -e "s/^Icon=eric$/&${SLOT}/" -i eric/${MY_PN}.desktop || die "sed failed" |
99 |
sed -e "s/\([^[:alnum:]]\)eric\.png\([^[:alnum:]]\)/\1eric5.png\2/" -i $(grep -lr eric.png .) || die "sed failed" |
100 |
mv eric/icons/default/eric{,5}.png || die "mv failed" |
101 |
mv eric/pixmaps/eric{,5}.png || die "mv failed" |
102 |
rm -f eric/APIs/Python/zope-*.api |
103 |
rm -f eric/APIs/Ruby/Ruby-*.api |
104 |
|
105 |
# Delete internal copies of dev-python/chardet, dev-python/coverage and dev-python/pygments. |
106 |
rm -fr eric/ThirdParty |
107 |
rm -fr eric/DebugClients/Python{,3}/coverage |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
installation() { |
112 |
"$(PYTHON)" install.py \ |
113 |
-z \ |
114 |
-b "${EPREFIX}/usr/bin" \ |
115 |
-i "${T}/images/${PYTHON_ABI}" \ |
116 |
-d "${EPREFIX}$(python_get_sitedir)" \ |
117 |
-c |
118 |
} |
119 |
python_execute_function installation |
120 |
python_merge_intermediate_installation_images "${T}/images" |
121 |
|
122 |
doicon eric/icons/default/${MY_PN}.png || die "doicon failed" |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
python_mod_optimize -x "/eric5/DebugClients/Python/" ${MY_PN}{,config.py,plugins} |
127 |
|
128 |
elog |
129 |
elog "If you want to use Eric with mod_python, have a look at" |
130 |
elog "\"${EROOT}$(python_get_sitedir -b -f)/${MY_PN}/patch_modpython.py\"." |
131 |
elog |
132 |
elog "The following packages will give Eric extended functionality:" |
133 |
elog " dev-python/pylint" |
134 |
elog " dev-python/pysvn" |
135 |
elog |
136 |
elog "This version has a plugin interface with plugin-autofetch from" |
137 |
elog "the application itself. You may want to check those as well." |
138 |
elog |
139 |
} |
140 |
|
141 |
pkg_postrm() { |
142 |
python_mod_cleanup ${MY_PN}{,config.py,plugins} |
143 |
} |