Package: python-magics++
Severity: minor
Tags: patch

Hi, python-magics++ depends on python and python-numpy directly,
instead of using ${python:Depends}.

Practically, this isn't  a serious issue, as python-numpy depends on
python-support, and even without that, there's a very high chance that
python-support is already installed on any system this would be used on.

However, it is still a policy violation and a bad practice.

${python:Depends} will expand to the python versions this package
supports, as well as the necessary dependency on python-support.

I suggest:
| - Depends:  libmagplus3 ( = ${binary:Version} ), ${misc:Depends}, 
${shlibs:Depends}, python, python-numpy
| + Depends:  libmagplus3 ( = ${binary:Version} ), ${misc:Depends}, 
${shlibs:Depends}, ${python:Depends}, python-numpy

When(?) this package transitions to dh_python2 it'll expand to the
equivalent dependencies. (dh_python2 also has ${python:Breaks} which can
use specify supported pythons as a Breaks instead of versioned Depends).

SR

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
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