Hello community,
here is the log from the commit of package python-Cheetah3 for
openSUSE:Leap:15.2 checked in at 2020-02-25 12:18:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-Cheetah3 (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-Cheetah3.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Cheetah3"
Tue Feb 25 12:18:13 2020 rev:15 rq:778882 version:3.2.4
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-Cheetah3/python-Cheetah3.changes
2020-01-15 15:45:53.895338986 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-Cheetah3.new.26092/python-Cheetah3.changes
2020-02-25 12:18:20.520576563 +0100
@@ -1,0 +2,60 @@
+Mon Oct 7 13:22:56 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.2.4:
+ * Import from collections for Python 2, from collections.abc for Python 3.
+ * Fixed infinite recursion in ImportManager on importing module _bootlocale
inside open().
+
+-------------------------------------------------------------------
+Thu May 23 08:00:15 UTC 2019 - [email protected]
+
+- version update to 3.2.3
+ - Fixed infinite recursion in ``ImportManager`` on importing
+ a builtin module.
+ - The site https://cheetahtemplate.org/ is now served with HTTPS.
+ - Updated docs regarding fixed tests.
+
+-------------------------------------------------------------------
+Tue May 21 09:17:11 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Do not provide Cheetah3 namespace on python2, if someone wants
+ Cheetah3 binary they need the python3 variant anyway
+
+-------------------------------------------------------------------
+Fri May 3 11:57:28 UTC 2019 - Martin Pluskal <[email protected]>
+
+- Update to version 3.2.2:
+ * Replaced outdated and insecure mktemp with mkstemp.
+ * Fixed bugs in TemplateCmdLineIface.py: read binary pickles from
+ stdin and files.
+ * Use cgi.escape() for Python 2, html.escape() for Python 3.
+ * Created tests for TemplateCmdLineIface.
+- Update test dependencies
+
+-------------------------------------------------------------------
+Thu Mar 21 15:35:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Enable py2 as it supports python2
+- Update to 3.2.1:
+ * Changed LoadTemplate.loadTemplate{Module,Class}: the loaded module’s
__name__ set to just the file name.
+ * Use imp for Python 2, importlib for Python 3.
+ * Fix a bug in LoadTemplate.loadTemplate{Module,Class}: raise ImportError if
the template was not found.
+
+-------------------------------------------------------------------
+Tue Mar 5 12:14:57 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.2.0:
+ * Dropped support for Python 3.3.
+ * Implement LoadTemplate.loadTemplate{Module,Class} to load templates from
.py[co], .py or .tmpl.
+ * CheetahDirOwner caches compiled template in the template directory.
+ * CheetahDirOwner now silently ignores errors on compiled templates writing.
To get tracebacks set CheetahDirOwner.debuglevel = 1.
+ * CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo.
Errors on writing are silently ignored.
+ * Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under
Python 3.
+ * Fix a bug in Compiler.__str__: under Python 2 the method now always
returns str; it encodes unicode to str using encoding from the compiled source.
Under Python 3 the method decodes bytes to str.
+- Execute tests
+
+-------------------------------------------------------------------
+Mon Dec 10 12:39:18 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Fix fdupes call
+
+-------------------------------------------------------------------
Old:
----
Cheetah3-3.1.0.tar.gz
New:
----
Cheetah3-3.2.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Cheetah3.spec ++++++
--- /var/tmp/diff_new_pack.CconZ9/_old 2020-02-25 12:18:21.420578428 +0100
+++ /var/tmp/diff_new_pack.CconZ9/_new 2020-02-25 12:18:21.424578436 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-Cheetah3
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,26 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Cheetah3
-Version: 3.1.0
+Version: 3.2.4
Release: 0
Summary: Template engine and code generation tool
License: MIT
Group: Development/Languages/Python
URL: http://cheetahtemplate.org/
Source:
https://files.pythonhosted.org/packages/source/C/Cheetah3/Cheetah3-%{version}.tar.gz
+BuildRequires: %{python_module Markdown}
+BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Conflicts: python-Cheetah
+%ifpython3
Provides: Cheetah3 = %{version}
+%endif
%python_subpackages
%description
@@ -51,7 +54,12 @@
%install
%python_install
-%fdupes %{buildroot}/%{_prefix}
+%python_expand rm -r %{buildroot}%{$python_sitearch}/Cheetah/Tests
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+
+%check
+export PYTHONDONTWRITEBYTECODE=1
+%python_expand PATH=$PATH:%{buildroot}%{_bindir} PYTHONPATH=$(pwd) $python
Cheetah/Tests/Test.py
%files %{python_files}
%license LICENSE
++++++ Cheetah3-3.1.0.tar.gz -> Cheetah3-3.2.4.tar.gz ++++++
++++ 69190 lines of diff (skipped)