Hello community,

here is the log from the commit of package python-Chameleon for 
openSUSE:Factory checked in at 2019-03-22 15:01:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Chameleon (Old)
 and      /work/SRC/openSUSE:Factory/.python-Chameleon.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Chameleon"

Fri Mar 22 15:01:27 2019 rev:6 rq:682406 version:3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Chameleon/python-Chameleon.changes        
2018-12-19 13:51:42.631094061 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-Chameleon.new.25356/python-Chameleon.changes 
    2019-03-22 15:01:32.077780063 +0100
@@ -1,0 +2,32 @@
+Thu Mar  7 11:10:27 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix macro expansion
+
+-------------------------------------------------------------------
+Tue Mar  5 12:11:42 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to version 3.6:
+  * Exclude RuntimeError (or RecursionError when available) from exception 
wrapping.
+  * Fix double dollar '$$' escaping such that a double dollar is always 
resolved, either as an interpolation expression, or as an escape where it is 
substituted by a single dollar symbol. This is now consistent with Zope's 
handling of this character.
+  * Drop support for Python 3.3.
+  * Add support for Python 3.8.
+  * Add support for TAL attributes in an XML declaration tag. This fixes issue 
#269.
+  * Add support for custom exception handling for the tal:on-error statement. 
There is now an option on_error_handler available as a template configuration 
(issue #266).
+  * Fix issue where double '$$' escaping would affect non-interpolation 
expressions such as the bare '$$' (issue #265).
+  * Fix an issue where backslash dollar escaping would leave the backslash 
character still in place.
+  * Fix regression with translations in case of multiple nodes.
+  * Reset error token when rendering internal macro calls.
+  * Fix edge case in exception handler causing recursion. [MatthewWilkes]
+  * Add the automatic variable macroname that's bound to the name of the 
executing macro. Fixes https://github.com/malthe/chameleon/issues/238
+  * A tokenizer can now be configured on the template class. This is useful in 
the case where the template file input is modified before parsing (for example, 
where some tags are stripped away) such that token positions need to be offset 
accordingly for error locations to be rendered correctly.
+  * Expression errors now display source marker (previously only filename, 
line and column was shown).
+  * No longer require Python source files to import modules. [mrh1997]
+
+-------------------------------------------------------------------
+Tue Mar  5 12:05:33 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Drop the doc subpackage, not really needed
+- Format with spec-cleaner and reduce some of the conditionals
+- Update url
+
+-------------------------------------------------------------------

Old:
----
  Chameleon-3.1.tar.gz
  python-Chameleon-doc.changes
  python-Chameleon-doc.spec

New:
----
  Chameleon-3.6.tar.gz
  LICENSE.txt

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

Other differences:
------------------
++++++ python-Chameleon.spec ++++++
--- /var/tmp/diff_new_pack.vOVe9y/_old  2019-03-22 15:01:34.357778492 +0100
+++ /var/tmp/diff_new_pack.vOVe9y/_new  2019-03-22 15:01:34.361778489 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Chameleon
 #
-# 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
@@ -18,23 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Chameleon
-Version:        3.1
+Version:        3.6
 Release:        0
-Url:            http://www.pagetemplates.org/
 Summary:        Fast HTML/XML Template Compiler
 License:        BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1
 Group:          Development/Languages/Python
+URL:            https://github.com/malthe/chameleon
 Source:         
https://files.pythonhosted.org/packages/source/C/Chameleon/Chameleon-%{version}.tar.gz
-BuildRequires:  %{python_module Sphinx}
+# https://github.com/malthe/chameleon/pull/288
+Source1:        
https://raw.githubusercontent.com/malthe/chameleon/master/LICENSE.txt
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# seems like Chamelon needs pkg_resources on runtime
-# it invalidates its template cache based on your combined package versions
 Requires:       python-setuptools
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -46,30 +43,24 @@
 
 %prep
 %setup -q -n Chameleon-%{version}
+cp %{SOURCE1} .
 
 %build
 %python_build
-%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
 %python_install
 # Don't ship testsuite
-%python_expand rm -rvf %{buildroot}%{python_sitelib}/chameleon/tests 
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand rm -rvf %{buildroot}%{$python_sitelib}/chameleon/tests
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+export PYTHONDONTWRITEBYTECODE=1
 %python_exec setup.py test
-# Delete again any output produced here
-%python_expand rm -rvf %{buildroot}%{python_sitelib}/chameleon/tests 
 
-%files %python_files
-%defattr(-,root,root,-)
-%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
+%files %{python_files}
 %license LICENSE.txt
-%else
-%doc LICENSE.txt
-%endif
-%doc COPYRIGHT.txt README.rst
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++++++ Chameleon-3.1.tar.gz -> Chameleon-3.6.tar.gz ++++++
++++ 6185 lines of diff (skipped)

++++++ LICENSE.txt ++++++
The majority of the code in Chameleon is supplied under this license:

  A copyright notice accompanies this license document that identifies
  the copyright holders.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions are
  met:

  1.  Redistributions in source code must retain the accompanying
      copyright notice, this list of conditions, and the following
      disclaimer.

  2.  Redistributions in binary form must reproduce the accompanying
      copyright notice, this list of conditions, and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.

  3.  Names of the copyright holders must not be used to endorse or
      promote products derived from this software without prior
      written permission from the copyright holders.

  4.  If any files are modified, you must cause the modified files to
      carry prominent notices stating that you changed the files and
      the date of any change.

  Disclaimer

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND
    ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
    TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
    THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    SUCH DAMAGE.

Portions of the code in Chameleon are supplied under the ZPL (headers
within individiual files indicate that these portions are licensed
under the ZPL):

  Zope Public License (ZPL) Version 2.1
  -------------------------------------

  A copyright notice accompanies this license document that
  identifies the copyright holders.

  This license has been certified as open source. It has also
  been designated as GPL compatible by the Free Software
  Foundation (FSF).

  Redistribution and use in source and binary forms, with or
  without modification, are permitted provided that the
  following conditions are met:

  1. Redistributions in source code must retain the
     accompanying copyright notice, this list of conditions,
     and the following disclaimer.

  2. Redistributions in binary form must reproduce the accompanying
     copyright notice, this list of conditions, and the
     following disclaimer in the documentation and/or other
     materials provided with the distribution.

  3. Names of the copyright holders must not be used to
     endorse or promote products derived from this software
     without prior written permission from the copyright
     holders.

  4. The right to distribute this software or to use it for
     any purpose does not give you the right to use
     Servicemarks (sm) or Trademarks (tm) of the copyright
     holders. Use of them is covered by separate agreement
     with the copyright holders.

  5. If any files are modified, you must cause the modified
     files to carry prominent notices stating that you changed
     the files and the date of any change.

  Disclaimer

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
    AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
    NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
    NO EVENT SHALL THE COPYRIGHT HOLDERS BE
    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
    DAMAGE.

Portions of the code in Chameleon are supplied under the BSD license
(headers within individiual files indicate that these portions are
licensed under this license):

  All rights reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:

   1. Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
   2. Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in
      the documentation and/or other materials provided with the
      distribution.
   3. The name of the author may not be used to endorse or promote
      products derived from this software without specific prior
      written permission.

  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
  OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Portions of the code in Chameleon are supplied under the Python
License (headers within individiual files indicate that these portions
are licensed under this license):

  PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
  --------------------------------------------

  1. This LICENSE AGREEMENT is between the Python Software Foundation
  ("PSF"), and the Individual or Organization ("Licensee") accessing and
  otherwise using this software ("Python") in source or binary form and
  its associated documentation.

  2. Subject to the terms and conditions of this License Agreement, PSF
  hereby grants Licensee a nonexclusive, royalty-free, world-wide
  license to reproduce, analyze, test, perform and/or display publicly,
  prepare derivative works, distribute, and otherwise use Python
  alone or in any derivative version, provided, however, that PSF's
  License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
  2001, 2002, 2003, 2004 Python Software Foundation; All Rights Reserved"
  are retained in Python alone or in any derivative version prepared
  by Licensee.

  3. In the event Licensee prepares a derivative work that is based on
  or incorporates Python or any part thereof, and wants to make
  the derivative work available to others as provided herein, then
  Licensee hereby agrees to include in any such work a brief summary of
  the changes made to Python.

  4. PSF is making Python available to Licensee on an "AS IS"
  basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
  IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
  DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
  FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
  INFRINGE ANY THIRD PARTY RIGHTS.

  5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
  FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
  A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
  OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.

  6. This License Agreement will automatically terminate upon a material
  breach of its terms and conditions.

  7. Nothing in this License Agreement shall be deemed to create any
  relationship of agency, partnership, or joint venture between PSF and
  Licensee.  This License Agreement does not grant permission to use PSF
  trademarks or trade name in a trademark sense to endorse or promote
  products or services of Licensee, or any third party.

  8. By copying, installing or otherwise using Python, Licensee
  agrees to be bound by the terms and conditions of this License
  Agreement.

Reply via email to