[Debian-med-packaging] Bug#602243: Bug #602243: Change interpeter to /ur/bin/python

Andreas Tille tille at debian.org
Wed May 11 06:31:33 UTC 2011


Hi Luca,

there is no need for such a longish delay.  However, it would be great
if you could commit the changes to SVN (and tag the upload).  The Debian
Med SVN is granting commit permissions to any DD - so there should be no
problem for you.

Thanks for your effort and sorry that we did not provided better support
for the Python transition

   Andreas.

On Mon, May 09, 2011 at 09:57:11PM +0200, Luca Falavigna wrote:
> tags 602243 + patch pending
> thanks
> 
> 
> Il 09/05/2011 09:39, Charles Plessy ha scritto:
> > This is a very good case for NMU.
> 
> So, here we are: I've prepared an NMU for mgltools-vision (versioned as
> 1.5.4.cvs.20100912-1.1) and uploaded it to DELAYED/10. Please feel free
> to tell me if I should delay it longer.
> 
> > So no pizza and beer for me :(
> > (see 20110509073545.GF2416 at hermes.hilbert.loc )
> 
> Andreas, if you plan to visit Mantua too, I can suggest you some nice
> places to eat delicious pizza :)
> 
> -- 
>   .''`.
>  :  :' :   Luca Falavigna <dktrkranz at debian.org>
>  `.  `'
>    `-

> 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 
> diff -u mgltools-vision-1.5.4.cvs.20100912/debian/changelog mgltools-vision-1.5.4.cvs.20100912/debian/changelog
> --- mgltools-vision-1.5.4.cvs.20100912/debian/changelog
> +++ mgltools-vision-1.5.4.cvs.20100912/debian/changelog
> @@ -1,3 +1,11 @@
> +mgltools-vision (1.5.4.cvs.20100912-1.1) unstable; urgency=low
> +
> +  * Non-maintainer upload.
> +  * debian/patches/unversioned_shebang.patch:
> +    - Do not use versioned shebangs (Closes: #602243).
> +
> + -- Luca Falavigna <dktrkranz at debian.org>  Mon, 09 May 2011 21:30:41 +0200
> +
>  mgltools-vision (1.5.4.cvs.20100912-1) unstable; urgency=low
>  
>    * New upstream version.
> only in patch2:
> unchanged:
> --- mgltools-vision-1.5.4.cvs.20100912.orig/debian/patches/unversioned_shebang.patch
> +++ mgltools-vision-1.5.4.cvs.20100912/debian/patches/unversioned_shebang.patch
> @@ -0,0 +1,21 @@
> +diff -Nur -x '*.orig' -x '*~' mgltools-vision-1.5.4.cvs.20100912//setup.py mgltools-vision-1.5.4.cvs.20100912.new//setup.py
> +--- mgltools-vision-1.5.4.cvs.20100912//setup.py	2007-09-28 19:55:27.000000000 +0200
> ++++ mgltools-vision-1.5.4.cvs.20100912.new//setup.py	2011-05-09 21:29:52.563352863 +0200
> +@@ -43,7 +43,7 @@
> +             forig = open(script+".py", "r")
> +             txt = forig.readlines()
> +             forig.close()
> +-            fnew.write("#!/usr/bin/env python2.4\n")
> ++            fnew.write("#!/usr/bin/python\n")
> +             fnew.writelines(txt)
> +             fnew.close()
> +         build_scripts.copy_scripts(self)
> +diff -Nur -x '*.orig' -x '*~' mgltools-vision-1.5.4.cvs.20100912//Vision/bin/vision mgltools-vision-1.5.4.cvs.20100912.new//Vision/bin/vision
> +--- mgltools-vision-1.5.4.cvs.20100912//Vision/bin/vision	2007-10-30 22:22:10.000000000 +0100
> ++++ mgltools-vision-1.5.4.cvs.20100912.new//Vision/bin/vision	2011-05-09 21:29:35.735352874 +0200
> +@@ -1,4 +1,4 @@
> +-#!/usr/bin/env python2.5
> ++#!/usr/bin/python
> + #
> + 
> + import sys




> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de





More information about the Debian-med-packaging mailing list