Package: insighttoolkit
Version: 3.10.1-1

Hi,

the insighttoolkit rules file contains the following:
PYMODDIR = usr/share/python-support/$(pkg_python)
PYEXTDIR = usr/lib/python-support/$(pkg_python)/$(PYVERS)
...
install/$(pkg_python)::
        dh_install -p$(pkg_python) -XlibSwig 
debian/tmp/usr/lib/InsightToolkit/*Python.so* $(PYEXTDIR)
        dh_install -p$(pkg_python) 
debian/tmp/usr/lib/InsightToolkit/libSwigRuntimePython.so* usr/lib
        dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/python/* 
$(PYMODDIR)
        dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/*.py   
$(PYMODDIR)
        dh_pysupport -p$(pkg_python)

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. 

You should install these packages to a standard place instead of adding
all this complexity. Then, dh_pysupport will pick them and do whatever
is fit.

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