rpms/python-jinja2/devel .cvsignore, 1.5, 1.6 import.log, 1.4, 1.5 python-jinja2.spec, 1.7, 1.8 sources, 1.5, 1.6
Thomas Moschny
thm at fedoraproject.org
Tue Feb 23 22:48:10 UTC 2010
Author: thm
Update of /cvs/pkgs/rpms/python-jinja2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13007/devel
Modified Files:
.cvsignore import.log python-jinja2.spec sources
Log Message:
- Update to 2.3.1.
- Docs are built using Sphinx now.
- Run the testsuite.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja2/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore 20 Sep 2009 16:10:00 -0000 1.5
+++ .cvsignore 23 Feb 2010 22:48:10 -0000 1.6
@@ -1 +1 @@
-Jinja2-2.2.1.tar.gz
+Jinja2-2.3.1.tar.gz
Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja2/devel/import.log,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- import.log 20 Sep 2009 16:10:00 -0000 1.4
+++ import.log 23 Feb 2010 22:48:10 -0000 1.5
@@ -2,3 +2,4 @@ python-jinja2-2_0-2_fc9:HEAD:python-jinj
python-jinja2-2_1-1_fc10:HEAD:python-jinja2-2.1-1.fc10.src.rpm:1229610786
python-jinja2-2_1_1-1_fc10:HEAD:python-jinja2-2.1.1-1.fc10.src.rpm:1231601194
python-jinja2-2_2_1-1_fc11:HEAD:python-jinja2-2.2.1-1.fc11.src.rpm:1253462191
+python-jinja2-2_3_1-1_fc12:HEAD:python-jinja2-2.3.1-1.fc12.src.rpm:1266965250
Index: python-jinja2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja2/devel/python-jinja2.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- python-jinja2.spec 20 Sep 2009 16:10:00 -0000 1.7
+++ python-jinja2.spec 23 Feb 2010 22:48:10 -0000 1.8
@@ -1,7 +1,7 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-jinja2
-Version: 2.2.1
+Version: 2.3.1
Release: 1%{?dist}
Summary: General purpose template engine
Group: Development/Languages
@@ -11,8 +11,10 @@ Source0: http://pypi.python.org/packages
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: python-setuptools-devel
+BuildRequires: python-sphinx
Requires: python-babel >= 0.8
+
%description
Jinja2 is a template engine written in pure Python. It provides a
Django inspired non-XML syntax but supports inline expressions and an
@@ -28,9 +30,13 @@ environments.
%prep
%setup -q -n Jinja2-%{version}
+# fix EOL
+sed -i 's|\r$||g' LICENSE
+
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py --with-speedups build
+make -C docs html
%install
@@ -38,9 +44,6 @@ rm -rf %{buildroot}
%{__python} setup.py --with-speedups install -O1 --skip-build \
--root %{buildroot}
-# fix EOL
-sed -i 's|\r$||g' LICENSE
-
# ensure correct permission
chmod 0755 %{buildroot}%{python_sitearch}/jinja2/_speedups.so
@@ -52,14 +55,25 @@ rm -rf docs/_build/html/.buildinfo
rm -rf %{buildroot}
+%check
+make test
+
+
%files
%defattr(-,root,root,-)
-%doc AUTHORS CHANGES LICENSE TODO
-%doc docs/_build/html ext
+%doc AUTHORS CHANGES LICENSE
+%doc docs/_build/html
+%doc ext
%{python_sitearch}/*
+%exclude %{python_sitearch}/jinja2/_speedups.c
%changelog
+* Tue Feb 23 2010 Thomas Moschny <thomas.moschny at gmx.de> - 2.3.1-1
+- Update to 2.3.1.
+- Docs are built using Sphinx now.
+- Run the testsuite.
+
* Sat Sep 19 2009 Thomas Moschny <thomas.moschny at gmx.de> - 2.2.1-1
- Update to 2.2.1, mainly a bugfix release.
- Remove patch no longer needed.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja2/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sources 20 Sep 2009 16:10:00 -0000 1.5
+++ sources 23 Feb 2010 22:48:10 -0000 1.6
@@ -1 +1 @@
-fea849d68891218eb0b21c170f1c32d5 Jinja2-2.2.1.tar.gz
+391c7dd06c62dfe7e30ebaad7af0a401 Jinja2-2.3.1.tar.gz
More information about the scm-commits
mailing list