Hello community,

here is the log from the commit of package python-relatorio for 
openSUSE:Factory checked in at 2017-04-20 20:48:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-relatorio (Old)
 and      /work/SRC/openSUSE:Factory/.python-relatorio.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-relatorio"

Thu Apr 20 20:48:54 2017 rev:2 rq:481783 version:0.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-relatorio/python-relatorio.changes        
2016-09-23 11:30:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-relatorio.new/python-relatorio.changes   
2017-04-20 20:48:56.724971168 +0200
@@ -1,0 +2,11 @@
+Wed Mar  8 08:20:45 UTC 2017 - [email protected]
+
+- changes for singlespec
+
+-------------------------------------------------------------------
+Sun Dec 18 13:56:52 UTC 2016 - [email protected]
+
+- version 0.6.4
+  * Use StringIO instead of BytesIO for TextSerializer result
+  
+-------------------------------------------------------------------

Old:
----
  _service
  relatorio-0.6.3.tar.gz

New:
----
  relatorio-0.6.4.tar.gz

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

Other differences:
------------------
++++++ python-relatorio.spec ++++++
--- /var/tmp/diff_new_pack.1LIkmG/_old  2017-04-20 20:48:58.752684459 +0200
+++ /var/tmp/diff_new_pack.1LIkmG/_new  2017-04-20 20:48:58.756683894 +0200
@@ -2,6 +2,7 @@
 # spec file for package python-relatorio
 #
 # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 Dr. Axel Braun
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,44 +16,43 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
-#
 %define mod_name relatorio
-
 Name:           python-relatorio
-BuildRequires:  python-devel
-BuildRequires:  python-genshi
-BuildRequires:  python-lxml
-BuildRequires:  python-setuptools
-Version:        0.6.3
+Version:        0.6.4
 Release:        0
-Source:         
https://pypi.io/packages/source/r/relatorio/%{mod_name}-%{version}.tar.gz
-Url:            https://pypi.python.org/pypi/relatorio
-BuildArch:      noarch
 Summary:        Python module to create reports from Python objects
 License:        GPL-3.0+
 Group:          Productivity/Office/Management
+Url:            https://pypi.python.org/pypi/relatorio
+Source:         
https://pypi.io/packages/source/r/%{mod_name}/%{mod_name}-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module Genshi}
+BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module setuptools}
 Requires:       python-PyYAML
 Requires:       python-pycha
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
+%python_subpackages
 
 %description
-This is a Python module to create reports from Python objects. Output plugins 
to several formats are included, such
+This is a Python module to create reports from Python objects. 
+Output plugins to several formats are included, such
 as documents (odt, ods, pdf) or images (png, svg).
 
 %prep
 %setup -q -n %{mod_name}-%{version}
 
 %build
-python setup.py build
+%python_build 
 
 %install
-python setup.py install --prefix=%_prefix --root=%buildroot 
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc README AUTHORS LICENSE
 %{python_sitelib}/*
 
-%changelog

++++++ relatorio-0.6.3.tar.gz -> relatorio-0.6.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/relatorio-0.6.3/CHANGES new/relatorio-0.6.4/CHANGES
--- old/relatorio-0.6.3/CHANGES 2016-06-29 23:13:22.000000000 +0200
+++ new/relatorio-0.6.4/CHANGES 2016-12-18 14:32:18.000000000 +0100
@@ -1,3 +1,6 @@
+0.6.4 - 20161218
+* Use StringIO instead of BytesIO for TextSerializer result
+
 0.6.3 - 20160629
 * Update calcext:value-type with the same guessed type
 * Register MarkupTemplate for 'markup' mimetype instead of 'xml'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/relatorio-0.6.3/PKG-INFO new/relatorio-0.6.4/PKG-INFO
--- old/relatorio-0.6.3/PKG-INFO        2016-06-29 23:14:40.000000000 +0200
+++ new/relatorio-0.6.4/PKG-INFO        2016-12-18 14:33:43.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: relatorio
-Version: 0.6.3
+Version: 0.6.4
 Summary: A templating library able to output odt and pdf files
 Home-page: http://relatorio.tryton.org/
 Author: Cedric Krier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/relatorio-0.6.3/relatorio/__init__.py 
new/relatorio-0.6.4/relatorio/__init__.py
--- old/relatorio-0.6.3/relatorio/__init__.py   2015-09-19 14:53:25.000000000 
+0200
+++ new/relatorio-0.6.4/relatorio/__init__.py   2016-06-29 23:16:51.000000000 
+0200
@@ -12,5 +12,5 @@
 from .reporting import MIMETemplateLoader, ReportRepository, Report
 from . import templates
 
-__version__ = '0.6.3'
+__version__ = '0.6.4'
 __all__ = ['MIMETemplateLoader', 'ReportRepository', 'Report', 'templates']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/relatorio-0.6.3/relatorio/templates/chart.py 
new/relatorio-0.6.4/relatorio/templates/chart.py
--- old/relatorio-0.6.3/relatorio/templates/chart.py    2014-09-09 
10:59:16.000000000 +0200
+++ new/relatorio-0.6.4/relatorio/templates/chart.py    2016-11-01 
22:18:17.000000000 +0100
@@ -21,7 +21,7 @@
 
 __metaclass__ = type
 
-from io import BytesIO
+from io import BytesIO, StringIO
 
 import yaml
 import genshi
@@ -66,7 +66,7 @@
 
     def __call__(self, stream):
         result = BytesIO()
-        yml = BytesIO(_encode(self.text_serializer(stream)))
+        yml = StringIO(_encode(self.text_serializer(stream)))
         chart_yaml = yaml.load(yml.read())
         chart_info = chart_yaml['chart']
         chart_type = chart_info['output_type']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/relatorio-0.6.3/relatorio.egg-info/PKG-INFO 
new/relatorio-0.6.4/relatorio.egg-info/PKG-INFO
--- old/relatorio-0.6.3/relatorio.egg-info/PKG-INFO     2016-06-29 
23:14:31.000000000 +0200
+++ new/relatorio-0.6.4/relatorio.egg-info/PKG-INFO     2016-12-18 
14:33:38.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: relatorio
-Version: 0.6.3
+Version: 0.6.4
 Summary: A templating library able to output odt and pdf files
 Home-page: http://relatorio.tryton.org/
 Author: Cedric Krier


Reply via email to