]> git.pld-linux.org Git - packages/python-jinja2.git/commitdiff
- updated to 2.7.2 auto/th/python-jinja2-2.7.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Jan 2014 15:40:47 +0000 (16:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Jan 2014 15:40:47 +0000 (16:40 +0100)
- added docs patch (fixes docs build)

python-jinja2-docs.patch [new file with mode: 0644]
python-jinja2.spec

diff --git a/python-jinja2-docs.patch b/python-jinja2-docs.patch
new file mode 100644 (file)
index 0000000..0300264
--- /dev/null
@@ -0,0 +1,11 @@
+--- Jinja2-2.7.2/docs/jinjaext.py.orig 2014-01-10 11:14:43.000000000 +0100
++++ Jinja2-2.7.2/docs/jinjaext.py      2014-01-28 16:34:30.621212862 +0100
+@@ -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):
index 56067a6140272f8e64deffa6c923d6054af6f9ca..99d833bf4b6b1190c93997ef448c5739110339c3 100644 (file)
@@ -8,12 +8,13 @@
 Summary:       Jinja2 Template engine for Python 2.x
 Summary(pl.UTF-8):     Silnik szablonów Jinja2 dla Pythona 2.x
 Name:          python-%{module}
-Version:       2.7.1
-Release:       4
+Version:       2.7.2
+Release:       1
 License:       BSD
 Group:         Development/Languages/Python
-Source0:       http://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
-# Source0-md5: 282aed153e69f970d6e76f78ed9d027a
+Source0:       https://pypi.python.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
+# Source0-md5: df1581455564e97010e38bc792012aa5
+Patch0:                %{name}-docs.patch
 URL:           http://jinja.pocoo.org/
 BuildRequires: rpm-pythonprov
 %if %{with python2}
@@ -75,6 +76,7 @@ Dokumentacja API silnika szablonów Jinja2.
 
 %prep
 %setup -q -n Jinja2-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
This page took 0.065898 seconds and 4 git commands to generate.