Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/eric: ChangeLog eric-4.2.3.ebuild
Date: Fri, 21 Nov 2008 14:22:33
Message-Id: E1L3Wty-00039Y-KM@stork.gentoo.org
1 yngwin 08/11/21 14:22:30
2
3 Modified: ChangeLog
4 Added: eric-4.2.3.ebuild
5 Log:
6 Version bump, with added es and tr linguas. Patch needed to not let install be interactive, due to minor problem with pyxml.
7 (Portage version: 2.2_rc14/cvs/Linux 2.6.27-hh5 i686)
8
9 Revision Changes Path
10 1.67 dev-util/eric/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 23 Oct 2008 20:41:17 -0000 1.66
23 +++ ChangeLog 21 Nov 2008 14:22:30 -0000 1.67
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-util/eric
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.66 2008/10/23 20:41:17 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.67 2008/11/21 14:22:30 yngwin Exp $
29 +
30 +*eric-4.2.3 (21 Nov 2008)
31 +
32 + 21 Nov 2008; Ben de Groot <yngwin@g.o>
33 + +files/4.2.3-no-interactive.patch, +eric-4.2.3.ebuild:
34 + Version bump, with added es and tr linguas. Patch needed to not let
35 + install be interactive, due to minor problem with pyxml.
36
37 23 Oct 2008; Peter Alfredsen <loki_val@g.o> eric-3.7.2-r1.ebuild:
38 Fix problem where installation would fail but src_install would succeed
39
40
41
42 1.1 dev-util/eric/eric-4.2.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/eric-4.2.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/eric-4.2.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: eric-4.2.3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.2.3.ebuild,v 1.1 2008/11/21 14:22:30 yngwin Exp $
52
53 NEED_PYTHON=2.4
54
55 inherit python eutils
56
57 MY_PN=${PN}4
58 MY_P=${MY_PN}-${PV}
59 DESCRIPTION="A full featured Python IDE that is written in PyQt4 using the QScintilla editor widget"
60 HOMEPAGE="http://www.die-offenbachs.de/eric/index.html"
61 SRC_URI="mirror://sourceforge/eric-ide/${MY_P}.tar.gz
62 linguas_cs? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-cs-${PV}.tar.gz )
63 linguas_de? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-de-${PV}.tar.gz )
64 linguas_es? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-es-${PV}.tar.gz )
65 linguas_fr? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-fr-${PV}.tar.gz )
66 linguas_ru? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-ru-${PV}.tar.gz )
67 linguas_tr? ( mirror://sourceforge/eric-ide/${MY_PN}-i18n-tr-${PV}.tar.gz )"
68
69 SLOT="4"
70 LICENSE="GPL-2"
71 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
72 IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_ru linguas_tr"
73
74 DEPEND="dev-python/PyQt4
75 >=dev-python/qscintilla-python-2.2"
76 RDEPEND="${DEPEND}"
77
78 S=${WORKDIR}/${MY_P}
79
80 LANGS="cs de es fr ru tr"
81
82 python_version
83
84 pkg_setup() {
85 if ! built_with_use 'dev-python/qscintilla-python' 'qt4'; then
86 eerror "Please build qscintilla-python with qt4 useflag."
87 die "qscintilla-python built without qt4."
88 fi
89 }
90
91 src_unpack() {
92 unpack ${A}
93 cd "${S}"
94 epatch "${FILESDIR}"/4.1.4-paths.patch
95 epatch "${FILESDIR}"/4.2.3-no-interactive.patch
96 }
97
98 src_install() {
99 # Change qt dir to be located in ${D}
100 dodir /usr/share/qt4/
101 ${python} install.py \
102 -z \
103 -b "/usr/bin" \
104 -i "${D}" \
105 -d "/usr/$(get_libdir)/python${PYVER}/site-packages" \
106 -c || die "python install.py failed"
107
108 make_desktop_entry "eric4 --nosplash" \
109 eric4 \
110 "/usr/$(get_libdir)/python${PYVER}/site-packages/eric4/icons/default/eric.png" \
111 "Development;IDE;Qt"
112 }
113
114 pkg_postinst() {
115 python_version
116 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/eric4{,plugins}
117 elog "If you want to use eric4 with mod_python, have a look at"
118 elog "\"${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric4/patch_modpython.py\"."
119 elog
120 elog "The following packages will give eric extended functionality."
121 elog
122 elog "dev-python/pylint"
123 elog "dev-python/pysvn (in sunrise overlay atm)"
124 elog
125 elog "This version has a new plugin interface with plugin-autofetch from"
126 elog "the App itself. You may want to check those as well"
127 }
128
129 pkg_postrm() {
130 python_mod_cleanup
131 }