Control: tags -1 wontfix moreinfo Hi,
On Thu, 10 May 2012 17:38:15 +0200 Jakub Wilk <jw...@debian.org> wrote: > FYI, theres'a a thread on debian-python@ldo on this very subject: > https://lists.debian.org/debian-python/2012/05/msg00029.html > > * Julien Danjou <a...@debian.org>, 2011-12-19, 10:39: > >When building Python packages, setup.py often creates a > >PACKAGE.egg-info directory which does not exist in upstream tarball. > >Therefore debian/rules file is need an override on dh_auto_clean to rm > >-rf PACKAGE.egg-info. > > There are simpler ways to overcome this problem than adding an override: > > 1) Add *.egg-info/* to debian/clean. (This requires compat >= 7.) > > 2) Add extend-diff-ignore="^[^/]+\.egg-info/" to debian/source/options. > (This requires source format 3.0.) > > >The debian/rules file would not need that if dh_clean would be able to > >automatically remove the .egg-info directory! :) > > In the past there were cases of silent breakage due to removing > *.egg-info: > > | zope.security (3.8.3-2) unstable; urgency=low > | . > | * Team upload. > | * Use debian/source/options to ignore changes in egg-info directory > | rather than debian/clean otherwise zcml and txt files are missing. > > -- > Jakub Wilk > Based on Jakub Wilk's mail, I am not confident it is something we an fix in debhelper. Accordingly, I will now close this bug. If it is now safe to unconditionally delete egg-info directories (or there is another way to make debhelper correctly clean the package automatically), please do not hesitate to let us know. Thanks, ~Niels
signature.asc
Description: OpenPGP digital signature