diff options
-rw-r--r-- | dev-python/colubrid/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/colubrid/colubrid-0.10-r1.ebuild | 24 | ||||
-rw-r--r-- | dev-python/colubrid/files/colubrid-0.10.patch | 17 |
3 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/colubrid/ChangeLog b/dev-python/colubrid/ChangeLog index 3c8eaaaf9148..7c13e11a7349 100644 --- a/dev-python/colubrid/ChangeLog +++ b/dev-python/colubrid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/colubrid # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/colubrid/ChangeLog,v 1.1 2008/03/09 10:10:28 antarus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/colubrid/ChangeLog,v 1.2 2008/03/18 13:17:13 antarus Exp $ + +*colubrid-0.10-r1 (18 Mar 2008) + + 18 Mar 2008; Alec Warner <antarus@gentoo.org> +files/colubrid-0.10.patch, + +colubrid-0.10-r1.ebuild: + Fix bug in colubrid RoutesApplication *colubrid-0.10 (09 Mar 2008) diff --git a/dev-python/colubrid/colubrid-0.10-r1.ebuild b/dev-python/colubrid/colubrid-0.10-r1.ebuild new file mode 100644 index 000000000000..472e5e1c6c3e --- /dev/null +++ b/dev-python/colubrid/colubrid-0.10-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/colubrid/colubrid-0.10-r1.ebuild,v 1.1 2008/03/18 13:17:13 antarus Exp $ + +inherit distutils + +DESCRIPTION="Colubrid is a set of tools around the WSGI standard." +HOMEPAGE="http://wsgiarea.pocoo.org/colubrid/" +MY_P="Colubrid-${PV}" +SRC_URI="http://wsgiarea.pocoo.org/colubrid/dist/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +DEPEND="" +RDEPEND="" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack $A + cd "$S" + epatch "${FILESDIR}"/${P}.patch +} diff --git a/dev-python/colubrid/files/colubrid-0.10.patch b/dev-python/colubrid/files/colubrid-0.10.patch new file mode 100644 index 000000000000..aa0b25286cfa --- /dev/null +++ b/dev-python/colubrid/files/colubrid-0.10.patch @@ -0,0 +1,17 @@ +--- colubrid/application.py 2006-08-30 06:03:31.000000000 -0700 ++++ colubrid/application.py 2008-03-09 04:37:59.204620929 -0700 +@@ -354,6 +354,8 @@ + return RoutesRequest(self, e, s, c) + super(RoutesApplication, self).__init__(environ, start_response, + create_request) ++ ++ def process_request(self): + path = self.request.environ.get('PATH_INFO') or '/' + match = self._routes_mapper.match(path) + if match is None: +@@ -367,5 +369,4 @@ + del match['action'] + del match['controller'] + +- # XXX: can't return from __init__ + return handler(app, **match) |