From db727c9bf77025b0e038d31d3257b2187f8ed075 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 31 Jan 2012 18:15:36 +0000 Subject: Add missing dep, byte-compile python files (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- gnome-extra/gnome-activity-journal/ChangeLog | 6 +++++- .../gnome-activity-journal-0.8.0.ebuild | 24 +++++++++++++++++----- 2 files changed, 24 insertions(+), 6 deletions(-) (limited to 'gnome-extra') diff --git a/gnome-extra/gnome-activity-journal/ChangeLog b/gnome-extra/gnome-activity-journal/ChangeLog index 19be6b60f214..8b867ea6ddc8 100644 --- a/gnome-extra/gnome-activity-journal/ChangeLog +++ b/gnome-extra/gnome-activity-journal/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/gnome-activity-journal # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/ChangeLog,v 1.1 2012/01/31 17:26:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/ChangeLog,v 1.2 2012/01/31 18:15:36 jlec Exp $ + + 31 Jan 2012; Justin Lecher + gnome-activity-journal-0.8.0.ebuild: + Add missing dep, byte-compile python files *gnome-activity-journal-0.8.0 (31 Jan 2012) diff --git a/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild b/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild index ab4f86d1835c..d39fae86c5b8 100644 --- a/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild +++ b/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild @@ -1,14 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild,v 1.1 2012/01/31 17:26:06 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild,v 1.2 2012/01/31 18:15:36 jlec Exp $ EAPI=4 PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -inherit distutils versionator +inherit distutils gnome2-utils versionator DIR_PV=$(get_version_component_range 1-2) @@ -21,5 +19,21 @@ LICENSE="GPL-3" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" -RDEPEND=">=gnome-extra/zeitgeist-0.8.2" +RDEPEND=" + dev-python/pygtk + >=gnome-extra/zeitgeist-0.8.2" DEPEND="dev-python/python-distutils-extra" + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + python_mod_optimize /usr/share/gnome-activity-journal + gnome2_icon_cache_update +} + +pkg_postrm() { + python_mod_cleanup /usr/share/gnome-activity-journal + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad