summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-04-13 14:45:40 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-04-13 14:45:40 +0000
commit9e48580126924af41ad217ab509f940d5476f24e (patch)
tree1f8a54391c0cd805674f957722ab16424a584ecb /app-laptop
parentInclude <sys/types.h> to fix build on FreeBSD. (diff)
downloadgentoo-2-9e48580126924af41ad217ab509f940d5476f24e.tar.gz
gentoo-2-9e48580126924af41ad217ab509f940d5476f24e.tar.bz2
gentoo-2-9e48580126924af41ad217ab509f940d5476f24e.zip
Add batterymon-0.6.0 since its the latest version without HAL, bug 313427.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/batterymon/ChangeLog8
-rw-r--r--app-laptop/batterymon/batterymon-0.6.0.ebuild43
2 files changed, 50 insertions, 1 deletions
diff --git a/app-laptop/batterymon/ChangeLog b/app-laptop/batterymon/ChangeLog
index b5cdaa272be7..f4837c7f85e2 100644
--- a/app-laptop/batterymon/ChangeLog
+++ b/app-laptop/batterymon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/batterymon
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/ChangeLog,v 1.6 2010/04/05 19:26:33 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/ChangeLog,v 1.7 2010/04/13 14:45:40 idl0r Exp $
+
+*batterymon-0.6.0 (13 Apr 2010)
+
+ 13 Apr 2010; Christian Ruppert <idl0r@gentoo.org>
+ +batterymon-0.6.0.ebuild:
+ Add batterymon-0.6.0 since its the latest version without HAL, bug 313427.
05 Apr 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
batterymon-1.2.0.ebuild:
diff --git a/app-laptop/batterymon/batterymon-0.6.0.ebuild b/app-laptop/batterymon/batterymon-0.6.0.ebuild
new file mode 100644
index 000000000000..91e032c050ae
--- /dev/null
+++ b/app-laptop/batterymon/batterymon-0.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/batterymon-0.6.0.ebuild,v 1.1 2010/04/13 14:45:40 idl0r Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit python
+
+DESCRIPTION="Simple battery monitor ideal for openbox etc."
+HOMEPAGE="http://code.google.com/p/batterymon/"
+SRC_URI="http://batterymon.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/pygtk:2
+ dev-python/pygobject:2"
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs 2 batterymon.py
+}
+
+src_install() {
+ newbin batterymon.py batterymon || die
+
+ # Upstream forgot an svn dir
+ rm -rf icons/.svn icons/default/.svn
+
+ insinto /usr/share/${PN}/
+ doins -r icons/ || die
+}