update to 0.9.1 [release 0.9.1-1mamba;Sun Jan 12 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 11:25:37 +01:00
parent 6d90d05dca
commit e6c0d55692
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# python-mako # python-mako
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance.
Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.

81
python-mako.spec Normal file
View File

@ -0,0 +1,81 @@
Name: python-mako
Version: 0.9.1
Release: 1mamba
Summary: A super-fast templating language that borrows the best ideas from the existing templating languages
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.makotemplates.org/
Source: https://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz
#Source: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel >= %python_version
## AUTOBUILDREQ-END
BuildRequires: python-setuptools-devel
Requires: python >= %python_version
Requires: python-beaker
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Mako is a template library written in Python. It provides a familiar, non-XML syntax which compiles into Python modules for maximum performance.
Mako's syntax and API borrows from the best ideas of many others, including Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python calling and scoping semantics.
%prep
%setup -q -n Mako-%{version}
%build
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/mako-render
%dir %{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info
%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/PKG-INFO
%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/*.txt
%{python_sitearch}/Mako-%{version}-py%{python_version}.egg-info/not-zip-safe
%dir %{python_sitearch}/mako
%{python_sitearch}/mako/*.py
%{python_sitearch}/mako/*.pyc
%dir %{python_sitearch}/mako/ext
%{python_sitearch}/mako/ext/*.py
%{python_sitearch}/mako/ext/*.pyc
%doc LICENSE
#CHANGES README doc examples
%changelog
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- update to 0.9.1
* Sat Sep 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic version update by autodist
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-2mamba
- python 2.7 mass rebuild
* Wed Apr 24 2013 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Wed Mar 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.3-1mamba
- update to 0.7.3
* Sat May 01 2010 gil <puntogil@libero.it> 0.3.2-1mamba
- update to 0.3.2
* Fri Nov 27 2009 gil <puntogil@libero.it> 0.2.5-1mamba
- package created by autospec