[tryton-debian-vcs] relatorio branch debian updated. debian/0.6.3-2-3-g5fc261b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Dec 19 09:58:07 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/relatorio.git;a=commitdiff;h=debian/0.6.3-2-3-g5fc261b
commit 5fc261b32347279f8e6f99376964cfcae16cf0d6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 10:48:47 2016 +0100
Releasing debian version 0.6.4-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 3e89eee..aca6ba6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+relatorio (0.6.4-1) unstable; urgency=medium
+
+ * Merging upstream version 0.6.4.
+ * Use rather the -r switch of py*versions to get the unique and correct
+ Python version.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 19 Dec 2016 10:48:20 +0100
+
relatorio (0.6.3-2) unstable; urgency=medium
* Replace fixed Python paths by dynamic paths.
commit 568b278ba0237dae20777668de9390769286eef2
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 10:48:11 2016 +0100
Use rather the -r switch of py*versions to get the unique and correct Python version.
diff --git a/debian/rules b/debian/rules
index 664442b..b0cbb97 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,8 @@
PACKAGE_NAME := $(shell python setup.py --name)
export PYBUILD_NAME=$(PACKAGE_NAME)
-PYTHON2_VERSIONS = $(shell pyversions -s)
-PYTHON3_VERSIONS = $(shell py3versions -s)
+PYTHON2_VERSIONS = $(shell pyversions -r)
+PYTHON3_VERSIONS = $(shell py3versions -r)
%:
dh $@ --with python2,python3 --buildsystem=pybuild
commit dc3f31eccd2c96058a4122006221c97c3f749fd8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 10:10:30 2016 +0100
Merging upstream version 0.6.4.
diff --git a/CHANGES b/CHANGES
index f9bde02..cb9c92f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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 --git a/PKG-INFO b/PKG-INFO
index 839fbac..5989c99 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -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 --git a/relatorio.egg-info/PKG-INFO b/relatorio.egg-info/PKG-INFO
index 839fbac..5989c99 100644
--- a/relatorio.egg-info/PKG-INFO
+++ b/relatorio.egg-info/PKG-INFO
@@ -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 --git a/relatorio/__init__.py b/relatorio/__init__.py
index 7c23957..c5fee28 100644
--- a/relatorio/__init__.py
+++ b/relatorio/__init__.py
@@ -12,5 +12,5 @@ and report together, find reports by mimetypes/name/python objects.
from .reporting import MIMETemplateLoader, ReportRepository, Report
from . import templates
-__version__ = '0.6.3'
+__version__ = '0.6.4'
__all__ = ['MIMETemplateLoader', 'ReportRepository', 'Report', 'templates']
diff --git a/relatorio/templates/chart.py b/relatorio/templates/chart.py
index b937fd9..d11a99e 100644
--- a/relatorio/templates/chart.py
+++ b/relatorio/templates/chart.py
@@ -21,7 +21,7 @@
__metaclass__ = type
-from io import BytesIO
+from io import BytesIO, StringIO
import yaml
import genshi
@@ -66,7 +66,7 @@ class CairoSerializer:
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']
--
relatorio
More information about the tryton-debian-vcs
mailing list