Package: scim-python
Version: 0.1.13~rc1-1

Hi,

the scim-python rules file contains the following:

install: build $(PYVERS:%=install-%)
        ln -sf 
/usr/lib/python-support/python-scim/python2.5/scim-0.1/scim/_scim.so \
                debian/tmp/usr/lib/scim-1.0/1.4.0/Helper/python.so
        ln -sf 
/usr/lib/python-support/python-scim/python2.5/scim-0.1/scim/_scim.so \
                debian/tmp/usr/lib/scim-1.0/1.4.0/IMEngine/python.so
        ln -sf 
/usr/lib/python-support/python-scim/python2.5/scim-0.1/scim/_scim.so \
                debian/tmp/usr/lib/scim-1.0/1.4.0/SetupUI/python.so

With the upcoming version of python-support (currently in experimental),
the files installed in /usr/lib/python-support are ignored and the built
package is, as such, broken. (Note that the packages already built will
not break upon upgrade, only those built against the newer
python-support version will fail.)

Linking directly public modules to a private modules directory also
looks very wrong; if the package is built for several versions, the
private modules will only be available for one Python version, and they
will become out of sync if the default Python version changes.

Therefore, here are the possible approaches I’d recommend to fix this
issue:
      * Fix the software so that it doesn’t need to mix private and
        public modules.
      * Use only the public modules and replace the symlinks by wrapper
        modules (in pure Python) that just import the contents of the
        public module *for the current Python version*.
      * If this is really not possible, you can write a rtupdate script
        that sets up and updates the symbolic links according to the
        default Python version, but it is more complicated.

As a general rule, please avoid relying on the internals of
python-support in the packaging unless necessary; this will avoid such
issues in the future (although hopefully there won’t be a need to change
the paths any further).

Thanks,
-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to