Package: rst2pdf Version: 0.16-2 Severity: normal Tags: upstream patch In python-reportlab 2.6 (currently in experimental) an experimental class name is dropped that rst2pdf made use of. The current rst2pdf will (at the very least) cause nuitka to FTBFS since it will explode during the nuitka build.
The attached patch fixes the issue (and still works with python-reportlab 2.5 as well. It is already fixed in the upstream trunk.
Description: * Fix CellStyle class name from python-reportlab in rst2pdf/styles.py to also work with python-reportlab-2.6 (still works with 2.5 too). Author: Scott Kitterman <sc...@kitterman.com> Origin: <vendor|upstream|other>, <url of original patch> Bug: http://code.google.com/p/rst2pdf/issues/detail?id=474 Forwarded: http://code.google.com/p/rst2pdf/issues/detail?id=474 --- rst2pdf-0.16.orig/rst2pdf/styles.py +++ rst2pdf-0.16/rst2pdf/styles.py @@ -524,7 +524,7 @@ class StyleSheet(object): # Make stdFont the basefont, for Issue 65 reportlab.rl_config.canvas_basefontname = self['base'].fontName # Make stdFont the default font for table cell styles (Issue 65) - reportlab.platypus.tables.CellStyle1.fontname=self['base'].fontName + reportlab.platypus.tables.CellStyle.fontname=self['base'].fontName def __getitem__(self, key):