Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/hamster-applet: ChangeLog hamster-applet-2.24.1.ebuild
Date: Thu, 23 Oct 2008 21:57:41
Message-Id: E1Kt8BX-0003Yn-8J@stork.gentoo.org
1 eva 08/10/23 21:57:39
2
3 Modified: ChangeLog
4 Added: hamster-applet-2.24.1.ebuild
5 Log:
6 Bump to 2.24.1, properly handle fix day of the week in all locales.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.2 gnome-extra/hamster-applet/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/hamster-applet/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/hamster-applet/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/hamster-applet/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 19 Oct 2008 20:07:14 -0000 1.1
23 +++ ChangeLog 23 Oct 2008 21:57:39 -0000 1.2
24 @@ -1,6 +1,12 @@
25 # ChangeLog for gnome-extra/hamster-applet
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/ChangeLog,v 1.1 2008/10/19 20:07:14 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/ChangeLog,v 1.2 2008/10/23 21:57:39 eva Exp $
29 +
30 +*hamster-applet-2.24.1 (23 Oct 2008)
31 +
32 + 23 Oct 2008; Gilles Dartiguelongue <eva@g.o>
33 + +hamster-applet-2.24.1.ebuild:
34 + Bump to 2.24.1, properly handle fix day of the week in all locales.
35
36 *hamster-applet-2.24.0 (19 Oct 2008)
37
38
39
40
41 1.1 gnome-extra/hamster-applet/hamster-applet-2.24.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/hamster-applet/hamster-applet-2.24.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/hamster-applet/hamster-applet-2.24.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hamster-applet-2.24.1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/hamster-applet/hamster-applet-2.24.1.ebuild,v 1.1 2008/10/23 21:57:39 eva Exp $
51 EAPI=1
52
53 GCONF_DEBUG="no"
54 SCROLLKEEPER_UPDATE="no"
55
56 inherit autotools eutils gnome2 python
57
58 DESCRIPTION="Time tracking for the masses, in a GNOME applet"
59 HOMEPAGE="http://projecthamster.wordpress.com/"
60
61 # license on homepage is out-of-date, was changed to GPL-2 on 2008-04-16
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="eds"
66
67 RDEPEND="
68 || ( >=dev-lang/python-2.5
69 ( dev-lang/python:2.4
70 dev-python/pysqlite:2 ) )
71 dev-python/gnome-applets-python
72 dev-python/gconf-python
73 dev-python/dbus-python
74 eds? ( dev-python/evolution-python )
75 >=dev-python/pygobject-2.14
76 >=dev-python/pygtk-2.12
77 >=x11-libs/gtk+-2.12
78 x11-libs/libXScrnSaver"
79
80 DEPEND="${RDEPEND}
81 x11-proto/scrnsaverproto
82 >=dev-util/intltool-0.37.1
83 dev-util/pkgconfig
84 sys-devel/gettext"
85
86 DOCS="AUTHORS ChangeLog NEWS README"
87
88 pkg_setup() {
89 local msg="Rebuild dev-lang/python-2.5 with the sqlite USE flag"
90 if has_version dev-lang/python 2.5; then
91 if ! built_with_use dev-lang/python sqlite; then
92 eerror "${msg}"
93 die "${msg}"
94 fi
95 fi
96 }
97
98 src_unpack() {
99 gnome2_src_unpack
100
101 # Allow use of python 2.5, upstream bug #554249
102 epatch "${FILESDIR}/${PN}-2.24.0-python25.patch"
103
104 # Remove dependency on gnome-vfs, upstream bug #554250
105 epatch "${FILESDIR}/${PN}-2.24.0-gnomevfs.patch"
106
107 AT_M4DIR="m4" eautoreconf
108
109 # disable pyc compiling
110 mv py-compile py-compile.orig
111 ln -s $(type -P true) py-compile
112 }
113
114 pkg_postinst() {
115 gnome2_pkg_postinst
116
117 python_version
118 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/hamster
119 }
120
121 pkg_postrm() {
122 gnome2_pkg_postrm
123 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/hamster
124 }