Package: python-twitter Version: 0.5-2 Hi,
The python-twitter rules file contains the following:
for python in $(PYVERS); do \
$$python setup.py install --root=$(d);\
done
…
dh_pysupport
sed -i -e '1,2d'
$(CURDIR)/$(d)/usr/share/python-support/python-twitter/twitter.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 to do these things before the dh_pysupport call, and from the
standard installation directory:
sed -i -e '1,2d' $(CURDIR)/$(d)/lib/python*/site-packages/twitter.py
dh_pysupport
I’d add two side notes to that:
* There is no reason to build an architecture-independent package
for all Python versions. You can build it for only the current
one, python-support will byte-compile the modules for all the
supported ones.
* Such things could be done in a patch instead of the build
process, but I guess that’s a matter of taste.
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.
signature.asc
Description: Ceci est une partie de message numériquement signée

