diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2007-06-17 15:31:29 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2007-06-17 15:31:29 +0000 |
commit | 6323f54d83ef1fd5143c9d48e55ac162ed1eb886 (patch) | |
tree | 7dda7275e21bae3f732474f285938b0dcd63462b /gnome-extra/libgsf | |
parent | Add python cleanup; bug #177554 (diff) | |
download | gentoo-2-6323f54d83ef1fd5143c9d48e55ac162ed1eb886.tar.gz gentoo-2-6323f54d83ef1fd5143c9d48e55ac162ed1eb886.tar.bz2 gentoo-2-6323f54d83ef1fd5143c9d48e55ac162ed1eb886.zip |
Add python optimization/cleanup; bug #177552
(Portage version: 2.1.2.9)
Diffstat (limited to 'gnome-extra/libgsf')
-rw-r--r-- | gnome-extra/libgsf/ChangeLog | 5 | ||||
-rw-r--r-- | gnome-extra/libgsf/libgsf-1.14.3.ebuild | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/gnome-extra/libgsf/ChangeLog b/gnome-extra/libgsf/ChangeLog index 366d7405cb3a..02b8b077f060 100644 --- a/gnome-extra/libgsf/ChangeLog +++ b/gnome-extra/libgsf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for gnome-extra/libgsf # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.102 2007/06/02 02:57:58 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.103 2007/06/17 15:31:29 dang Exp $ + + 17 Jun 2007; Daniel Gryniewicz <dang@gentoo.org> libgsf-1.14.3.ebuild: + Add python optimization/cleanup; bug #177552 02 Jun 2007; Brent Baude <ranger@gentoo.org> libgsf-1.14.3.ebuild: Marking libgsf-1.14.3 ppc stable for bug #171107 diff --git a/gnome-extra/libgsf/libgsf-1.14.3.ebuild b/gnome-extra/libgsf/libgsf-1.14.3.ebuild index 8a36fa7272e7..d31b3e810376 100644 --- a/gnome-extra/libgsf/libgsf-1.14.3.ebuild +++ b/gnome-extra/libgsf/libgsf-1.14.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.9 2007/06/02 02:57:58 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.3.ebuild,v 1.10 2007/06/17 15:31:29 dang Exp $ -inherit eutils gnome2 +inherit eutils gnome2 python multilib DESCRIPTION="The GNOME Structured File Library" HOMEPAGE="http://www.gnome.org/" @@ -38,6 +38,8 @@ G2CONF="${G2CONF} \ $(use_with gnome) \ $(use_with python)" +DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" + pkg_preinst() { preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1 @@ -47,6 +49,7 @@ pkg_preinst() { pkg_postinst() { gnome2_pkg_postinst + use python && python_mod_optimize "${ROOT}"usr/$(get_libdir)/python*/site-packages/gsf preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1 @@ -54,4 +57,7 @@ pkg_postinst() { preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113 } -DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO" +pkg_postrm() { + gnome2_pkg_postrm + use python && python_mod_cleanup "${ROOT}"usr/$(get_libdir)/python*/site-packages/gsf +} |