Version bump. Do not install unused *.la files, do not let build pre-compile python...
authorGilles Dartiguelongue <eva@gentoo.org>
Mon, 8 Mar 2010 21:28:17 +0000 (21:28 +0000)
committerGilles Dartiguelongue <eva@gentoo.org>
Mon, 8 Mar 2010 21:28:17 +0000 (21:28 +0000)
Package-Manager: portage-2.2_rc65/cvs/Linux x86_64

app-editors/gedit-plugins/ChangeLog
app-editors/gedit-plugins/Manifest
app-editors/gedit-plugins/gedit-plugins-2.28.0.ebuild [moved from app-editors/gedit-plugins/gedit-plugins-2.26.2.ebuild with 65% similarity]

index 29472b7d33fb1d5931eb7b069dede67f33427c14..b84d14215b99eb78177fa89510c55387f603626f 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for app-editors/gedit-plugins
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.5 2009/08/27 17:11:49 mrpouet Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/ChangeLog,v 1.6 2010/03/08 21:28:17 eva Exp $
+
+*gedit-plugins-2.28.0 (08 Mar 2010)
+
+  08 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org>
+  -gedit-plugins-2.26.2.ebuild, +gedit-plugins-2.28.0.ebuild:
+  Version bump. Do not install unused *.la files, do not let build
+  pre-compile python code. i18n updates and a couple of fixes.
 
 *gedit-plugins-2.26.3 (27 Aug 2009)
 
index a2a90a3f32447daac197e4876cc550e70f74bf78..501579f1f8835b81e1eda3642c3ff773a369d4c3 100644 (file)
@@ -1,6 +1,16 @@
-DIST gedit-plugins-2.26.2.tar.bz2 545331 RMD160 16f0db139fda5f92dee008e22c2fbd2dc2b19902 SHA1 77e2235107c42153602509ed8d66f4678839c072 SHA256 440078d8bd1a63d8671bb325be7fc53810e8b81365dbd8aa94654f8a8ee59be0
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST gedit-plugins-2.26.3.tar.bz2 557042 RMD160 f6b4e276c8c98a151c1be43739149283848f7297 SHA1 f3c7bcc4a4f9093e00746634a219a3f8a78923bd SHA256 86b3c5c1dcee826a8ac693dc9e4203af3027cee419394f9ac4e2be1dab637036
-EBUILD gedit-plugins-2.26.2.ebuild 1385 RMD160 2fa63a7ebbb170ae14baa5817a974654b3192548 SHA1 190cfbbcee69487144b7fbbbc5c4f814703a572d SHA256 c3a40ec737fdcbb3ead9624a2685daf4377f6c5b10058f43c5b7d3ad2bbf84f2
+DIST gedit-plugins-2.28.0.tar.bz2 541165 RMD160 124ffb9b85cc760b9990be2ea49d8833dfb54c4c SHA1 72394b5b8e289e0b83f07d66316e5f8f77d73fcb SHA256 d615d2f26e66d7a23f37205089096a60faa2cb6e9108f9034cf2e66b940bf2ca
 EBUILD gedit-plugins-2.26.3.ebuild 1388 RMD160 1837c5cfcda44f84a7b72800d20692c7f24fc277 SHA1 5e4bb3f4b81cd39328d4429bc333f1e694c5df48 SHA256 8dfb47dee9f92f384150003e1ce4bbff990fdbd2fb20e43d55bf0fc7ab4f6266
-MISC ChangeLog 1194 RMD160 946655343346d596bcd258e9787f45c26b0fb325 SHA1 532ffc0a8ecb86ec0bac701ece8867e103e9e3a0 SHA256 1594ca6a10ed1522ab5a0ad8a8315e5393ae5f303a0a516fd0b5c75224251bfa
+EBUILD gedit-plugins-2.28.0.ebuild 1895 RMD160 5ae187cf2f2126a3f33e4e83bf0746e08494ddb7 SHA1 b8e376e111d7202b3fe64918d185cada708b1a32 SHA256 de8f3f8efd66f7ec6d1622e9a902ca29eaf858df71d555c1d716d56fe53714ef
+MISC ChangeLog 1474 RMD160 ee0dfa4e75b524d35805959ed212cec9447463cb SHA1 04f6999c3703008d3ffbbc03c9f10565e9fac2d8 SHA256 b5286130c3ca5857234c930f1ae1b24abb8efcaaf1a7f5338f78e45bb844495e
 MISC metadata.xml 1138 RMD160 4f731728ecc862e7feeae02cb31199f9860f1544 SHA1 d66e5bf969d60c4c1aaf8b5d2c6d4b785b151c16 SHA256 35055675c727bcdcefa37c5c9323db6662f8d9fb43b538da91b64f9c79b07103
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuVa/sACgkQ1fmVwcYIWAaIdgCg153HZYEVe4fFZxOe22QjqdBr
+aqgAn3YQTAReGDkhl+xhY9kBgJr8R8m3
+=lqip
+-----END PGP SIGNATURE-----
similarity index 65%
rename from app-editors/gedit-plugins/gedit-plugins-2.26.2.ebuild
rename to app-editors/gedit-plugins/gedit-plugins-2.28.0.ebuild
index 4e38c8293661fc4276f0fed86af183889596e5b3..95e1f2bc8fccc9155a3114b1440561fe96e8ee50 100644 (file)
@@ -1,11 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-2.26.2.ebuild,v 1.5 2009/08/17 11:15:07 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-2.28.0.ebuild,v 1.1 2010/03/08 21:28:17 eva Exp $
 
 EAPI="2"
 GCONF_DEBUG="no"
 
-inherit gnome2
+inherit gnome2 multilib python
 
 DESCRIPTION="Offical plugins for gedit."
 HOMEPAGE="http://live.gnome.org/GeditPlugins"
@@ -37,10 +37,9 @@ DEPEND="${RDEPEND}
        dev-util/pkgconfig
        dev-util/intltool"
 
-DOCS="AUTHORS NEWS"
+DOCS="AUTHORS NEWS ChangeLog*"
 
-pkg_setup()
-{
+pkg_setup() {
        local myplugins="codecomment"
 
        for plugin in ${IUSE/python}; do
@@ -57,6 +56,31 @@ pkg_setup()
                $(use_enable python)"
 }
 
+src_prepare() {
+       gnome2_src_prepare
+
+       # disable pyc compiling
+       mv py-compile py-compile.orig
+       ln -s $(type -P true) py-compile
+}
+
 src_test() {
        emake check || die "make check failed"
 }
+
+src_install() {
+       gnome2_src_install
+       # gedit doesn't rely on *.la files
+       find "${D}" -name "*.la" -delete || die "*.la files removal failed"
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       python_need_rebuild
+       python_mod_optimize /usr/$(get_libdir)/gedit-2/plugins
+}
+
+pkg_postrm() {
+       gnome2_pkg_postrm
+       python_mod_cleanup /usr/$(get_libdir)/gedit-2/plugins
+}