[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#980987: lintian: check for duplicates in debian/py3dist-overrides



Package: lintian
Version: 2.104.0
Severity: wishlist

dh_python3 has an override mechanism (debian/py3dist-overrides) that
lets you specify different dependencies for particular Python imports.

debian/py3dist-overrides is mainly used for Python programs that use
GObject introspection, since dh_python3 cannot yet detect that the
packages gir1.2-*-* map to Python imports, so overrides are needed.

When the same import appears twice in the file, the dependency from the
first one is used and the dependency from the second one is discarded,
which can lead to missing dependencies if the maintainer didn't notice.

An example of a second dependency that gets ignored:

   gi.repository.Gst gir1.2-gst-plugins-base-1.0
   gi.repository.Gst gir1.2-gstreamer-1.0

An example of a double dependency that gets kept:

   gi.repository.Gst gir1.2-gst-plugins-base-1.0, gir1.2-gstreamer-1.0

Please mark this check as error severity.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: