summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 12:37:28 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 12:37:28 +0000
commitdef526448de2b06ccce7acc167cc43b8c67213f1 (patch)
tree3786ff9cf99f8c7f8edf033555c4f1d53bbc881b /app-laptop
parentFix gpg signature (diff)
downloadgentoo-2-def526448de2b06ccce7acc167cc43b8c67213f1.tar.gz
gentoo-2-def526448de2b06ccce7acc167cc43b8c67213f1.tar.bz2
gentoo-2-def526448de2b06ccce7acc167cc43b8c67213f1.zip
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/batti/ChangeLog7
-rw-r--r--app-laptop/batti/batti-0.3.8-r3.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/app-laptop/batti/ChangeLog b/app-laptop/batti/ChangeLog
index 24e237b1fe1a..94051c4ec6fe 100644
--- a/app-laptop/batti/ChangeLog
+++ b/app-laptop/batti/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-laptop/batti
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.24 2014/09/01 16:48:09 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.25 2014/12/27 12:37:28 mgorny Exp $
+
+*batti-0.3.8-r3 (27 Dec 2014)
+
+ 27 Dec 2014; Michał Górny <mgorny@gentoo.org> +batti-0.3.8-r3.ebuild:
+ Convert to distutils-r1.
01 Sep 2014; Michał Górny <mgorny@gentoo.org> batti-0.3.8-r2.ebuild:
Remove := subslot operator from || () block since it is meaningless and
diff --git a/app-laptop/batti/batti-0.3.8-r3.ebuild b/app-laptop/batti/batti-0.3.8-r3.ebuild
new file mode 100644
index 000000000000..d9fe0b2a44bb
--- /dev/null
+++ b/app-laptop/batti/batti-0.3.8-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.8-r3.ebuild,v 1.1 2014/12/27 12:37:28 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 gnome2-utils eutils
+
+DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
+HOMEPAGE="http://code.google.com/p/batti-gtk/"
+SRC_URI="http://batti-gtk.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ || ( sys-power/upower sys-power/upower-pm-utils )
+ x11-themes/gnome-icon-theme
+ libnotify? ( x11-libs/libnotify )"
+DEPEND=""
+
+DOCS=( AUTHORS ChangeLog )
+
+src_prepare() {
+ has_version ">=sys-power/upower-0.99" && epatch "${FILESDIR}/${P}-upower-0.99.patch"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}