Add patch for issue #259.
This commit is contained in:
parent
f17e963ca9
commit
78ead1913c
25
99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
Normal file
25
99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 99d0f3165ace0befd9eafd661be6e0c23d5f9ba5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Gabi Davar <grizzly.nyo@gmail.com>
|
||||||
|
Date: Fri, 16 Aug 2013 16:18:35 +0300
|
||||||
|
Subject: [PATCH] align jinjaext with the rest of the computability cleanups
|
||||||
|
|
||||||
|
---
|
||||||
|
docs/jinjaext.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/docs/jinjaext.py b/docs/jinjaext.py
|
||||||
|
index 8395a55..3c217f8 100644
|
||||||
|
--- a/docs/jinjaext.py
|
||||||
|
+++ b/docs/jinjaext.py
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
from pygments.token import Keyword, Name, Comment, String, Error, \
|
||||||
|
Number, Operator, Generic
|
||||||
|
from jinja2 import Environment, FileSystemLoader
|
||||||
|
-from jinja2.utils import next
|
||||||
|
+from jinja2._compat import next
|
||||||
|
|
||||||
|
|
||||||
|
def parse_rst(state, content_offset, doc):
|
||||||
|
--
|
||||||
|
1.8.1.6
|
||||||
|
|
@ -16,6 +16,8 @@ Group: Development/Languages
|
|||||||
License: BSD
|
License: BSD
|
||||||
URL: http://jinja.pocoo.org/
|
URL: http://jinja.pocoo.org/
|
||||||
Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
Source0: http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
|
||||||
|
# see https://github.com/mitsuhiko/jinja2/pull/259
|
||||||
|
Patch0: 99d0f3165ace0befd9eafd661be6e0c23d5f9ba5.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
@ -68,6 +70,7 @@ environments.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Jinja2-%{version}
|
%setup -q -n Jinja2-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
find . -name '*.pyo' -o -name '*.pyc' -delete
|
find . -name '*.pyo' -o -name '*.pyc' -delete
|
||||||
|
Loading…
Reference in New Issue
Block a user