diff --git a/Mako-0.7.0.tar.gz b/Mako-0.7.0.tar.gz deleted file mode 100644 index 5bbc603..0000000 --- a/Mako-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2a0acef46ab00d355c668addac08b51712e26741c21f7329de6ce8e8fc229f8e -size 398315 diff --git a/Mako-0.7.3.tar.gz b/Mako-0.7.3.tar.gz new file mode 100644 index 0000000..c89706a --- /dev/null +++ b/Mako-0.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49842441d24d88d0ecfc38686d021cb3b1bee7abfc541e9fc7345e4620deeab6 +size 401794 diff --git a/python-Mako.changes b/python-Mako.changes index 0e1731c..1484861 100644 --- a/python-Mako.changes +++ b/python-Mako.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Thu Nov 22 14:53:41 UTC 2012 - saschpe@suse.de + +- Update to version 0.7.3: + + [bug] legacy_html_escape function, used when + Markupsafe isn't installed, was using an inline-compiled + regexp which causes major slowdowns on Python 3.3; + is now precompiled. + + [bug] AST supporting now supports tuple-packed + function arguments inside pure-python def + or lambda expressions. + + [bug] Fixed Py3K bug in the Babel extension. + + [bug] Fixed the "filter" attribute of the + <%text> tag so that it pulls locally specified + identifiers from the context the same + way as that of <%block> and <%filter>. + + [bug] Fixed bug in plugin loader to correctly + raise exception when non-existent plugin + is specified. +- Changes from version 0.7.2: + + [bug] Fixed regression in 0.7.1 where AST + parsing for Py2.4 was broken. +- Changes from version 0.7.1: + + [feature] Control lines with no bodies will + now succeed, as "pass" is added for these + when no statements are otherwise present. + + [bug] Fixed some long-broken scoping behavior + involving variables declared in defs and such, + which only became apparent when + the strict_undefined flag was turned on. + + [bug] Can now use strict_undefined at the + same time args passed to def() are used + by other elements of the <%def> tag. +- Don't give the Python2 binary the prefix "python3" + ------------------------------------------------------------------- Fri May 25 08:33:12 UTC 2012 - toddrme2178@gmail.com diff --git a/python-Mako.spec b/python-Mako.spec index bf4ded0..bc70e24 100644 --- a/python-Mako.spec +++ b/python-Mako.spec @@ -16,9 +16,8 @@ # - Name: python-Mako -Version: 0.7.0 +Version: 0.7.3 Release: 0 Url: http://www.makotemplates.org/ Summary: A super-fast Python templating language @@ -26,21 +25,19 @@ License: MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-MarkupSafe BuildRequires: python-devel BuildRequires: python-distribute -BuildRequires: python-MarkupSafe BuildRequires: python-nose Requires: python-Beaker >= 1.1 Requires: python-MarkupSafe -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -%endif Provides: python-mako = %{version} Obsoletes: python-mako < %{version} -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif %description Mako is a template library written in Python. It provides a familiar, non-XML @@ -60,7 +57,6 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -mv %{buildroot}%{_bindir}/mako-render %{buildroot}%{_bindir}/mako-render-python%{py3_ver} %check python setup.py test @@ -68,7 +64,7 @@ python setup.py test %files %defattr(-,root,root,-) %doc CHANGES LICENSE README.rst examples -%{_bindir}/mako-render-python%{py3_ver} +%{_bindir}/mako-render %{python_sitelib}/mako/ %{python_sitelib}/Mako-%{version}-py%{py_ver}.egg-info diff --git a/python3-Mako.changes b/python3-Mako.changes index d898097..38e8332 100644 --- a/python3-Mako.changes +++ b/python3-Mako.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Thu Nov 22 14:55:24 UTC 2012 - saschpe@suse.de + +- Update to version 0.7.3: + + [bug] legacy_html_escape function, used when + Markupsafe isn't installed, was using an inline-compiled + regexp which causes major slowdowns on Python 3.3; + is now precompiled. + + [bug] AST supporting now supports tuple-packed + function arguments inside pure-python def + or lambda expressions. + + [bug] Fixed Py3K bug in the Babel extension. + + [bug] Fixed the "filter" attribute of the + <%text> tag so that it pulls locally specified + identifiers from the context the same + way as that of <%block> and <%filter>. + + [bug] Fixed bug in plugin loader to correctly + raise exception when non-existent plugin + is specified. +- Changes from version 0.7.2: + + [bug] Fixed regression in 0.7.1 where AST + parsing for Py2.4 was broken. +- Changes from version 0.7.1: + + [feature] Control lines with no bodies will + now succeed, as "pass" is added for these + when no statements are otherwise present. + + [bug] Fixed some long-broken scoping behavior + involving variables declared in defs and such, + which only became apparent when + the strict_undefined flag was turned on. + + [bug] Can now use strict_undefined at the + same time args passed to def() are used + by other elements of the <%def> tag. +- The binary suffix for Python3 should be "-%{py3_ver}" +- No need to require a specific Python ABI, RPM does that for you + ------------------------------------------------------------------- Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com diff --git a/python3-Mako.spec b/python3-Mako.spec index 36218dc..98406a3 100644 --- a/python3-Mako.spec +++ b/python3-Mako.spec @@ -16,9 +16,8 @@ # - Name: python3-Mako -Version: 0.7.0 +Version: 0.7.3 Release: 0 Url: http://www.makotemplates.org/ Summary: A super-fast Python templating language @@ -26,16 +25,14 @@ License: MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3-2to3 +BuildRequires: python3-MarkupSafe BuildRequires: python3-devel BuildRequires: python3-distribute -BuildRequires: python3-MarkupSafe BuildRequires: python3-nose -BuildRequires: python3-2to3 Requires: python3-Beaker >= 1.1 Requires: python3-MarkupSafe -Requires: python(abi) = %{py3_ver} -BuildArch: noarch - +BuildArch: noarch %description Mako is a template library written in Python. It provides a familiar, non-XML @@ -56,14 +53,15 @@ python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -mv %{buildroot}%{_bindir}/mako-render %{buildroot}%{_bindir}/mako-render-python%{py3_ver} +mv %{buildroot}%{_bindir}/mako-render %{buildroot}%{_bindir}/mako-render-%{py3_ver} + %check python3 setup.py test %files %defattr(-,root,root,-) %doc CHANGES LICENSE README.rst examples -%{_bindir}/mako-render-python%{py3_ver} +%{_bindir}/mako-render-%{py3_ver} %{python3_sitelib}/mako/ %{python3_sitelib}/Mako-%{version}-py%{py3_ver}.egg-info