python-package-missing-depends-on-python error in gir1.2-gexiv2-0.10
Dear Lintian Maintainers,
Recent versions of lintain have started showing an error for a package I
maintain, gexiv2. I don't think this can be fixed in gexiv2 packaging
so I'm asking if an override is appropriate.
One of the binary packages gexiv2 builds is gir1.2-gexiv2-0.10. This
contains gobject-introspection files
(https://wiki.gnome.org/Projects/GObjectIntrospection) which allow
languages like Python and JavaScript to use the gexiv2 library. It also
ships override files for Python 2 and 3 to make the API easier to work
with in Python. It contains the following files:
/usr/lib/python2.7/dist-packages/gi/overrides/GExiv2.py
/usr/lib/python3/dist-packages/gi/overrides/GExiv2.py
/usr/lib/x86_64-linux-gnu/girepository-1.0/GExiv2-0.10.typelib
Lintian shows the following error for this package:
E: gir1.2-gexiv2-0.10: python-package-missing-depends-on-python
N:
N: The specified Python package ships Python modules under /usr/lib but
N: does not specify any dependency on Python.
N:
N: This is likely an omission, the result of a typo in debian/control or
N: the file should not be installed.
N:
N: Severity: serious, Certainty: certain
N:
N: Check: python, Type: source, binary
I don't know of a way to fix this error. The package does not declare a
dependency on Python because it's possible to use this package from
JavaScript or other languages through just the .typelib file. It's
possible to use this package through Python 2 or 3 and the Debian
archive contains both Python 2 and 3 programs which use this package.
There are a few other packages which show this same lintian error for
the same reason:
gir1.2-accounts-1.0
gir1.2-dee-1.0
gir1.2-gom-1.0
gir1.2-ibus-1.0
Reply to: