[packages/python-jinja2] - updated to 2.7.2 - added docs patch (fixes docs build)
qboosh
qboosh at pld-linux.org
Tue Jan 28 16:39:21 CET 2014
commit 716e402753b02fc48a20333f1d84b7bff261f774
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 28 16:40:47 2014 +0100
- updated to 2.7.2
- added docs patch (fixes docs build)
python-jinja2-docs.patch | 11 +++++++++++
python-jinja2.spec | 10 ++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/python-jinja2.spec b/python-jinja2.spec
index 56067a6..99d833b 100644
--- a/python-jinja2.spec
+++ b/python-jinja2.spec
@@ -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}
diff --git a/python-jinja2-docs.patch b/python-jinja2-docs.patch
new file mode 100644
index 0000000..0300264
--- /dev/null
+++ b/python-jinja2-docs.patch
@@ -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):
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jinja2.git/commitdiff/716e402753b02fc48a20333f1d84b7bff261f774
More information about the pld-cvs-commit
mailing list