automatic version update by autodist [release 1.0.5-1mamba;Fri Nov 04 2016]

This commit is contained in:
Automatic Build System 2024-01-06 11:25:37 +01:00
parent 2dee6f5807
commit 0a289395e1

View File

@ -1,5 +1,5 @@
Name: python-mako
Version: 1.0.4
Version: 1.0.5
Release: 1mamba
Summary: A super-fast templating language that borrows the best ideas from the existing templating languages
Group: System/Libraries/Python
@ -7,7 +7,7 @@ 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: https://pypi.debian.net/Mako/Mako-%{version}.tar.gz
#Source: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
@ -15,15 +15,19 @@ BuildRequires: libpython-devel >= %python_version
## AUTOBUILDREQ-END
BuildRequires: python-setuptools-devel
Requires: python >= %python_version
Requires: python-beaker
Requires: python-beaker%{?pyappend}
Requires: python-markupsafe%{?pyappend}
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
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n Mako-%{version}
%build
@ -34,28 +38,30 @@ Mako's syntax and API borrows from the best ideas of many others, including Djan
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
%if 0%{?with_pyver}
# conflicting
rm -f %{buildroot}%{_bindir}/mako-render
sed -i "/mako-render/d" %{name}.filelist
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%files %{?pyappend} -f %{name}.filelist
%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
* Fri Nov 04 2016 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
- automatic version update by autodist
* Fri Aug 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-2mamba
- added -py3 package
* Fri Mar 11 2016 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
- automatic version update by autodist