Package: python-django-debug-toolbar
Version: 0+git200901231854-1

Hi,

The python-django-debug-toolbar rules file contains the following:
        dh_install
        python debian/setup.py install --root=$(PREFIX)
        dh_pysupport
        # Don't embed jQuery
        ln -sf /usr/share/javascript/jquery/jquery.js \
                
$(PREFIX)/usr/share/python-support/$(PKG)/debug_toolbar/media/jquery.js

With the upcoming version of python-support (currently in experimental),
such statements will make the package FTBFS, since the files are now
moved to a different directory (/usr/share/pyshared).

I suggest to add this symbolic link before the dh_pysupport call
instead:
        python debian/setup.py install --root=$(PREFIX)
        ln -sf /usr/share/javascript/jquery/jquery.js \
                $(PREFIX)/usr/lib/`pyversions 
-d`/site-packages/debug_toolbar/media/jquery.js
and move dh_pysupport to the binary-indep target.

As a general rule, please do not rely on the internals of python-support
in the packaging; 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