Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-laptop/batti: batti-0.3.8-r2.ebuild ChangeLog
Date: Sat, 31 May 2014 18:06:25
Message-Id: 20140531180622.6EF262004F@flycatcher.gentoo.org
1 pacho 14/05/31 18:06:22
2
3 Modified: ChangeLog
4 Added: batti-0.3.8-r2.ebuild
5 Log:
6 Use patch from ArchLinux to support upower-0.99 (x11-misc/cbatticon is another alternative to this package that has dead upstream since 2011)
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.19 app-laptop/batti/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 9 Feb 2013 18:57:10 -0000 1.18
24 +++ ChangeLog 31 May 2014 18:06:22 -0000 1.19
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-laptop/batti
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.18 2013/02/09 18:57:10 idl0r Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.19 2014/05/31 18:06:22 pacho Exp $
31 +
32 +*batti-0.3.8-r2 (31 May 2014)
33 +
34 + 31 May 2014; Pacho Ramos <pacho@g.o> +batti-0.3.8-r2.ebuild,
35 + +files/batti-0.3.8-upower-0.99.patch:
36 + Use patch from ArchLinux to support upower-0.99 (x11-misc/cbatticon is another
37 + alternative to this package that has dead upstream since 2011)
38
39 09 Feb 2013; Christian Ruppert <idl0r@g.o> batti-0.3.8-r1.ebuild:
40 Fix Icon dependency
41 @@ -76,4 +83,3 @@
42
43 12 Apr 2010; Samuli Suominen <ssuominen@g.o> +batti-0.3.1.ebuild:
44 Initial commit wrt #314797 by Arthur Spitzer.
45 -
46
47
48
49 1.1 app-laptop/batti/batti-0.3.8-r2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/batti-0.3.8-r2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/batti/batti-0.3.8-r2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: batti-0.3.8-r2.ebuild
55 ===================================================================
56 # Copyright 1999-2014 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r2.ebuild,v 1.1 2014/05/31 18:06:22 pacho Exp $
59
60 EAPI=5
61
62 SUPPORT_PYTHON_ABIS="1"
63 PYTHON_DEPEND="2"
64 RESTRICT_PYTHON_ABIS="3.*"
65
66 inherit python distutils gnome2-utils eutils
67
68 DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
69 HOMEPAGE="http://code.google.com/p/batti-gtk/"
70 SRC_URI="http://batti-gtk.googlecode.com/files/${P}.tar.gz"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86"
75 IUSE="libnotify"
76
77 RDEPEND="dev-python/pygtk
78 dev-python/dbus-python
79 || ( sys-power/upower:= sys-power/upower-pm-utils )
80 x11-themes/gnome-icon-theme
81 libnotify? ( x11-libs/libnotify )"
82 DEPEND=""
83
84 DOCS="AUTHORS"
85
86 src_prepare() {
87 has_version ">=sys-power/upower-0.99" && epatch "${FILESDIR}/${P}-upower-0.99.patch"
88 }
89
90 pkg_preinst() {
91 gnome2_icon_savelist
92 }
93
94 pkg_postinst() {
95 gnome2_icon_cache_update
96 distutils_pkg_postinst
97 }
98
99 pkg_postrm() {
100 gnome2_icon_cache_update
101 distutils_pkg_postrm
102 }