summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 20:48:02 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-25 20:48:02 +0000
commitf02ee59d662c3c8c42213466a96753515d51e4b8 (patch)
tree6e0cc4dbf7f1b8ac8cf3699a1ed1a2b49e705a69 /gnome-extra/avant-window-navigator-extras
parenttidy (diff)
downloadgentoo-2-f02ee59d662c3c8c42213466a96753515d51e4b8.tar.gz
gentoo-2-f02ee59d662c3c8c42213466a96753515d51e4b8.tar.bz2
gentoo-2-f02ee59d662c3c8c42213466a96753515d51e4b8.zip
Use Python 2 (bug #324169).
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/avant-window-navigator-extras')
-rw-r--r--gnome-extra/avant-window-navigator-extras/ChangeLog6
-rw-r--r--gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/gnome-extra/avant-window-navigator-extras/ChangeLog b/gnome-extra/avant-window-navigator-extras/ChangeLog
index 13445922a963..01224d600bb9 100644
--- a/gnome-extra/avant-window-navigator-extras/ChangeLog
+++ b/gnome-extra/avant-window-navigator-extras/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/avant-window-navigator-extras
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/ChangeLog,v 1.21 2011/03/21 22:33:04 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/ChangeLog,v 1.22 2011/04/25 20:48:02 arfrever Exp $
+
+ 25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ avant-window-navigator-extras-0.3.2.2.ebuild:
+ Use Python 2 (bug #324169).
21 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
avant-window-navigator-extras-0.3.2.2.ebuild:
diff --git a/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild b/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild
index 453c0ebeaf37..5c9ebba26e23 100644
--- a/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild
+++ b/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild,v 1.4 2011/03/21 22:33:04 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.3.2.2.ebuild,v 1.5 2011/04/25 20:48:02 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
inherit eutils gnome2 python
@@ -82,6 +83,9 @@ pkg_setup() {
$(use_with gnome gconf)
$(use_with gnome)
$(use_with webkit)"
+
+ python_set_active_version 2
+ python_pkg_setup
}
src_prepare() {
@@ -118,10 +122,10 @@ src_install() {
pkg_postinst() {
gnome2_pkg_postinst
- python_mod_optimize $(python_get_sitedir)/awn/extras
+ python_mod_optimize awn/extras
}
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup $(python_get_sitedir)/awn/extras
+ python_mod_cleanup awn/extras
}