[Python-apps-team] Bug#674070: canto: Build-Depends on python-support for no apparent reason

Jakub Wilk jwilk at debian.org
Tue May 22 21:09:28 UTC 2012


* Barry Warsaw <barry at python.org>, 2012-05-22, 17:01:
>I see the following line in debian/control for canto 0.7.10-3:
>
>Build-Depends: debhelper (>= 7.0.50~), python-dev, python-support, 
>libncurses5-dev, libncursesw5-dev
>
>I see no reason for the python-support B-D though, as debian/rules 
>doesn't reference it at all.

dh calls dh_pysupport (if it's installed in the build environment).

>In fact, removing this B-D results in no significant difference in the 
>resulting .deb (I think the difference can be ignored):
>
>% debdiff *.deb
>[The following lists of changes regard files as different if they have
>different names, permissions or owners.]
>
>Files in first .deb but not in second
>-------------------------------------
>-rw-r--r--  root/root   /usr/share/python-support/canto.private
>-rwxr-xr-x  root/root   DEBIAN/postinst
>-rwxr-xr-x  root/root   DEBIAN/prerm

postinst/prerm scripts take care of byte-compilation. This is a 
significant difference.

>Control files: lines which differ (wdiff format)
>------------------------------------------------
>Depends: [-python (<< 2.8), python (>= 2.7), python-support (>=
>0.90.0),-] libc6 (>= 2.2.5), libncursesw5 (>= 5.6+20070908),
>python-chardet, [-python-feedparser-] {+python-feedparser, python (>=
>2.6) | python-multiprocessing+}

Missing dependencies would be a serious bug.

-- 
Jakub Wilk





More information about the Python-apps-team mailing list