Le dimanche 16 juillet 2006 à 11:26 +0200, Julien Valroff a écrit :
> Package: python-support
> Version: 0.3.8
> Severity: normal
> 
> Hi,
> 
> I am currently working on a package that ships private modules for python2.4 
> only.
> 
> As python-support cannot handle byte compilation for private modules for 
> non-default
> python versions, I wrote my own postinst and prerm scripts using 'pyverions 
> -r', and added 
> the --noscripts flag to dh_pysupport in debian/rules.
> 
> However, dh_pysupport still adds its parts in postinst and prerm scripts, and 
> I had to remove
> #DEBHELPER# token from them so as to prevent this issue, which causes a 
> lintian warning
> and can be a problem for other package.

For such a package, I think you shouldn't use python-support at all. In
fact, it doesn't even need to be migrated to the new python policy. Just
put "1" in debian/pycompat and use "dh_python -V2.4".

Of course, the --noscripts option needs to work and I'll fix it as well.

Cheers,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
   `-  Debian GNU/Linux -- The power of freedom


Reply via email to