diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/d/duplicate-p3dist-override.tag | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tags/d/duplicate-p3dist-override.tag | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tags/d/duplicate-p3dist-override.tag b/tags/d/duplicate-p3dist-override.tag new file mode 100644 index 0000000..a97f3d6 --- /dev/null +++ b/tags/d/duplicate-p3dist-override.tag @@ -0,0 +1,28 @@ +Tag: duplicate-p3dist-override +Severity: error +Check: languages/python/dist-overrides +Explanation: + <code>dh_python3</code> has an override mechanism + (<code>debian/py3dist-overrides</code>) that lets you specify different + prerequisites for particular Python + imports. + . + <code>debian/py3dist-overrides</code> is mainly used for Python programs + that use GObject introspection, since <code>dh_python3</code> cannot yet + detect that the packages <code>gir1.2-*-*</code> map to Python imports, + so overrides are needed. + . + When the same import appears twice in the file, the information from the + first one is used but all the others are discarded. That can lead to + missing prerequisites. + . + An example of a second line 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 +See-Also: + Bug#980987 |