summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-16 20:28:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-16 20:28:27 +0000
commit013cb7633628b96c5df18073f54610d50aab1c2c (patch)
tree0b543624b7f5fde8bf9a95f83c8e0288db8e38a6 /app-emulation/playonlinux
parentDelete older ebuilds. (diff)
downloadgentoo-2-013cb7633628b96c5df18073f54610d50aab1c2c.tar.gz
gentoo-2-013cb7633628b96c5df18073f54610d50aab1c2c.tar.bz2
gentoo-2-013cb7633628b96c5df18073f54610d50aab1c2c.zip
Use Python 2 (bug #363879).
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/playonlinux')
-rw-r--r--app-emulation/playonlinux/ChangeLog8
-rw-r--r--app-emulation/playonlinux/playonlinux-3.8.8.ebuild14
2 files changed, 17 insertions, 5 deletions
diff --git a/app-emulation/playonlinux/ChangeLog b/app-emulation/playonlinux/ChangeLog
index b2bbc81b5451..56f10fe00090 100644
--- a/app-emulation/playonlinux/ChangeLog
+++ b/app-emulation/playonlinux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/playonlinux
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.11 2010/12/26 16:00:04 volkmar Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.12 2011/04/16 20:28:27 arfrever Exp $
+
+ 16 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ playonlinux-3.8.8.ebuild:
+ Use Python 2 (bug #363879).
*playonlinux-3.8.8 (26 Dec 2010)
diff --git a/app-emulation/playonlinux/playonlinux-3.8.8.ebuild b/app-emulation/playonlinux/playonlinux-3.8.8.ebuild
index ce82d86a8c1a..ed0052c43abc 100644
--- a/app-emulation/playonlinux/playonlinux-3.8.8.ebuild
+++ b/app-emulation/playonlinux/playonlinux-3.8.8.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-3.8.8.ebuild,v 1.2 2011/03/01 03:22:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-3.8.8.ebuild,v 1.3 2011/04/16 20:28:27 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
inherit eutils python games
@@ -37,9 +38,16 @@ S=${WORKDIR}/${PN}
# How to deal with wine version installed ? (have a better mgmt of system one)
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
sed -i -e "s/\(Categories=\).*/\1Game;Emulator;/" etc/PlayOnLinux.desktop \
|| die "sed failed"
+ sed -e 's/PYTHON="python"/PYTHON="python2"/' -i lib/variables || die "sed failed"
+ python_convert_shebangs -r 2 .
}
src_install() {