Package: mgltools-vision Version: 1.5.4.cvs.20100912-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty ubuntu-patch
Please use /usr/bin/python instead of /usr/bin/python2.5 Patch attached. Thanks! *** /tmp/tmpNZxc3K In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules: uncommented the simple-patchsys.mk include * debian/patches/python2.6.patch: patch Vision/bin/vision to use python instead of python2.5 We thought you might be interested in doing the same. -- 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.36-1-generic (SMP w/1 CPU core) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u mgltools-vision-1.5.4.cvs.20100912/debian/rules mgltools-vision-1.5.4.cvs.20100912/debian/rules --- mgltools-vision-1.5.4.cvs.20100912/debian/rules +++ mgltools-vision-1.5.4.cvs.20100912/debian/rules @@ -13,7 +13,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -#include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk install:: find . -name "runVision" | xargs -r chmod +x only in patch2: unchanged: --- mgltools-vision-1.5.4.cvs.20100912.orig/debian/patches/python2.6.patch +++ mgltools-vision-1.5.4.cvs.20100912/debian/patches/python2.6.patch @@ -0,0 +1,9 @@ +diff -Nur -x '*.orig' -x '*~' mgltools-vision-1.5.4.cvs.20090603/Vision/bin/vision mgltools-vision-1.5.4.cvs.20090603.new/Vision/bin/vision +--- mgltools-vision-1.5.4.cvs.20090603/Vision/bin/vision 2007-10-30 21:22:10.000000000 +0000 ++++ mgltools-vision-1.5.4.cvs.20090603.new/Vision/bin/vision 2009-06-25 19:35:02.000000000 +0000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/env python + # + + import sys