summaryrefslogtreecommitdiffstats
path: root/tags/d/duplicate-p3dist-override.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/d/duplicate-p3dist-override.tag')
-rw-r--r--tags/d/duplicate-p3dist-override.tag28
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