Bug#619232: pycxx: [patch] fix for python3-cxx
Package: pycxx
Version: 6.2.0-4
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmpKZw2fJ
In Ubuntu, the attached patch was applied to achieve the following:
* debian/rules:
- run 2to3 with --write so that the py3 stuff is actually
converted (this fixes a crash that the python-all profile
in the auto-upgrade-tester found)
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u pycxx-6.2.0/debian/rules pycxx-6.2.0/debian/rules
--- pycxx-6.2.0/debian/rules
+++ pycxx-6.2.0/debian/rules
@@ -141,7 +141,7 @@
install3-python%:
/usr/bin/python$* setup.py install \
--install-layout=deb --root=$(shell pwd)/debian/python3-cxx
- 2to3 debian/python3-cxx/usr/lib
+ 2to3 --write debian/python3-cxx/usr/lib
find debian/python3-cxx -name '*.egg-info' | xargs -r rm -f
cp -a CXX/Python3 debian/python3-cxx/usr/include/python$*/CXX/Python3
Reply to: