summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-01-31 18:15:36 +0000
committerJustin Lecher <jlec@gentoo.org>2012-01-31 18:15:36 +0000
commitdb727c9bf77025b0e038d31d3257b2187f8ed075 (patch)
tree2e84b8fa06545f0dc55b34e14672b0518505b74e /gnome-extra/gnome-activity-journal
parentStable for HPPA (bug #399909). (diff)
downloadgentoo-2-db727c9bf77025b0e038d31d3257b2187f8ed075.tar.gz
gentoo-2-db727c9bf77025b0e038d31d3257b2187f8ed075.tar.bz2
gentoo-2-db727c9bf77025b0e038d31d3257b2187f8ed075.zip
Add missing dep, byte-compile python files
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-activity-journal')
-rw-r--r--gnome-extra/gnome-activity-journal/ChangeLog6
-rw-r--r--gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0.ebuild24
2 files changed, 24 insertions, 6 deletions
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 <jlec@gentoo.org>
+ 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
+}