Hello community,

here is the log from the commit of package python-Mako for openSUSE:Factory 
checked in at 2016-09-20 13:22:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Mako (Old)
 and      /work/SRC/openSUSE:Factory/.python-Mako.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Mako"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Mako/python-Mako.changes  2015-07-28 
11:41:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Mako.new/python-Mako.changes     
2016-09-20 13:22:25.000000000 +0200
@@ -1,0 +2,41 @@
+Fri Sep 16 04:04:40 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 1.0.4:
+  * [test] [feature] The default test runner is now py.test. Running
+    “python setup.py test” will make use of py.test instead of
+    nose. nose still works as a test runner as well, however.
+  * [lexer] [bug] Major improvements to lexing of intricate Python
+    sections which may contain complex backslash sequences, as well as
+    support for the bitwise operator (e.g. pipe symbol) inside of
+    expression sections distinct from the Mako “filter” operator,
+    provided the operator is enclosed within parentheses or
+    brackets. Pull request courtesy Daniel Martin.
+  * [feature] Added new method Template.list_defs(). Pull request
+    courtesy Jonathan Vanasco.
+- update to version 1.0.3:
+  * Fixed an issue where the Babel plugin would not handle a
+    translation symbol that contained non-ascii characters. Pull
+    request courtesy Roman Imankulov.
+- Update to version 1.0.2
+  * The "universal wheel" marker is removed from setup.cfg, because
+    our setup.py currently makes use of conditional dependencies.
+    In :ticket:`249`, the discussion is ongoing on how to correct our
+    setup.cfg / setup.py fully so that we can handle the per-version
+    dependency changes while still maintaining optimal wheel settings,
+    so this issue is not yet fully resolved.
+  * Repair some calls within the ast module that no longer work on Python3.5;
+    additionally replace the use of ``inspect.getargspec()`` under
+    Python 3 (seems to be called from the TG plugin) to avoid deprecation
+    warnings.
+  * Update the Lingua translation extraction plugin to correctly
+    handle templates mixing Python control statements (such as if,
+    for and while) with template fragments. Pull request courtesy
+    Laurent Daverio.
+  * Added ``STOP_RENDERING`` keyword for returning/exiting from a
+    template early, which is a synonym for an empty string ``""``.
+    Previously, the docs suggested a bare
+    ``return``, but this could cause ``None`` to appear in the
+    rendered template result.
+- Implement update-alternatives
+  
+-------------------------------------------------------------------

Old:
----
  Mako-1.0.1.tar.gz

New:
----
  Mako-1.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Mako.spec ++++++
--- /var/tmp/diff_new_pack.NhDpcY/_old  2016-09-20 13:22:26.000000000 +0200
+++ /var/tmp/diff_new_pack.NhDpcY/_new  2016-09-20 13:22:26.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Mako
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,21 @@
 
 
 Name:           python-Mako
-Version:        1.0.1
+Version:        1.0.4
 Release:        0
 Url:            http://www.makotemplates.org/
 Summary:        A super-fast Python templating language
 License:        MIT
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-MarkupSafe
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-BuildRequires:  python-argparse
-%endif
 BuildRequires:  python-devel
 BuildRequires:  python-mock
-BuildRequires:  python-nose
+BuildRequires:  python-pbr
+BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
-%if 0%{?suse_version}
-Suggests:       python-Beaker >= 1.1
-%endif
+Requires:       python-Beaker >= 1.1
 Requires:       python-MarkupSafe
 Provides:       python-mako = %{version}
 Obsoletes:      python-mako < %{version}
@@ -44,6 +40,8 @@
 %else
 BuildArch:      noarch
 %endif
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
 
 %description
 Mako is a template library written in Python. It provides a familiar, non-XML 
@@ -64,17 +62,31 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%if 0%{?suse_version} > 1320
-#FIXME : the tests fail for openSUSE < to Factory
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/mako-render 
%{buildroot}%{_bindir}/mako-render-%{py_ver}
+ln -s -f %{_sysconfdir}/alternatives/mako-render 
%{buildroot}%{_bindir}/mako-render
+
+%post
+%_sbindir/update-alternatives \
+   --install %{_bindir}/mako-render mako-render 
%{_bindir}/mako-render-%{py_ver} 30
+
+%preun
+if [ $1 -eq 0 ] ; then
+    %_sbindir/update-alternatives --remove mako-render 
%{_bindir}/mako-render-%{py_ver}
+fi
+
 %check
 python setup.py test
-%endif
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES LICENSE README.rst examples
+%doc CHANGES LICENSE README.rst
+%doc examples
 %{_bindir}/mako-render
+%{_bindir}/mako-render-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/mako-render
 %{python_sitelib}/mako/
-%{python_sitelib}/Mako-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/Mako-%{version}-py*.egg-info
 
 %changelog

++++++ Mako-1.0.1.tar.gz -> Mako-1.0.4.tar.gz ++++++
++++ 23835 lines of diff (skipped)


Reply via email to