Hello community,

here is the log from the commit of package python-Kajiki for openSUSE:Factory 
checked in at 2017-08-18 15:00:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Kajiki (Old)
 and      /work/SRC/openSUSE:Factory/.python-Kajiki.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Kajiki"

Fri Aug 18 15:00:56 2017 rev:6 rq:509185 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Kajiki/python-Kajiki.changes      
2013-10-25 11:20:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Kajiki.new/python-Kajiki.changes 
2017-08-18 15:01:03.582403490 +0200
@@ -1,0 +2,76 @@
+Mon Jul 10 11:51:25 UTC 2017 - [email protected]
+
+- Remove storytelling from description.
+
+-------------------------------------------------------------------
+Thu Jun 29 16:41:08 UTC 2017 - [email protected]
+
+- update to 0.7.0:
+  * Text for i18n is now extracted ignoring the empty spaces surrounding the
+    text itself. Empty text will always be treated as non translatable nodes
+    for performance reasons.
+  * ``extract_python`` option will now report syntax errors when extracting
+    text for translation.
+  * Added ``extract_python`` option to babel message extractor, this allows
+    extracting gettext calls in ``${}`` expressions
+  * Actually report 0.6 in kajiki/version.py
+  * Expose ``strip_text`` option in loader
+  * Fixed ``py:switch`` error message wrongly mentioning ``py:with``
+  * Support for multiline ``${}`` expressions
+  * Subsequent text nodes are now squashed into a single text node. This allows
+    translating whole paragraphs instead of single sentences.
+  * Allow code and function calls inside tag attributes
+  * Added ``strip_text`` option to XMLTemplate and i18n collector to ensure
+    leading and trailing spaces are stipped by text nodes (also leads to
+    minified HTML)
+  * Some HTML nodes that do not require being closed but is commonly considered
+    best practice to close them are now emitted with ending tag (IE: <p>)
+  * Generally improved code documentation to lower entry barrier for 
contributors
+  * ``py:attrs`` will now emit the attribute name itself or will omit the 
attribute
+    at all in case of ``bool`` values for 'checked', 'disabled', 'readonly',
+    'multiple', 'selected', 'nohref', 'ismap', 'declare' and 'defer',
+  * ``py:switch`` now correctly supports multiple ``py:case`` statements.
+  * text inside ``<script>`` and ``<style>`` tags is no longer collected 
translation.
+  * Syntax errors now report the line and the surrounding code when there is a
+    markup or python syntax error.
+  * As ``py:swtich`` discards all its content apart from ``py:case`` and
+    ``py:else`` statements it will now correctly report an error when the
+    statements has other content.
+  * ``py:else`` will now correctly detect spurious content between itself and
+    ``py:if`` as the two must be consequential.
+  * Improved code documentation on core classes.
+  * ``py:with`` statement now keeps order of variables, so that variables can
+    depend from each other.
+  * Babel is no longer a dependency unless you want to use the message 
extractor.
+  * TranslatableTextNodes are now only generated for non-empty strings
+  * ``py:with`` statement now accepts multiple variables separated by semicolon
+  * Babel message extractor fixed on Python2
+  * Fix crash on PyPy
+  * CDATA sections created by the user are now properly preserved
+  * ``cdata_scripts=False`` option in ``XMLTemplate`` allows disabling 
automatic
+    CDATA for script and style tags.
+  * Autoblocks experimental feature automatically creates blocks from specified
+    tag names.
+  * Also accept "$." without erroring out. In fact, accept anything.
+  * Add integration plugin for TurboGears 1
+  * Accept "$(" without erroring out. Easier to write jQuery stuff.
+  * There was a showstopper regression in FileLoader. Fixes #1
+  * Support Python versions 2.6, 2.7, 3.2, 3.3 in a single codebase
+    using the *nine* library.
+  * Support HTML entities as well as XML entities in input templates.
+  * py:include fixed, can see global variables.
+  * Genshi compatibility: support built-in functions:
+    defined(), value_of() and Markup().
+  * ``py:def``: Do not crash if a function has no content.
+  * ``py:strip=''`` is the same as ``py:strip='True'``.
+  * Correctness: escape HTML attribute values.
+  * Correctness: Always close script tags, even in XML mode.
+  * Add integration module for the Pyramid web framework.
+  * Give the FileLoader a *path*, not just a base *directory*.
+  * Documentation improvements, including the need to write CDATA sections.
+  * Move from Sourceforge to Github.
+  * Use Travis for continuous integration.
+  * The whole codebase is formatted according to PEP8.
+- convert to singlespec
+
+-------------------------------------------------------------------

Old:
----
  Kajiki-0.3.5.tar.gz

New:
----
  Kajiki-0.7.0.tar.gz

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

Other differences:
------------------
++++++ python-Kajiki.spec ++++++
--- /var/tmp/diff_new_pack.WzYE5a/_old  2017-08-18 15:01:05.514131556 +0200
+++ /var/tmp/diff_new_pack.WzYE5a/_new  2017-08-18 15:01:05.554125926 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Kajiki
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,48 +16,46 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Kajiki
-Version:        0.3.5
+Version:        0.7.0
 Release:        0
-Summary:        Really fast well-formed xml templates
+Summary:        Compiler for Genshi syntax outputting Python bytecode
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://sourceforge.net/p/kajiki/home/
-Source:         
http://pypi.python.org/packages/source/K/Kajiki/Kajiki-%{version}.tar.gz
-BuildRequires:  python-Babel
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source:         
https://files.pythonhosted.org/packages/source/K/Kajiki/Kajiki-%{version}.tar.gz
+BuildRequires:  %{python_module Babel}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nine}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%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
+
+%python_subpackages
 
 %description
-Are you tired of the slow performance of Genshi? But
-you still long for the assurance that your output is well-formed that you
-miss from all those other templating engines? Do you wish you had Jinja's
-blocks with Genshi's syntax? Then look  no further, Kajiki is for you!
-Kajiki quickly compiles Genshi-like syntax to *real python bytecode*
-that renders with blazing-fast speed! Don't delay! Pick up your
-copy of Kajiki today!
+Kajiki compiles Genshi-like syntax to Python bytecode.
+
+(Genshi is a Python library parsing, generating, and processing HTML, XML or
+other textual content for output generation on the web.)
 
 %prep
 %setup -q -n Kajiki-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-python setup.py test
+%python_exec setup.py test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README
+%doc README.rst LICENSE.rst
 %{python_sitelib}/*
 
 %changelog

++++++ Kajiki-0.3.5.tar.gz -> Kajiki-0.7.0.tar.gz ++++++
++++ 11028 lines of diff (skipped)


Reply via email to