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.3.6.ebuild ChangeLog
Date: Mon, 24 Aug 2009 20:21:56
Message-Id: E1Mfg38-0008UN-P0@stork.gentoo.org
1 arfrever 09/08/24 20:21:54
2
3 Modified: eric-4.3.6.ebuild ChangeLog
4 Log:
5 Set SUPPORT_PYTHON_ABIS. Update message in pkg_postinst() (bug #282589).
6 (Portage version: 14153-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-util/eric/eric-4.3.6.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild?r1=1.1&r2=1.2
14
15 Index: eric-4.3.6.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- eric-4.3.6.ebuild 1 Aug 2009 15:00:33 -0000 1.1
22 +++ eric-4.3.6.ebuild 24 Aug 2009 20:21:54 -0000 1.2
23 @@ -1,10 +1,12 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild,v 1.1 2009/08/01 15:00:33 hwoarang Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/eric-4.3.6.ebuild,v 1.2 2009/08/24 20:21:54 arfrever Exp $
28
29 EAPI="2"
30 -NEED_PYTHON=2.4
31 -inherit python eutils
32 +NEED_PYTHON="2.4"
33 +SUPPORT_PYTHON_ABIS="1"
34 +
35 +inherit eutils python
36
37 MY_PN=${PN}4
38 MY_P=${MY_PN}-${PV}
39 @@ -28,6 +30,8 @@
40 >=dev-python/qscintilla-python-2.2[qt4]"
41 RDEPEND="${DEPEND}"
42
43 +RESTRICT_PYTHON_ABIS="3*"
44 +
45 S=${WORKDIR}/${MY_P}
46
47 LANGS="cs de es fr ru tr"
48 @@ -40,14 +44,19 @@
49
50 src_install() {
51 # Change qt dir to be located in ${D}
52 - dodir /usr/share/qt4/
53 - ${python} install.py \
54 - -z \
55 - -b "/usr/bin" \
56 - -i "${D}" \
57 - -d "/usr/$(get_libdir)/python${PYVER}/site-packages" \
58 - -c || die "python install.py failed"
59 + dodir /usr/share/qt4
60
61 + installation() {
62 + "$(PYTHON)" install.py \
63 + -z \
64 + -b "/usr/bin" \
65 + -i "${D}" \
66 + -d "$(python_get_sitedir)" \
67 + -c
68 + }
69 + python_execute_function installation
70 +
71 + python_version
72 make_desktop_entry "eric4 --nosplash" \
73 eric4 \
74 "/usr/$(get_libdir)/python${PYVER}/site-packages/eric4/icons/default/eric.png" \
75 @@ -55,18 +64,18 @@
76 }
77
78 pkg_postinst() {
79 - python_version
80 - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/eric4{,plugins}
81 + python_mod_optimize eric4{,config.py,plugins}
82 + elog
83 elog "If you want to use eric4 with mod_python, have a look at"
84 elog "\"${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/eric4/patch_modpython.py\"."
85 elog
86 - elog "The following packages will give eric extended functionality."
87 - elog
88 - elog "dev-python/pylint"
89 - elog "dev-python/pysvn (in sunrise overlay atm)"
90 + elog "The following packages will give eric extended functionality:"
91 + elog " dev-python/pylint"
92 + elog " dev-python/pysvn"
93 elog
94 elog "This version has a plugin interface with plugin-autofetch from"
95 elog "the App itself. You may want to check those as well."
96 + elog
97 }
98
99 pkg_postrm() {
100
101
102
103 1.87 dev-util/eric/ChangeLog
104
105 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?rev=1.87&view=markup
106 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?rev=1.87&content-type=text/plain
107 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/eric/ChangeLog?r1=1.86&r2=1.87
108
109 Index: ChangeLog
110 ===================================================================
111 RCS file: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v
112 retrieving revision 1.86
113 retrieving revision 1.87
114 diff -u -r1.86 -r1.87
115 --- ChangeLog 1 Aug 2009 15:00:33 -0000 1.86
116 +++ ChangeLog 24 Aug 2009 20:21:54 -0000 1.87
117 @@ -1,6 +1,10 @@
118 # ChangeLog for dev-util/eric
119 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
120 -# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.86 2009/08/01 15:00:33 hwoarang Exp $
121 +# $Header: /var/cvsroot/gentoo-x86/dev-util/eric/ChangeLog,v 1.87 2009/08/24 20:21:54 arfrever Exp $
122 +
123 + 24 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
124 + eric-4.3.6.ebuild:
125 + Set SUPPORT_PYTHON_ABIS. Update message in pkg_postinst() (bug #282589).
126
127 *eric-4.3.6 (01 Aug 2009)