summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 17:06:48 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-06 17:06:48 +0000
commit348b85cc404ea02fc03c9182086640b022f3fa23 (patch)
tree1ebab205fee812ce24717b6382e32e99918c18e3 /app-office/openerp-web
parentUse Python 2 (bug #361497). (diff)
downloadgentoo-2-348b85cc404ea02fc03c9182086640b022f3fa23.tar.gz
gentoo-2-348b85cc404ea02fc03c9182086640b022f3fa23.tar.bz2
gentoo-2-348b85cc404ea02fc03c9182086640b022f3fa23.zip
Use Python 2 (bug #361499).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'app-office/openerp-web')
-rw-r--r--app-office/openerp-web/ChangeLog6
-rw-r--r--app-office/openerp-web/openerp-web-5.0.15.ebuild12
-rw-r--r--app-office/openerp-web/openerp-web-5.0.6.ebuild14
3 files changed, 26 insertions, 6 deletions
diff --git a/app-office/openerp-web/ChangeLog b/app-office/openerp-web/ChangeLog
index 8cbf64ce9a8e..9160cd16137c 100644
--- a/app-office/openerp-web/ChangeLog
+++ b/app-office/openerp-web/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/openerp-web
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/ChangeLog,v 1.2 2011/01/06 08:14:03 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/ChangeLog,v 1.3 2011/04/06 17:06:47 arfrever Exp $
+
+ 06 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ openerp-web-5.0.6.ebuild, openerp-web-5.0.15.ebuild:
+ Use Python 2 (bug #361499).
*openerp-web-5.0.15 (06 Jan 2011)
diff --git a/app-office/openerp-web/openerp-web-5.0.15.ebuild b/app-office/openerp-web/openerp-web-5.0.15.ebuild
index 94837b0b517f..74a321ef2ee9 100644
--- a/app-office/openerp-web/openerp-web-5.0.15.ebuild
+++ b/app-office/openerp-web/openerp-web-5.0.15.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/openerp-web-5.0.15.ebuild,v 1.1 2011/01/06 08:14:03 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/openerp-web-5.0.15.ebuild,v 1.2 2011/04/06 17:06:48 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
inherit eutils distutils
@@ -25,6 +26,13 @@ CDEPEND="=dev-python/cherrypy-3.1*
RDEPEND="${CDEPEND}"
DEPEND="${CDEPEND}"
+PYTHON_MODNAME="openerp"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
epatch "${FILESDIR}/gentoo.patch"
}
diff --git a/app-office/openerp-web/openerp-web-5.0.6.ebuild b/app-office/openerp-web/openerp-web-5.0.6.ebuild
index a0ff49de3f14..b44300a6eca9 100644
--- a/app-office/openerp-web/openerp-web-5.0.6.ebuild
+++ b/app-office/openerp-web/openerp-web-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-web/openerp-web-5.0.6.ebuild,v 1.2 2010/12/13 15:41:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openerp-web/openerp-web-5.0.6.ebuild,v 1.3 2011/04/06 17:06:48 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
inherit eutils distutils
@@ -27,6 +28,13 @@ DEPEND="${CDEPEND}"
S="${WORKDIR}/openerp-client-web-${PV}"
+PYTHON_MODNAME="openerp"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_install() {
distutils_src_install