Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python3-jinja2
> python3-jinja2.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-jinja2.spec of Package python3-jinja2
# # spec file for package python3-jinja2 for Mer, based on OpenSUSE version # %define modname jinja2 Name: python3-%{modname} Version: 2.8 Release: 1 Summary: A fast and easy to use template engine written in pure Python License: BSD Group: Development/Languages/Python URL: http://jinja.pocoo.org/ Packager: Roberto Colistete Jr. <rcolistete.maemo@gmail.com> Source: Jinja2-%{version}.tar.gz BuildRequires: fdupes BuildRequires: python3-devel # BuildRequires: python-setuptools Requires: python3-markupsafe BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional sandboxed environment. If you have any exposure to other text-based template languages, such as Smarty or Django, you should feel right at home with Jinja2. It's both designer and developer friendly by sticking to Python's principles and adding functionality useful for templating environments. %define py3_ver 3.4 %define python3_sitelib %{_libdir}/python3.?/site-packages %prep %setup -q -n Jinja2-%{version} %build python3 setup.py build sed -i 's/\r$//' LICENSE # Fix wrong EOL encoding %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes %{buildroot}%{_prefix} %files %defattr(-,root,root,-) %doc AUTHORS CHANGES LICENSE artwork examples %{python3_sitelib}/jinja2/ %{python3_sitelib}/Jinja2-%{version}-py%{py3_ver}.egg-info %changelog * Mon Aug 15 2016 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 2.8 - (Python 3) jinja2 2.8 (26/07/2015) version for Mer : - * first release (15/08/2016). * Mon May 05 2014 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 2.7.2 - jinja2 2.7.2 (10/01/2014) version for Mer : - * first release (05/05/2014).