summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-12 15:18:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-01-12 15:18:30 +0000
commit84fa85ff00e236dddbcc0e25634a9bb0bb5e2052 (patch)
tree4795309258ab4a2ff8be49cddd3febb4548f9e7f /app-pda
parentFixed header to work with app-i18n/im-ja. Added static-libs USE flag and cann... (diff)
downloadgentoo-2-84fa85ff00e236dddbcc0e25634a9bb0bb5e2052.tar.gz
gentoo-2-84fa85ff00e236dddbcc0e25634a9bb0bb5e2052.tar.bz2
gentoo-2-84fa85ff00e236dddbcc0e25634a9bb0bb5e2052.zip
Use Python 2 (bug #311761).
(Portage version: 2.2.0_alpha14_p1/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/gpixpod/ChangeLog8
-rw-r--r--app-pda/gpixpod/gpixpod-0.6.2.ebuild17
2 files changed, 18 insertions, 7 deletions
diff --git a/app-pda/gpixpod/ChangeLog b/app-pda/gpixpod/ChangeLog
index 8b482f6e4172..8c1dacf5e280 100644
--- a/app-pda/gpixpod/ChangeLog
+++ b/app-pda/gpixpod/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-pda/gpixpod
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.8 2010/06/11 21:26:07 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/ChangeLog,v 1.9 2011/01/12 15:18:30 arfrever Exp $
+
+ 12 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ gpixpod-0.6.2.ebuild:
+ Use Python 2 (bug #311761).
11 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
gpixpod-0.6.2.ebuild:
diff --git a/app-pda/gpixpod/gpixpod-0.6.2.ebuild b/app-pda/gpixpod/gpixpod-0.6.2.ebuild
index cc0fffa43f3b..a090f32a4bf5 100644
--- a/app-pda/gpixpod/gpixpod-0.6.2.ebuild
+++ b/app-pda/gpixpod/gpixpod-0.6.2.ebuild
@@ -1,6 +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-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.7 2010/06/11 21:26:07 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/gpixpod/gpixpod-0.6.2.ebuild,v 1.8 2011/01/12 15:18:30 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6"
inherit distutils
@@ -18,10 +21,14 @@ RDEPEND=">=dev-python/pygtk-2.8.4
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+PYTHON_MODNAME="gpixpod.py gpixpod_cli.py ipodhal.py mh.py utils.py"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_prepare() {
# Fixing gpixpod.py for searching gpixpod.glade in the same directory
sed -i -e "s:gpixpod\.glade:/usr/share/gpixpod/gpixpod\.glade:g" gpixpod.py || die