Source: libgrip Version: 0.3.7-2 Severity: grave Tags: patch Justification: renders package unusable
The binary python3-grip actually contain python code that's installed by the upstream makefile for python vice python3 (just to be sure, I checked the Ubuntu packages and they correctly have the python bindings as for python and not python3). python3-grip missed dependencies as a result on both a python interpreter and pygi. The solution is to rename from python3-grip to python-grip and fix this to work as a proper python package. NMU debdiff attached. I don't intend to NMU this since it's a bit invasive, but it's the most correct fix.
diff -Nru libgrip-0.3.7/debian/changelog libgrip-0.3.7/debian/changelog --- libgrip-0.3.7/debian/changelog 2014-04-20 11:32:37.000000000 -0400 +++ libgrip-0.3.7/debian/changelog 2014-06-05 01:42:35.000000000 -0400 @@ -1,3 +1,13 @@ +libgrip (0.3.7-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Make python3-grip a python (vice python3) package as it should be + - Update build-depends and depends in debian/control + - Build with python2 instead of python3 in debian/rules + * Add missing depends for python-grip on python-gi + + -- Scott Kitterman <sc...@kitterman.com> Wed, 04 Jun 2014 23:30:50 -0400 + libgrip (0.3.7-2) unstable; urgency=low * debian/libgrip0.symbols: fixed typo in file name diff -Nru libgrip-0.3.7/debian/control libgrip-0.3.7/debian/control --- libgrip-0.3.7/debian/control 2014-04-20 11:17:23.000000000 -0400 +++ libgrip-0.3.7/debian/control 2014-06-05 01:42:28.000000000 -0400 @@ -6,7 +6,7 @@ dh-autoreconf, gnome-common, gtk-doc-tools, - python3-dev, + python, gir1.2-freedesktop, gir1.2-gdkpixbuf-2.0, gir1.2-glib-2.0, @@ -21,7 +21,6 @@ Homepage: https://launchpad.net/libgrip Vcs-Bzr: https://code.launchpad.net/~oif-packaging/libgrip/debian Vcs-Browser: https://bazaar.launchpad.net/~oif-team/libgrip/trunk/files -X-Python-Version: >= 3 Package: libgrip0 Architecture: any @@ -65,17 +64,17 @@ This package can be used by other packages using the GIRepository format to generate dynamic bindings for libgrip -Package: python3-grip +Package: python-grip Section: python -XB-Python-Version: ${python:Versions} Architecture: all Depends: ${misc:Depends}, - ${python3:Depends}, + ${python:Depends}, + python-gi Description: multi-touch gesture API for GTK+ apps - python bindings Libgrip is an extenion library that provides widget-level programmable gesture recognition for GTK+ applications natively within the toolkit. Widgets subscribe to particular gestures and provide programmed functionality on receipt of corresponding gesture events. . - This package provides Python 3 bindings so that you can use libgrip from + This package provides Python bindings so that you can use libgrip from a Python program. diff -Nru libgrip-0.3.7/debian/python3-grip.install libgrip-0.3.7/debian/python3-grip.install --- libgrip-0.3.7/debian/python3-grip.install 2014-04-20 08:10:59.000000000 -0400 +++ libgrip-0.3.7/debian/python3-grip.install 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -usr/lib/python*/* diff -Nru libgrip-0.3.7/debian/python-grip.install libgrip-0.3.7/debian/python-grip.install --- libgrip-0.3.7/debian/python-grip.install 1969-12-31 19:00:00.000000000 -0500 +++ libgrip-0.3.7/debian/python-grip.install 2014-04-20 08:10:59.000000000 -0400 @@ -0,0 +1 @@ +usr/lib/python*/* diff -Nru libgrip-0.3.7/debian/rules libgrip-0.3.7/debian/rules --- libgrip-0.3.7/debian/rules 2014-04-20 10:15:04.000000000 -0400 +++ libgrip-0.3.7/debian/rules 2014-06-04 23:33:03.000000000 -0400 @@ -1,7 +1,7 @@ #!/usr/bin/make -f %: - dh $@ --with python3,autoreconf + dh $@ --with python2,autoreconf override_dh_autoreconf: NOCONFIGURE=1 dh_autoreconf ./autogen.sh