[Python-modules-team] Bug#517309: simpleparse: FTBFS with python-support in experimental

Josselin Mouette joss at debian.org
Thu Feb 26 22:05:45 UTC 2009


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.
-------------- 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/python-modules-team/attachments/20090226/e771bd2b/attachment.pgp 


More information about the Python-modules-team mailing list