summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-05-15 20:33:29 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-05-15 20:33:29 +0000
commitc5ea7610039551c87bbe6c2f0cb97a7d0d42923f (patch)
treee9f9173f2a11a3a2db8c029e0396856343509bc2 /kde-base
parentFix dependency on ant-apache-xalan2. (diff)
downloadgentoo-2-c5ea7610039551c87bbe6c2f0cb97a7d0d42923f.tar.gz
gentoo-2-c5ea7610039551c87bbe6c2f0cb97a7d0d42923f.tar.bz2
gentoo-2-c5ea7610039551c87bbe6c2f0cb97a7d0d42923f.zip
Fix bug 312657, require python 2
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/lokalize/ChangeLog8
-rw-r--r--kde-base/lokalize/lokalize-4.4.2-r1.ebuild (renamed from kde-base/lokalize/lokalize-4.4.2.ebuild)16
-rw-r--r--kde-base/lokalize/lokalize-4.4.3.ebuild14
3 files changed, 31 insertions, 7 deletions
diff --git a/kde-base/lokalize/ChangeLog b/kde-base/lokalize/ChangeLog
index 28114c613dc2..f1526ce008cc 100644
--- a/kde-base/lokalize/ChangeLog
+++ b/kde-base/lokalize/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/lokalize
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/ChangeLog,v 1.44 2010/05/04 05:48:48 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/ChangeLog,v 1.45 2010/05/15 20:33:29 reavertm Exp $
+
+*lokalize-4.4.2-r1 (15 May 2010)
+
+ 15 May 2010; Maciej Mrozowski <reavertm@gentoo.org>
+ -lokalize-4.4.2.ebuild, +lokalize-4.4.2-r1.ebuild, lokalize-4.4.3.ebuild:
+ Fix bug 312657, require python 2
04 May 2010; Alexey Shvetsov <alexxy@gentoo.org> -lokalize-4.4.1.ebuild:
Drop KDE SC 4.4.1
diff --git a/kde-base/lokalize/lokalize-4.4.2.ebuild b/kde-base/lokalize/lokalize-4.4.2-r1.ebuild
index e1e52992e41d..f946fc09ec39 100644
--- a/kde-base/lokalize/lokalize-4.4.2.ebuild
+++ b/kde-base/lokalize/lokalize-4.4.2-r1.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/lokalize-4.4.2.ebuild,v 1.1 2010/03/30 21:56:56 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/lokalize-4.4.2-r1.ebuild,v 1.1 2010/05/15 20:33:29 reavertm Exp $
EAPI="3"
KMNAME="kdesdk"
-inherit kde4-meta
+PYTHON_DEPEND="2"
+inherit python kde4-meta
DESCRIPTION="KDE4 translation tool"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
@@ -22,7 +23,18 @@ RDEPEND="${DEPEND}
$(add_kdebase_dep pykde4)
"
+pkg_setup() {
+ kde4-meta_pkg_setup
+ python_set_active_version 2
+}
+
+src_install() {
+ kde4-meta_src_install
+ python_convert_shebangs -q -r $(python_get_version) "${ED}${PREFIX}/share/apps/${PN}"
+}
+
pkg_postinst() {
+ kde4-meta_pkg_postinst
echo
elog "To be able to autofetch KDE translations in new project wizard, install subversion client:"
elog " emerge -vau subversion"
diff --git a/kde-base/lokalize/lokalize-4.4.3.ebuild b/kde-base/lokalize/lokalize-4.4.3.ebuild
index a783864ec6e2..cdb183e989f4 100644
--- a/kde-base/lokalize/lokalize-4.4.3.ebuild
+++ b/kde-base/lokalize/lokalize-4.4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/lokalize-4.4.3.ebuild,v 1.1 2010/05/03 21:38:06 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/lokalize/lokalize-4.4.3.ebuild,v 1.2 2010/05/15 20:33:29 reavertm Exp $
EAPI="3"
@@ -23,12 +23,18 @@ RDEPEND="${DEPEND}
$(add_kdebase_dep pykde4)
"
-src_prepare() {
- python_convert_shebangs -r 2 .
- kde4-meta_src_prepare
+pkg_setup() {
+ kde4-meta_pkg_setup
+ python_set_active_version 2
+}
+
+src_install() {
+ kde4-meta_src_install
+ python_convert_shebangs -q -r $(python_get_version) "${ED}${PREFIX}/share/apps/${PN}"
}
pkg_postinst() {
+ kde4-meta_pkg_postinst
echo
elog "To be able to autofetch KDE translations in new project wizard, install subversion client:"
elog " emerge -vau subversion"