[Python-apps-team] Bug#516322: phatch: generates incorrect package with python-support from experimental
Josselin Mouette
joss at debian.org
Fri Feb 20 16:08:41 UTC 2009
Package: phatch
Version: 0.1.6-1
Hi,
the phatch rules file contains the following:
binary-install/phatch::
rm -f debian/phatch/usr/share/python-support/phatch/phatch/phatch.py
With the upcoming version of python-support (currently in experimental),
this statement does nothing, since the files are now moved to a
different directory (/usr/share/pyshared). It does not prevent the
package from building, but the resulting package has the phatch.py
file in it.
In all cases, you should remove these files *before* calling
dh_pysupport, to avoid any manipulation it might do with them. Doing the
removal in the binary-install target and using the standard Python
directory there should be enough. (You probably also have to move the
python-distutils.mk include after the operation.)
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/491319d7/attachment.pgp
More information about the Python-apps-team
mailing list