[Python-modules-commits] r22293 - in packages/pyth/trunk/debian (2 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Mon Jun 25 03:46:19 UTC 2012
Date: Monday, June 25, 2012 @ 03:46:16
Author: eriol-guest
Revision: 22293
Made 01_fix-refactored-PDFWriter-write.patch DEP3 compliant
Modified:
packages/pyth/trunk/debian/changelog
packages/pyth/trunk/debian/patches/01_fix-refactored-PDFWriter-write.patch
Modified: packages/pyth/trunk/debian/changelog
===================================================================
--- packages/pyth/trunk/debian/changelog 2012-06-25 03:27:33 UTC (rev 22292)
+++ packages/pyth/trunk/debian/changelog 2012-06-25 03:46:16 UTC (rev 22293)
@@ -2,6 +2,8 @@
* debian/control
- Fixed Vcs-Svn URL
+ * debian/patches/01_fix-refactored-PDFWriter-write.patch
+ - Made DEP3 compliant
-- Daniele Tricoli <eriol at mornie.org> Mon, 25 Jun 2012 05:25:43 +0200
Modified: packages/pyth/trunk/debian/patches/01_fix-refactored-PDFWriter-write.patch
===================================================================
--- packages/pyth/trunk/debian/patches/01_fix-refactored-PDFWriter-write.patch 2012-06-25 03:27:33 UTC (rev 22292)
+++ packages/pyth/trunk/debian/patches/01_fix-refactored-PDFWriter-write.patch 2012-06-25 03:46:16 UTC (rev 22293)
@@ -1,15 +1,19 @@
-PDFWriter.write was refactored in git rev d87f7877cca5ea90c2d79979521a3db77c47eb30 loosing "method" argument
+Description: PDFWriter.write was refactored in git rev
+ d87f7877cca5ea90c2d79979521a3db77c47eb30 loosing "method" argument
+Author: Daniele Tricoli <eriol at mornie.org>
+Forwarded: https://github.com/brendonh/pyth/pull/9
+Last-Update: 2011-05-17
--- a/tests/test_writepdf.py
+++ b/tests/test_writepdf.py
@@ -80,13 +80,13 @@
-
+
def test_latex(self):
doc = PythonReader.read(P[u"the-text"])
- pdf = PDFWriter.write(doc, method='latex').getvalue()
+ pdf = PDFWriter.write(doc).getvalue()
html = self.pdf_to_html(pdf)
assert "the-text" in html, html
-
+
def test_rst(self):
doc = PythonReader.read(P[u"the-text"])
- pdf = PDFWriter.write(doc, method='rst').getvalue()
More information about the Python-modules-commits
mailing list