[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging InVesalius



Hi Thiago,

On Sun, Jan 13, 2013 at 05:39:11PM -0200, Thiago Franco Moraes wrote:
> I updated the debian/watch to match the last invesalius release. I
> have to use "opts=dversionmangle" to match the package version to git
> tag. I wrote a get-orig-source too (well, actually, I copied the one
> Andreas Tille wrote python-casmoothing :) ).

Could you imagine how frequently I copy myself from other packages? :-)

I checked the build and it creates a package.  Please note that the watch
file does not work 100% - I needed to manually

   ln -s invesalius_3.0.0b3.orig.tar.gz invesalius_3.0~b3.orig.tar.gz

Without testing I think an additional "filenamemangle" is your friend -
please check the `man uscan?.

> Ah, I have to wrote a
> patch to change the shebang from "#!/usr/local/bin/python" to
> "#!/usr/bin/python".

Yep - and there are some other lintian warnings - perhaps you simply use
your upstream hat to fix some permissions.  I'd also think that you
could do the patch above upstream - I can not really imagine that there
are production boxes where you find the Python interpreter in
/usr/local these days (or use env).
 
Kind regards

       Andreas. 

-- 
http://fam-tille.de


Reply to: