rpms/python-jinja/F-8 python-jinja-docs.patch, NONE, 1.1 python-jinja.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thomas Moschny (thm) fedora-extras-commits at redhat.com
Wed Mar 12 22:21:03 UTC 2008


Author: thm

Update of /cvs/pkgs/rpms/python-jinja/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10357/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	python-jinja-docs.patch python-jinja.spec 
Log Message:
Initial import for F-8.

python-jinja-docs.patch:

--- NEW FILE python-jinja-docs.patch ---
--- setup.py~	2007-11-17 18:13:24.000000000 +0100
+++ setup.py	2008-03-11 00:12:00.000000000 +0100
@@ -78,10 +78,10 @@
     ],
     keywords=['python.templating.engines'],
     packages=['jinja', 'jinja.translators'],
-    data_files=[
-        ('docs/html', list(list_files('docs/html'))),
-        ('docs/txt', list(list_files('docs/src')))
-    ],
+    #data_files=[
+    #    ('docs/html', list(list_files('docs/html'))),
+    #    ('docs/txt', list(list_files('docs/src')))
+    #],
     entry_points='''
     [python.templating.engines]
     jinja = jinja.plugin:BuffetPlugin


--- NEW FILE python-jinja.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:		python-jinja
Version:	1.2
Release:	1%{?dist}
Summary:	Sandboxed template engine

Group:		Development/Languages
License:	BSD
URL:		http://jinja.pocoo.org/
Source0:	http://pypi.python.org/packages/source/J/Jinja/Jinja-%{version}.tar.gz
Patch0:		%{name}-docs.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	python-devel

%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif

%description
Jinja is a sandboxed template engine written in pure Python. It
provides a Django-like non-XML syntax and compiles templates into
executable python code. It's basically a combination of Django
templates and python code.


%prep
%setup -q -n Jinja-%{version}
%patch0 -p0 -b .docs


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

# fix EOL
sed -i 's|\r$||g' LICENSE


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE TODO docs/html
%{python_sitearch}/*


%changelog
* Tue Mar 11 2008 Thomas Moschny <thomas.moschny at gmx.de> - 1.2-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Mar 2008 17:33:52 -0000	1.1
+++ .cvsignore	12 Mar 2008 22:19:51 -0000	1.2
@@ -0,0 +1 @@
+Jinja-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-jinja/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Mar 2008 17:33:52 -0000	1.1
+++ sources	12 Mar 2008 22:19:51 -0000	1.2
@@ -0,0 +1 @@
+1235a005ade00b213800ff1e798c0241  Jinja-1.2.tar.gz




More information about the fedora-extras-commits mailing list