[Debian-med-packaging] Bug#516766: insighttoolkit: generates incorrect package with python-support from experimental

Josselin Mouette joss at debian.org
Mon Feb 23 15:16:50 UTC 2009

Package: insighttoolkit
Version: 3.10.1-1


the insighttoolkit rules file contains the following:
PYMODDIR = usr/share/python-support/$(pkg_python)
PYEXTDIR = usr/lib/python-support/$(pkg_python)/$(PYVERS)
        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).

 .''`.      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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20090223/bdbe7b6c/attachment.pgp 

More information about the Debian-med-packaging mailing list