[med-svn] [python-ruffus] 01/01: Create PNG instead of JPG to work around bug #827806 (Thanks to Christian Seiler for the hint)
Andreas Tille
tille at debian.org
Mon Jul 25 21:03:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-ruffus.
commit 44511ab899dd265cc17481892615d1573f9ff4c0
Author: Andreas Tille <tille at debian.org>
Date: Mon Jul 25 23:02:54 2016 +0200
Create PNG instead of JPG to work around bug #827806 (Thanks to Christian Seiler for the hint)
---
debian/changelog | 2 ++
debian/patches/series | 1 +
debian/patches/use_png_instead_of_jpg.patch | 56 +++++++++++++++++++++++++++++
3 files changed, 59 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 192fe4f..736f4f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-ruffus (2.6.3+dfsg-4) UNRELEASED; urgency=medium
* Point watch file to Github which is more reliable.
* Drop sphinx.ext.pngmath
Closes: #832299
+ * Create PNG instead of JPG to work around bug #827806
+ (Thanks to Christian Seiler for the hint)
-- Andreas Tille <tille at debian.org> Mon, 25 Jul 2016 13:19:50 +0200
diff --git a/debian/patches/series b/debian/patches/series
index 5958ad9..610a844 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_test.patch
python-3.5.patch
use_libjs-mathjax.patch
sphinx.ext.pngmath_deprecated.patch
+use_png_instead_of_jpg.patch
diff --git a/debian/patches/use_png_instead_of_jpg.patch b/debian/patches/use_png_instead_of_jpg.patch
new file mode 100644
index 0000000..182c1c8
--- /dev/null
+++ b/debian/patches/use_png_instead_of_jpg.patch
@@ -0,0 +1,56 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 25 Jul 2016 13:19:50 +0200
+Description: Create PNG instead of JPG to work around bug #827806
+ Thanks to Christian Seiler for the hint
+
+--- a/doc/pipeline_functions.rst
++++ b/doc/pipeline_functions.rst
+@@ -455,7 +455,7 @@ Pipeline functions
+ **Example**:
+ ::
+
+- pipeline_printout_graph("flowchart.jpg", "jpg", [task1, task16],
++ pipeline_printout_graph("flowchart.png", "png", [task1, task16],
+ forcedtorun_tasks = [task2],
+ no_key_legend = True)
+
+--- a/ruffus/task.py
++++ b/ruffus/task.py
+@@ -4572,7 +4572,7 @@ def pipeline_printout_graph(stream,
+
+ :param stream: where to print to
+ :type stream: file-like object with ``write()`` function
+- :param output_format: ["dot", "jpg", "svg", "ps", "png"]. All but the
++ :param output_format: ["dot", "svg", "ps", "png"]. All but the
+ first depends on the
+ `dot <http://www.graphviz.org>`_ program.
+ :param target_tasks: targets task functions which will be run if they are
+--- a/ruffus/test/test_pipeline_printout_graph.py
++++ b/ruffus/test/test_pipeline_printout_graph.py
+@@ -124,7 +124,7 @@ class Test_ruffus(unittest.TestCase):
+ os.makedirs(tempdir)
+
+ #
+- # check graphviz exists for turning dot files into jpg, svg etc
++ # check graphviz exists for turning dot files into png, svg etc
+ #
+ try:
+ process = Popen("echo what | dot", stdout=PIPE, stderr=STDOUT, shell = True)
+@@ -144,7 +144,7 @@ class Test_ruffus(unittest.TestCase):
+ print(" Run pipeline normally...")
+ if self.graph_viz_present:
+ pipeline_printout_graph(tempdir + "flowchart.dot", pipeline= "main")
+- pipeline_printout_graph(tempdir + "flowchart.jpg",
++ pipeline_printout_graph(tempdir + "flowchart.png",
+ target_tasks =[subdivide_start],
+ forcedtorun_tasks = [split_start],
+ no_key_legend = True)
+@@ -175,7 +175,7 @@ class Test_ruffus(unittest.TestCase):
+ test_pipeline.subdivide(subdivide_start, split_start, formatter(), tempdir + '{basename[0]}_*.subdivided', tempdir + '{basename[0]}')
+ if self.graph_viz_present:
+ test_pipeline.printout_graph(tempdir + "flowchart.dot")
+- test_pipeline.printout_graph(tempdir + "flowchart.jpg",
++ test_pipeline.printout_graph(tempdir + "flowchart.png",
+ target_tasks =[subdivide_start],
+ forcedtorun_tasks = [split_start],
+ no_key_legend = True)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-ruffus.git
More information about the debian-med-commit
mailing list