summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 16:59:15 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 16:59:15 +0000
commite4f29f2c6eef22bbf743d31e4840559a33656cfa (patch)
treef26bdd8e45e024a495d873dd1266ec59a2a9c6aa /app-office/openerp-server/openerp-server-5.0.6.ebuild
parentVersion bump (diff)
downloadgentoo-2-e4f29f2c6eef22bbf743d31e4840559a33656cfa.tar.gz
gentoo-2-e4f29f2c6eef22bbf743d31e4840559a33656cfa.tar.bz2
gentoo-2-e4f29f2c6eef22bbf743d31e4840559a33656cfa.zip
Use Python 2 (bug #361497).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'app-office/openerp-server/openerp-server-5.0.6.ebuild')
-rw-r--r--app-office/openerp-server/openerp-server-5.0.6.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/app-office/openerp-server/openerp-server-5.0.6.ebuild b/app-office/openerp-server/openerp-server-5.0.6.ebuild
index 71d034f9f1a5..4d86268d85f1 100644
--- a/app-office/openerp-server/openerp-server-5.0.6.ebuild
+++ b/app-office/openerp-server/openerp-server-5.0.6.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-office/openerp-server/openerp-server-5.0.6.ebuild,v 1.1 2010/12/13 11:02:20 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-server/openerp-server-5.0.6.ebuild,v 1.2 2011/04/06 16:59:15 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
inherit eutils distutils
@@ -31,6 +32,11 @@ DEPEND="${CDEPEND}"
OPENERP_USER="openerp"
OPENERP_GROUP="openerp"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_install() {
distutils_src_install