summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-04-19 20:22:04 +0000
committerJohannes Huber <johu@gentoo.org>2012-04-19 20:22:04 +0000
commite6095b2a06e67c894b5b83f080d789a79714a0db (patch)
tree6f040a6d67ee46c2f6b1f00b3b966f586878ce10 /kde-base
parent[sys-infiniband/perftest] Fix bug #386869 (diff)
downloadgentoo-2-e6095b2a06e67c894b5b83f080d789a79714a0db.tar.gz
gentoo-2-e6095b2a06e67c894b5b83f080d789a79714a0db.tar.bz2
gentoo-2-e6095b2a06e67c894b5b83f080d789a79714a0db.zip
Fix build with python 3 as active version by Michael (kensington) <gentoo@scribeofthenile.com>. Fixes bug #412563.
(Portage version: 2.2.0_alpha100/cvs/Linux i686)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kajongg/ChangeLog7
-rw-r--r--kde-base/kajongg/kajongg-4.8.1.ebuild9
-rw-r--r--kde-base/kajongg/kajongg-4.8.2.ebuild9
3 files changed, 22 insertions, 3 deletions
diff --git a/kde-base/kajongg/ChangeLog b/kde-base/kajongg/ChangeLog
index bb2e072e2721..e0ab18493b10 100644
--- a/kde-base/kajongg/ChangeLog
+++ b/kde-base/kajongg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/kajongg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/ChangeLog,v 1.48 2012/04/18 22:06:32 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/ChangeLog,v 1.49 2012/04/19 20:22:04 johu Exp $
+
+ 19 Apr 2012; Johannes Huber <johu@gentoo.org> kajongg-4.8.1.ebuild,
+ kajongg-4.8.2.ebuild:
+ Fix build with python 3 as active version by Michael (kensington)
+ <gentoo@scribeofthenile.com>. Fixes bug #412563.
18 Apr 2012; Markus Meier <maekke@gentoo.org> kajongg-4.8.1.ebuild:
x86 stable, bug #409403
diff --git a/kde-base/kajongg/kajongg-4.8.1.ebuild b/kde-base/kajongg/kajongg-4.8.1.ebuild
index e580116500a0..4ea818e0fba0 100644
--- a/kde-base/kajongg/kajongg-4.8.1.ebuild
+++ b/kde-base/kajongg/kajongg-4.8.1.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/kajongg-4.8.1.ebuild,v 1.3 2012/04/18 22:06:32 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/kajongg-4.8.1.ebuild,v 1.4 2012/04/19 20:22:04 johu Exp $
EAPI=4
KDE_HANDBOOK="optional"
KMNAME="kdegames"
+PYTHON_DEPEND="2:2.6"
inherit kde4-meta python
DESCRIPTION="The classical Mah Jongg for four players"
@@ -23,6 +24,12 @@ RDEPEND="${DEPEND}
"
pkg_setup() {
+ python_set_active_version 2
python_pkg_setup
kde4-meta_pkg_setup
}
+
+src_prepare() {
+ python_convert_shebangs -r 2 kajongg/src
+ kde4-meta_src_prepare
+}
diff --git a/kde-base/kajongg/kajongg-4.8.2.ebuild b/kde-base/kajongg/kajongg-4.8.2.ebuild
index 43846562f0a0..8b3c6d2c1a83 100644
--- a/kde-base/kajongg/kajongg-4.8.2.ebuild
+++ b/kde-base/kajongg/kajongg-4.8.2.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/kajongg-4.8.2.ebuild,v 1.1 2012/04/04 23:59:07 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kajongg/kajongg-4.8.2.ebuild,v 1.2 2012/04/19 20:22:04 johu Exp $
EAPI=4
KDE_HANDBOOK="optional"
KMNAME="kdegames"
+PYTHON_DEPEND="2:2.6"
inherit kde4-meta python
DESCRIPTION="The classical Mah Jongg for four players"
@@ -23,6 +24,12 @@ RDEPEND="${DEPEND}
"
pkg_setup() {
+ python_set_active_version 2
python_pkg_setup
kde4-meta_pkg_setup
}
+
+src_prepare() {
+ python_convert_shebangs -r 2 kajongg/src
+ kde4-meta_src_prepare
+}