[Python-modules-team] Bug#609360: pycairo: Fails to build/install support for python2.7 correctly
Gerardo Esteban Malazdrewicz
gerardo at malazdrewicz.com.ar
Sat Jan 8 22:02:44 UTC 2011
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
-------------- next part --------------
--- 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
More information about the Python-modules-team
mailing list