[Python-apps-team] Bug#516269: mercurial: FTBFS with python-support in experimental
Josselin Mouette
joss at debian.org
Fri Feb 20 10:02:07 UTC 2009
Package: mercurial
Version: 1.1.2-2
Hi,
The mercurial rules file contains the following:
binary-install/mercurial::
pysupport-movemodules debian/mercurial
# remove arch-independent python stuff
rm -rf $(CURDIR)/debian/mercurial/usr/share/python-support
binary-install/mercurial-common::
pysupport-movemodules debian/mercurial-common
# remove arch-dependent python stuff
rm -rf $(CURDIR)/debian/mercurial-common/usr/lib/python-support
rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/mercurial-common/usr/lib
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). Furthermore, the
pysupport-movemodules tool has been moved to a private directory and is
not usable directly anymore.
If you really want to keep working this way, we can synchronize an
upload with that of the new python-support version, but it would be
better to do things a different way instead. I suggest to use
debian/*.install files or to loop over files in
debian/tmp/usr/lib/python*/site-packages instead.
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-apps-team/attachments/20090220/f280f100/attachment.pgp
More information about the Python-apps-team
mailing list