Package: pycairo
Version: 1.8.8-1
Severity: important
Tags: patch

there is a binary incompatibility between Python 2.6 and 2.7, so modules built 
with python2.6 can't be used with python2.7.
The attached patch ensures python2.7 is used to build modules to be used with 
it.

-- System Information:
Debian Release: 6.0
  APT prefers experimental
  APT policy: (610, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/debian/rules      2011-01-08 18:58:03.361012611 -0300
+++ b/debian/rules      2011-01-08 17:57:08.255114194 -0300
@@ -7,6 +7,12 @@
 
 DEB_PYTHON_INSTALL_ARGS_ALL += --install-layout=deb
 
+build/python-cairo::
+       set -e; \
+       for i in $(cdbs_python_build_versions); do \
+         python$$i ./setup.py build; \
+       done
+
 install/python-cairo-dev::
        python setup.py install_data --install-dir=$(CURDIR)/debian/tmp/usr
        sphinx-build -bhtml doc build/html

Reply via email to