summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-04-16 15:01:02 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-04-16 15:01:02 +0000
commit1046c4c25ec8ec85ac0f0f5d7dee3f807aac94f8 (patch)
tree6e3566895198392246397ff849a3063fbc244535 /app-laptop
parentstable ppc, bug 309169 (diff)
downloadgentoo-2-1046c4c25ec8ec85ac0f0f5d7dee3f807aac94f8.tar.gz
gentoo-2-1046c4c25ec8ec85ac0f0f5d7dee3f807aac94f8.tar.bz2
gentoo-2-1046c4c25ec8ec85ac0f0f5d7dee3f807aac94f8.zip
Fix typo with SUPPORT_PYTHON_ABIS. Remove pkg_setup/src_prepare, distutils converts shebangs internally.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/batti/ChangeLog6
-rw-r--r--app-laptop/batti/batti-0.3.4.ebuild16
2 files changed, 9 insertions, 13 deletions
diff --git a/app-laptop/batti/ChangeLog b/app-laptop/batti/ChangeLog
index c40e3a60ac26..770075c28761 100644
--- a/app-laptop/batti/ChangeLog
+++ b/app-laptop/batti/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-laptop/batti
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.4 2010/04/16 14:12:51 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.5 2010/04/16 15:01:02 idl0r Exp $
+
+ 16 Apr 2010; Christian Ruppert <idl0r@gentoo.org> batti-0.3.4.ebuild:
+ Fix typo with SUPPORT_PYTHON_ABIS. Remove pkg_setup/src_prepare, distutils
+ converts shebangs internally.
*batti-0.3.4 (16 Apr 2010)
diff --git a/app-laptop/batti/batti-0.3.4.ebuild b/app-laptop/batti/batti-0.3.4.ebuild
index 6649e3271a34..fcf5aff4228b 100644
--- a/app-laptop/batti/batti-0.3.4.ebuild
+++ b/app-laptop/batti/batti-0.3.4.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.4.ebuild,v 1.1 2010/04/16 14:12:51 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.4.ebuild,v 1.2 2010/04/16 15:01:02 idl0r Exp $
EAPI=3
-PYTHON_SUPPORT_ABIS="1"
-PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit python distutils gnome2-utils
@@ -25,15 +25,7 @@ RDEPEND="dev-python/pygtk
libnotify? ( x11-libs/libnotify )"
DEPEND=""
-pkg_setup() {
- DOCS="AUTHORS"
- python_set_active_version 2
-}
-
-src_prepare() {
- distutils_src_prepare
- python_convert_shebangs 2 batti
-}
+DOCS="AUTHORS"
pkg_preinst() {
gnome2_icon_savelist