Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/gedit-plugins: gedit-plugins-3.2.1-r1.ebuild ChangeLog gedit-plugins-3.0.7.ebuild
Date: Thu, 03 Nov 2011 05:01:55
Message-Id: 20111103050145.CF5BB2004B@flycatcher.gentoo.org
1 tetromino 11/11/03 05:01:45
2
3 Modified: ChangeLog
4 Added: gedit-plugins-3.2.1-r1.ebuild
5 Removed: gedit-plugins-3.0.7.ebuild
6 Log:
7 Bump to 3.2.1 from the gnome overlay. Drop old. Move to EAPI4 and make sure to optimize the python files that the commander plugin installs in /usr/share.
8
9 (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.21 app-editors/gedit-plugins/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?rev=1.21&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?rev=1.21&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/ChangeLog?r1=1.20&r2=1.21
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v
21 retrieving revision 1.20
22 retrieving revision 1.21
23 diff -u -r1.20 -r1.21
24 --- ChangeLog 21 Oct 2011 13:02:47 -0000 1.20
25 +++ ChangeLog 3 Nov 2011 05:01:43 -0000 1.21
26 @@ -1,6 +1,14 @@
27 # ChangeLog for app-editors/gedit-plugins
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.20 2011/10/21 13:02:47 phajdan.jr Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.21 2011/11/03 05:01:43 tetromino Exp $
31 +
32 +*gedit-plugins-3.2.1-r1 (03 Nov 2011)
33 +
34 + 03 Nov 2011; Alexandre Rostovtsev <tetromino@g.o>
35 + -gedit-plugins-3.0.7.ebuild, +gedit-plugins-3.2.1-r1.ebuild:
36 + Bump to 3.2.1 from the gnome overlay. Drop old. Move to EAPI4 and make sure
37 + to optimize the python files that the commander plugin installs in
38 + /usr/share.
39
40 21 Oct 2011; Pawel Hajdan jr <phajdan.jr@g.o>
41 gedit-plugins-2.32.0.ebuild:
42
43
44
45 1.1 app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gedit-plugins-3.2.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.2.1-r1.ebuild,v 1.1 2011/11/03 05:01:43 tetromino Exp $
55
56 EAPI="4"
57 GCONF_DEBUG="no"
58 GNOME2_LA_PUNT="yes" # plugins are dlopened
59 PYTHON_DEPEND="python? 2:2.6"
60 PYTHON_USE_WITH="xml"
61 PYTHON_USE_WITH_OPT="python"
62
63 inherit gnome2 multilib python eutils
64
65 DESCRIPTION="Offical plugins for gedit"
66 HOMEPAGE="http://live.gnome.org/GeditPlugins"
67
68 LICENSE="GPL-2"
69 KEYWORDS="~amd64 ~x86"
70 SLOT="0"
71
72 IUSE_plugins="charmap synctex terminal"
73 IUSE="+python ${IUSE_plugins}"
74
75 RDEPEND=">=app-editors/gedit-3.2.0[python?]
76 >=dev-libs/glib-2.26.0:2
77 >=dev-libs/libpeas-0.7.3[gtk,python?]
78 >=x11-libs/gtk+-3.0.0:3
79 >=x11-libs/gtksourceview-3.0.0:3.0
80 python? (
81 >=app-editors/gedit-3.0.0[introspection]
82 || ( dev-python/pygobject:2[introspection] dev-python/pygobject:3 )
83 >=x11-libs/gtk+-3.0.0:3[introspection]
84 >=x11-libs/gtksourceview-3.0.0:3.0[introspection]
85 x11-libs/pango[introspection]
86 x11-libs/gdk-pixbuf:2[introspection]
87 )
88 charmap? ( >=gnome-extra/gucharmap-3.0.0:2.90[introspection] )
89 synctex? ( >=dev-python/dbus-python-0.82 )
90 terminal? ( x11-libs/vte:2.90[introspection] )"
91 DEPEND="${RDEPEND}
92 >=dev-util/intltool-0.40.0
93 dev-util/pkgconfig
94 sys-devel/gettext"
95
96 pkg_setup() {
97 # DEFAULT_PLUGINS from configure.ac
98 local myplugins="bookmarks,drawspaces,wordcompletion,taglist"
99
100 # python plugins with no extra dependencies beyond what USE=python brings
101 use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,commander,joinlines,multiedit,textsize,sessionsaver,smartspaces"
102
103 # python plugins with extra dependencies
104 for plugin in ${IUSE_plugins/+}; do
105 use ${plugin} || continue
106 # FIXME: put in REQUIRED_USE when python.eclass supports EAPI4
107 if use python; then
108 myplugins="${myplugins},${plugin}"
109 else
110 ewarn "Plugin '${plugin}' auto-disabled due to USE=-python"
111 fi
112 done
113
114 DOCS="AUTHORS ChangeLog* NEWS README"
115
116 G2CONF="${G2CONF}
117 --disable-schemas-compile
118 --disable-dependency-tracking
119 --with-plugins=${myplugins}
120 $(use_enable python)"
121
122 python_set_active_version 2
123 python_pkg_setup
124 }
125
126 src_prepare() {
127 gnome2_src_prepare
128
129 # disable pyc compiling
130 for d in . build-aux ; do
131 ln -sfn $(type -P true) "${d}/py-compile"
132 done
133 }
134
135 src_test() {
136 emake check
137 }
138
139 pkg_postinst() {
140 gnome2_pkg_postinst
141 python_need_rebuild
142 python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins
143 }
144
145 pkg_postrm() {
146 gnome2_pkg_postrm
147 python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins
148 }