Package: simpleparse
Version: 2.1.0a1-2

Hi,

The simpleparse rules file contains the following:

        rm -rf 
$(CURDIR)/debian/python-simpleparse/usr/share/python-support/python-simpleparse/simpleparse/stt/TextTools/mxTextTools/

binary-predeb/python-simpleparse::
        # Some cleaning
        rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/examples
        rm -rf $(SHARE)/python-support/python-simpleparse/simpleparse/doc
        …

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

I suggest that you do such things before the call to dh_pysupport. For
example, doing it in the install target:
install/python-simpleparse::
        rm -rf 
debian/python-simpleparse/usr/lib/python*/site-packages/simpleparse/examples
        …

Furthermore, python-simpleparse-mxtexttools.install contains the
following:
        
debian/tmp/usr/lib/python*/site-packages/simpleparse/stt/TextTools/mxTextTools/*

This makes the package FTBFS, since the modules are now moved to a
different package as well.

Actually, I think it is insane for cdbs to call dh_pysupport so early -
before dh_install. This forces maintainers with such requirements to act
on the python-support directories rather than on the original ones.
There is probably something to improve on the cdbs side here.

Cheers,
-- 
 .''`.      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