diff options
author | Rob Cakebread <pythonhead@gentoo.org> | 2007-04-06 06:46:33 +0000 |
---|---|---|
committer | Rob Cakebread <pythonhead@gentoo.org> | 2007-04-06 06:46:33 +0000 |
commit | 6d3d9b1856e1f1269e0efd762a1de0cc117d7519 (patch) | |
tree | a76ef1713b1a4527f3ca1e1f0c30f46602532793 /dev-python/turbogears | |
parent | ppc stable, bug #129395 (diff) | |
download | gentoo-2-6d3d9b1856e1f1269e0efd762a1de0cc117d7519.tar.gz gentoo-2-6d3d9b1856e1f1269e0efd762a1de0cc117d7519.tar.bz2 gentoo-2-6d3d9b1856e1f1269e0efd762a1de0cc117d7519.zip |
Patch to support Python 2.5
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-python/turbogears')
-rw-r--r-- | dev-python/turbogears/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/turbogears/files/turbogears-1.0.1-py25.diff | 11 | ||||
-rw-r--r-- | dev-python/turbogears/turbogears-1.0.1.ebuild | 5 |
3 files changed, 19 insertions, 3 deletions
diff --git a/dev-python/turbogears/ChangeLog b/dev-python/turbogears/ChangeLog index 4d018712998d..0eb5891f62cd 100644 --- a/dev-python/turbogears/ChangeLog +++ b/dev-python/turbogears/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/turbogears # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/ChangeLog,v 1.1 2007/02/28 00:32:40 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/ChangeLog,v 1.2 2007/04/06 06:46:33 pythonhead Exp $ + + 06 Apr 2007; Rob Cakebread <pythonhead@gentoo.org> + +files/turbogears-1.0.1-py25.diff, turbogears-1.0.1.ebuild: + Patch to support Python 2.5 05 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> -turbogears-1.0_beta2.ebuild, +turbogears-1.0.1.ebuild, +metadata.xml: diff --git a/dev-python/turbogears/files/turbogears-1.0.1-py25.diff b/dev-python/turbogears/files/turbogears-1.0.1-py25.diff new file mode 100644 index 000000000000..2dc5b8997167 --- /dev/null +++ b/dev-python/turbogears/files/turbogears-1.0.1-py25.diff @@ -0,0 +1,11 @@ +--- turbogears/widgets/meta.py.OLD 2007-02-06 21:39:39.500000000 +0100 ++++ turbogears/widgets/meta.py 2007-02-06 21:34:29.421875000 +0100 +@@ -70,7 +70,7 @@ + dct["__init__"] = _decorate_widget_init(dct["__init__"]) + cls.__init__ = dct["__init__"] + super(MetaWidget, cls).__init__(name, bases, dct) +- modname = "%s.%s.Template" % (cls.__module__, name) ++ modname = "%s.%s" % (cls.__module__, name) + if cls.template: + (cls.template_c, + cls.template) = load_kid_template(cls.template, modname) diff --git a/dev-python/turbogears/turbogears-1.0.1.ebuild b/dev-python/turbogears/turbogears-1.0.1.ebuild index 90f449c2e16e..e53d0c5fb6ec 100644 --- a/dev-python/turbogears/turbogears-1.0.1.ebuild +++ b/dev-python/turbogears/turbogears-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.1.ebuild,v 1.1 2007/02/28 00:32:40 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.1.ebuild,v 1.2 2007/04/06 06:46:33 pythonhead Exp $ NEED_PYTHON=2.4 @@ -42,7 +42,8 @@ DOCS="CHANGELOG.txt CONTRIBUTORS.txt" src_unpack() { unpack ${A} cd "${S}" - + #Make Turbogears work with Python 2.5 + epatch ${FILESDIR}/${P}-py25.diff sed -i \ -e '/install_requires = \[.*\],/d' \ -e '/install_requires/, /],/d' \ |