summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-05-10 22:50:40 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-05-10 22:50:40 +0000
commit398260db006e4094bd4793e3ff8bb6d05639d3b7 (patch)
tree1036141ca3d176243f907db189693dc42b3a1532 /gnome-extra/hamster-applet
parentNew version for GNOME 2.26. Drop use of glade and gnome-vfs. Clean up old rev... (diff)
downloadhistorical-398260db006e4094bd4793e3ff8bb6d05639d3b7.tar.gz
historical-398260db006e4094bd4793e3ff8bb6d05639d3b7.tar.bz2
historical-398260db006e4094bd4793e3ff8bb6d05639d3b7.zip
New version for GNOME 2.26. Fix for python 2.6 and other various fixes.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/hamster-applet')
-rw-r--r--gnome-extra/hamster-applet/ChangeLog8
-rw-r--r--gnome-extra/hamster-applet/hamster-applet-2.26.0.ebuild62
2 files changed, 69 insertions, 1 deletions
diff --git a/gnome-extra/hamster-applet/ChangeLog b/gnome-extra/hamster-applet/ChangeLog
index 51f6308cf4be..9fd8edd56c54 100644
--- a/gnome-extra/hamster-applet/ChangeLog
+++ b/gnome-extra/hamster-applet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-extra/hamster-applet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/ChangeLog,v 1.8 2009/03/21 12:35:23 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/ChangeLog,v 1.9 2009/05/10 22:50:40 eva Exp $
+
+*hamster-applet-2.26.0 (10 May 2009)
+
+ 10 May 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +hamster-applet-2.26.0.ebuild:
+ New version for GNOME 2.26. Fix for python 2.6 and other various fixes.
21 Mar 2009; Gilles Dartiguelongue <eva@gentoo.org>
-hamster-applet-2.24.1.ebuild, -hamster-applet-2.24.2.ebuild,
diff --git a/gnome-extra/hamster-applet/hamster-applet-2.26.0.ebuild b/gnome-extra/hamster-applet/hamster-applet-2.26.0.ebuild
new file mode 100644
index 000000000000..cae3f1aa5fae
--- /dev/null
+++ b/gnome-extra/hamster-applet/hamster-applet-2.26.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/hamster-applet-2.26.0.ebuild,v 1.1 2009/05/10 22:50:40 eva Exp $
+
+EAPI="2"
+GCONF_DEBUG="no"
+SCROLLKEEPER_UPDATE="no"
+
+inherit eutils gnome2 python
+
+DESCRIPTION="Time tracking for the masses, in a GNOME applet"
+HOMEPAGE="http://projecthamster.wordpress.com/"
+
+# license on homepage is out-of-date, was changed to GPL-2 on 2008-04-16
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="eds libnotify"
+
+RDEPEND="
+ || ( >=dev-lang/python-2.5[sqlite]
+ ( dev-lang/python:2.4
+ dev-python/pysqlite:2 ) )
+ dev-python/gconf-python
+ dev-python/libgnome-python
+ dev-python/gnome-applets-python
+ dev-python/dbus-python
+ eds? ( dev-python/evolution-python )
+ libnotify? ( dev-python/notify-python )
+ >=dev-python/pygobject-2.14
+ >=dev-python/pygtk-2.12
+ >=x11-libs/gtk+-2.12
+ x11-libs/libXScrnSaver"
+
+DEPEND="${RDEPEND}
+ x11-proto/scrnsaverproto
+ >=dev-util/intltool-0.40
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # disable pyc compiling
+ mv py-compile py-compile.orig
+ ln -s $(type -P true) py-compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ python_need_rebuild
+ python_mod_optimize $(python_get_sitedir)/hamster
+}
+
+pkg_postrm() {
+ gnome2_pkg_postrm
+
+ python_mod_cleanup $(python_get_sitedir)/hamster
+}