Package: python-trml2pdf
Version: 1.0-1

Hi,

The python-trml2pdf rules file contains the following:

binary-post-install/python-trml2pdf::
        # Setup the module as executable too
        chmod 755 
debian/$(PKG)/usr/share/python-support/python-trml2pdf/trml2pdf/trml2pdf.py
        ln -sf ../share/python-support/python-trml2pdf/trml2pdf/trml2pdf.py 
debian/$(PKG)/usr/bin/trml2pdf

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).

To fix this issue, I think the best course of action is to use a wrapper
script instead. This script could look like:
        #! /bin/sh
        exec /usr/bin/python -m trml2pdf.trml2pdf

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

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to