Package: py3cairo / 1.10.0+dfsg-5

Metadata

Package Version Patches format
py3cairo 1.10.0+dfsg-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
10_test target py3.patch | (download)

test/examples_test.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use all versions for py.test
 This patch changes py.test script to use all versions of Python 3 command
 instead of python.
50_specify encoding in waf.patch | (download)

waflib/Tools/c_preproc.py | 2 1 + 1 - 0 !
waflib/Utils.py | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 specify encoding in waf
 This patch specifies utf-8 as the encoding in waf library, because python 3.3
 doesn't fallback to utf-8 on default.
101_pycairo region.patch | (download)

doc/pycairo_c_api.rst | 10 10 + 0 - 0 !
doc/reference/index.rst | 1 1 + 0 - 0 !
doc/reference/region.rst | 52 52 + 0 - 0 !
src/cairomodule.c | 22 22 + 0 - 0 !
src/private.h | 16 16 + 0 - 0 !
src/py3cairo.h | 25 25 + 0 - 0 !
src/region.c | 598 598 + 0 - 0 !
src/wscript | 1 1 + 0 - 0 !
test/api_test.py | 62 62 + 0 - 0 !
9 files changed, 787 insertions(+)

 add support for cairo_region_t
 This patch fix missing support for cairo_region_t.
60_python config without interpreter.patch | (download)

waflib/Tools/python.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 run python-config directly
 This patch runs /usr/bin/python-config directly for python 3.3
70_dont link libpython.patch | (download)

waflib/Tools/python.py | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 don't link libpython
 This patch removes dependency to libpython 
80_fix pickle.patch | (download)

waflib/Context.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 during the build process, a context instance is pickled, or at
 least attempted to be.  This fails because self.node_class is assigned to a
 class which is nested inside the __init__() method.  Because Python cannot
 find this class at unpickling time (i.e. it cannot be imported), Python
 refuses to pickle the Context instance, leading to a FTBFS.  Since there's no
 obvious reason why the class has to be so nested, moving it to a module
 global solves the build failure.
81_pickling again.patch | (download)

waflib/Build.py | 1 1 + 0 - 0 !
waflib/Context.py | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 follow up to 80_fix-pickle.patch.  just disable pickling
 altogether since the previous patch doesn't really fix the problem, and not
 storing the pickle seems to have no adverse effects on the build, while
 avoiding the observed traceback.