Hello community,
here is the log from the commit of package python-Cheetah3 for openSUSE:Factory
checked in at 2019-03-22 15:10:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Cheetah3 (Old)
and /work/SRC/openSUSE:Factory/.python-Cheetah3.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Cheetah3"
Fri Mar 22 15:10:33 2019 rev:4 rq:687395 version:3.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Cheetah3/python-Cheetah3.changes
2019-01-03 18:06:24.300152254 +0100
+++
/work/SRC/openSUSE:Factory/.python-Cheetah3.new.25356/python-Cheetah3.changes
2019-03-22 15:10:37.921325059 +0100
@@ -1,0 +2,22 @@
+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
+
+-------------------------------------------------------------------
Old:
----
Cheetah3-3.1.0.tar.gz
New:
----
Cheetah3-3.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Cheetah3.spec ++++++
--- /var/tmp/diff_new_pack.r7tdwV/_old 2019-03-22 15:10:38.877324232 +0100
+++ /var/tmp/diff_new_pack.r7tdwV/_new 2019-03-22 15:10:38.901324211 +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
@@ -16,10 +16,9 @@
#
-%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Cheetah3
-Version: 3.1.0
+Version: 3.2.1
Release: 0
Summary: Template engine and code generation tool
License: MIT
@@ -51,8 +50,13 @@
%install
%python_install
+%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
%doc ANNOUNCE.rst README.rst BUGS
++++++ Cheetah3-3.1.0.tar.gz -> Cheetah3-3.2.1.tar.gz ++++++
++++ 34282 lines of diff (skipped)