* Daniele Tricoli <er...@mornie.org>, 2011-05-05, 17:15:
Jakub Wilk pointed me out that in my package pyke (maintained under the DPMT umbrella) dh_python2, in the binary package, is generating:

Depends: python2.6 | python2.7, python (>= 2.6.6-7~), python (<< 2.8)

But "python (>= 2.6.6-7~), python (<< 2.8)" already implies either python2.6 or python2.7, so the "python2.6 | python2.7" part is redundant.

Now that python2.7 is the default version, this has now become not only an aesthetical issue. For dependencies like that, apt will by default install both python2.6 and python2.7 (even though the former is not needed):

# apt-cache show python-pygments | grep ^Depends
Depends: python2.6 | python2.7, python (>= 2.6.6-7~), python (<< 2.8)

# apt-get install -qqs python-pygments
Inst python2.7-minimal (2.7.2-6 Debian:unstable [i386])
Inst python2.7 (2.7.2-6 Debian:unstable [i386])
Inst python-minimal (2.7.2-9 Debian:unstable [all])
Inst python (2.7.2-9 Debian:unstable [all])
Inst python2.6-minimal (2.6.7-4 Debian:unstable [i386])
Inst python2.6 (2.6.7-4 Debian:unstable [i386])
Inst python-pygments (1.4+dfsg-2 Debian:unstable [all])
Conf python2.7-minimal (2.7.2-6 Debian:unstable [i386])
Conf python2.7 (2.7.2-6 Debian:unstable [i386])
Conf python-minimal (2.7.2-9 Debian:unstable [all])
Conf python (2.7.2-9 Debian:unstable [all])
Conf python2.6-minimal (2.6.7-4 Debian:unstable [i386])
Conf python2.6 (2.6.7-4 Debian:unstable [i386])
Conf python-pygments (1.4+dfsg-2 Debian:unstable [all])

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to