Gentoo Archives: gentoo-commits

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