[Python-modules-team] Bug#516274: ipython: FTBFS with python-support in experimental

Josselin Mouette joss at debian.org
Fri Feb 20 10:24:16 UTC 2009


Package: ipython
Version: 0.9.1-2

Hi,

The ipython rules file contains the following:
binary-fixup/ipython::
        # fix lintian warnings (see also patches/04_remove_shebang.dpatch)
        chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/upgrade_dir.py
        chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/Extensions/pickleshare.py
        chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/irunner.py
        chmod +x $(CURDIR)/debian/ipython/usr/share/python-support/ipython/IPython/external/mglob.py

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 that you do such things before the call to dh_pysupport. For
example, doing it in the binary-install target:
        chmod +x $(CURDIR)/debian/ipython/usr/lib/python*/site-packages/IPython/upgrade_dir.py
        …

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.
-------------- 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/20090220/bff82dd0/attachment.pgp 


More information about the Python-modules-team mailing list