* Piotr Ożarowski <pi...@debian.org>, 2012-01-08, 22:53:
The ${python:Depends} is fine, but ${shlibs:Depends} generates dependencies on libpython that are superfluous, as well as the necessary libslang, libnewt dependencies. I _could_ drop the ${shlibs:Depends} and replace it with just 'libnewt0.52', (the libc and libslang dependencies will be pulled in from it), but I suspect it would be best to somehow tell debhelper that I don't need libpython*.
Any ideas?

from mod-wsgi package:
( for i in 2.4 2.5; do echo libpython$$i 1.0; done ) > debian/shlibs.local

"2.4 2.5" is intentional here. This trick did work with 2.4 and 2.5, but it doesn't with 2.6 or 2.7 anymore. This is because libpython2.X is now a separate package (which depends on python2.X, but NOT the other way round).

The correct solution is to not link to libpython at all. (This cannot be implemented in the mod-wsgi case, though, as far as I understand it.)

--
Jakub Wilk


--
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/20120109181007.ga8...@jwilk.net

Reply via email to