From e63ee0be245681221a9ee8c9eba18876f07a83d0 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Sat, 5 Jan 2008 16:42:05 +0000 Subject: Run python_mod_{optimise,cleanup} for bug #200286. (Portage version: 2.1.4_rc14) --- app-dicts/opendict/ChangeLog | 7 +++++-- app-dicts/opendict/opendict-0.6.1.ebuild | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'app-dicts/opendict') diff --git a/app-dicts/opendict/ChangeLog b/app-dicts/opendict/ChangeLog index 6312f81f8e9a..553c540e59d1 100644 --- a/app-dicts/opendict/ChangeLog +++ b/app-dicts/opendict/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-dicts/opendict -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.13 2007/10/03 05:02:56 dirtyepic Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/ChangeLog,v 1.14 2008/01/05 16:42:05 dirtyepic Exp $ + + 05 Jan 2008; Ryan Hill opendict-0.6.1.ebuild: + Run python_mod_{optimise,cleanup} for bug #200286. 03 Oct 2007; Ryan Hill opendict-0.6.1.ebuild: Lock wxpython dependency. diff --git a/app-dicts/opendict/opendict-0.6.1.ebuild b/app-dicts/opendict/opendict-0.6.1.ebuild index c4b5013160c9..78e8df0d0a4e 100644 --- a/app-dicts/opendict/opendict-0.6.1.ebuild +++ b/app-dicts/opendict/opendict-0.6.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.1.ebuild,v 1.5 2007/10/03 05:02:56 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.1.ebuild,v 1.6 2008/01/05 16:42:05 dirtyepic Exp $ inherit eutils python gnome2 @@ -71,6 +71,8 @@ src_install() { } pkg_postinst() { + python_mod_optimize \ + "${ROOT%/}"/usr/$(get_libdir)/python${PYVER}/site-packages/opendict gnome2_icon_cache_update elog "If you want system-wide plugins, unzip them into" @@ -79,5 +81,7 @@ pkg_postinst() { } pkg_postrm() { + python_mod_cleanup \ + "${ROOT%/}"/usr/$(get_libdir)/python${PYVER}/site-packages/opendict gnome2_icon_cache_update } -- cgit v1.2.3-65-gdbad