Bug#592491: lintian: check for missing dependency on python-support
Package: lintian Version: 2.4.3 Severity: wishlist If a binary package ships files in /usr/share/python-support/, it should have at least unversioned dependency on python-support. If a binary package ships a /usr/share/python-support/PACAKGENAME.public or /usr/share/python-support/PACKAGENAME.private file, it should have dependency on at least python-support (>= 0.90). An exception should be made for: - python-support (it shouldn't depend on itself, of course); - every FOO-dbg that depend on FOO (= SAMEVERSION). Normally missing/insufficient dependency on python-support indicates that ${python:Depends} was omitted from Depends: in debian/control. -- Jakub Wilk signature.asc Description: Digital signature
Building Python debug extensions with dh
A mentor recently proposed that I ship -dbg versions of a Python extension. Researching on how to properly do so, it appeared that there was no standard approach to this. On the contrary, I found numerous differing implementations, with quite a few exhibiting some flaws. I chose to follow the approach taken in python-djvu. With extensive help by Jakub Wilk, I polished my internal documentation and posted it to: http://wiki.debian.org/Python/DbgBuilds Some noteworthy issues we encountered: * Relationships between regular extension, debug extension and debug interpreter should be reevaluated. Currently, -dbg uses Recommends: for the debug interpreter and any required extensions (rationale in wiki) * It would be great if #589759 would see some additional feedback so the issue can properly be resolved * It appears that more packages have gotten the issue in #576014 wrong that right. Feedback welcome! Christian -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c61684b.9020...@kvr.at
Re: Building Python debug extensions with dh
Thank you Christian and Jakub for the nice wiki! > * It appears that more packages have gotten the issue in #576014 wrong > that right. as I've heard at debconf10 but haven't looked into/tried myself, dh_python2 (instead of support) might be doing the right thing out of the box... -- .-. =-- /v\ = Keep in touch// \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User^^-^^[17] -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100810154817.gp22...@onerussian.com
Bug#592533: lintian: check for missing dependency on python-central
Package: lintian Version: 2.4.3 Severity: wishlist If a binary package ships /usr/share/pyshared-data/PACKAGENAME file, it should have dependency on at least python-central (>= 0.6). Normally missing/insufficient dependency on python-central indicates that ${python:Depends} was omitted from Depends: in debian/control. -- Jakub Wilk signature.asc Description: Digital signature
Re: Building Python debug extensions with dh
* Yaroslav Halchenko , 2010-08-10, 11:48: * It appears that more packages have gotten the issue in #576014 wrong that right. as I've heard at debconf10 but haven't looked into/tried myself, dh_python2 (instead of support) might be doing the right thing out of the box... True. It works out-of-the-box if use you python-central, dh_python3, dh_python2, dh_python(1), or if you don't use any helper at all. -- Jakub Wilk signature.asc Description: Digital signature