diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2010-05-17 00:30:59 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2010-05-17 00:30:59 +0000 |
commit | 05d898a88e251419a25a5128d0a6a232ad0ba3ec (patch) | |
tree | 1c464a98d4e52e4e7cee5719637230eeafcfada4 /app-laptop | |
parent | Revbump with PARI_VER changed to allow 2.3.5 to be used. Passes testsuite. (diff) | |
download | gentoo-2-05d898a88e251419a25a5128d0a6a232ad0ba3ec.tar.gz gentoo-2-05d898a88e251419a25a5128d0a6a232ad0ba3ec.tar.bz2 gentoo-2-05d898a88e251419a25a5128d0a6a232ad0ba3ec.zip |
Remove =app-laptop/batterymon-1.2.0, bug 313427.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/batterymon/ChangeLog | 6 | ||||
-rw-r--r-- | app-laptop/batterymon/batterymon-1.2.0.ebuild | 64 | ||||
-rw-r--r-- | app-laptop/batterymon/files/batterymon-1.2.0-import.patch | 22 |
3 files changed, 5 insertions, 87 deletions
diff --git a/app-laptop/batterymon/ChangeLog b/app-laptop/batterymon/ChangeLog index f4837c7f85e2..ff308f54a6a0 100644 --- a/app-laptop/batterymon/ChangeLog +++ b/app-laptop/batterymon/ChangeLog @@ -1,6 +1,10 @@ # 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.7 2010/04/13 14:45:40 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/batterymon/ChangeLog,v 1.8 2010/05/17 00:30:59 idl0r Exp $ + + 17 May 2010; Christian Ruppert <idl0r@gentoo.org> + -batterymon-1.2.0.ebuild, -files/batterymon-1.2.0-import.patch: + Remove =app-laptop/batterymon-1.2.0, bug 313427. *batterymon-0.6.0 (13 Apr 2010) diff --git a/app-laptop/batterymon/batterymon-1.2.0.ebuild b/app-laptop/batterymon/batterymon-1.2.0.ebuild deleted file mode 100644 index 42ab922f1f4e..000000000000 --- a/app-laptop/batterymon/batterymon-1.2.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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-1.2.0.ebuild,v 1.6 2010/04/05 19:26:33 phajdan.jr Exp $ - -EAPI="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit python eutils - -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="libnotify" - -DEPEND="" -RDEPEND="${DEPEND} - dev-python/dbus-python - dev-libs/dbus-glib - dev-python/pygtk:2 - sys-apps/hal - libnotify? ( dev-python/notify-python )" - -S="${WORKDIR}/${PN}" - -src_prepare() { - epatch "${FILESDIR}/${P}-import.patch" -} - -src_install() { - install_batterymon() { - newbin batterymon.py batterymon || die - - insinto $(python_get_sitedir)/${PN} - doins {logger,preferences,settings}.py || die - - # Create missing __init__.py - touch "${D}/$(python_get_sitedir)/${PN}/__init__.py" - - # Upstream forgot an svn dir - rm -rf icons/.svn - - insinto /usr/share/${PN}/ - doins -r icons/ batterymon.rc || die - } - python_execute_function install_batterymon -} - -pkg_postinst() { - python_mod_optimize ${PN} - - einfo - einfo "Your own batterymon.rc will be loaded from ~/.config/${PN}/" - einfo "The default configuration can be found here: '${ROOT}usr/share/${PN}/${PN}.rc'" - einfo -} - -pkg_postrm() { - python_mod_cleanup ${PN} -} diff --git a/app-laptop/batterymon/files/batterymon-1.2.0-import.patch b/app-laptop/batterymon/files/batterymon-1.2.0-import.patch deleted file mode 100644 index e8bb79d3d252..000000000000 --- a/app-laptop/batterymon/files/batterymon-1.2.0-import.patch +++ /dev/null @@ -1,22 +0,0 @@ -iff -up batterymon.orig/batterymon.py batterymon/batterymon.py ---- batterymon.orig/batterymon.py 2009-05-01 13:14:37.000000000 +0200 -+++ batterymon/batterymon.py 2009-12-12 11:16:23.307705992 +0100 -@@ -9,9 +9,14 @@ from optparse import OptionParser - import os,sys - - ## code modules --from preferences import prefs --from logger import logger_init --from settings import config -+try: -+ from preferences import prefs -+ from logger import logger_init -+ from settings import config -+except ImportError: -+ from batterymon.preferences import prefs -+ from batterymon.logger import logger_init -+ from batterymon.settings import config - - #{{{ Desktop notifications init - try: -Common subdirectories: batterymon.orig/icons and batterymon/icons |