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

Re: Python independant binary extensions



Le jeudi 29 juin 2006 à 22:09 +0200, Mike Hommey a écrit :
> Hi all,
> 
> I'm currently working on getting libxml2 (and later libxslt) to the new
> policy, and actually noticed something interesting:
> -rw-r--r-- root/root    273888 2006-06-29 22:02 ./usr/lib/python-support/python-libxml2/python2.3/libxml2mod.so
> -rw-r--r-- root/root    273888 2006-06-29 22:02 ./usr/lib/python-support/python-libxml2/python2.4/libxml2mod.so
> 
> Same size AND same content.
> 
> After some discussions on #debian-python, I added stuff in debian/rules
> so that if the binary extensions are identical, I'd replace the dup with
> a symbolic link. I'm still building for all versions as suggested on
> #d-p in case the python includes change in some ways.
> 
> Don't you think it'd be nice to add support to python-support and
> python-central for that case ?

Python-support already checks the md5sums of the files to install, but
it excludes the .so because files are moved to /usr/share and it would
violate the FHS. I also thought this would never happen.

I can add the handling of this case by putting them e.g.
in /usr/lib/python-support/python-foo/all/.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom



Reply to: