Detect gobject introspection dependencies

Bug #806533 reported by Michael Terry
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-distutils-extra (Ubuntu)
Fix Released
Undecided
Owais Lone

Bug Description

When I use p-d-e's dependency detection, it does great if I write "import gtk" (python-gtk2).

But with the brave new gobject-introspection world, where I write "from gi.respository import Gtk" (gir1.2-gtk-2.0 *or* gir1.2-gtk-3.0), it doesn't detect anything.

I'm not sure of the technical fix for this, but it's going to become more and more of a problem as gobject introspection becomes more widespread.

Related branches

Owais Lone (loneowais)
Changed in python-distutils-extra:
assignee: nobody → Owais Lone (loneowais)
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Owais! Merged with a test case.

Changed in python-distutils-extra:
status: In Progress → Fix Committed
affects: python-distutils-extra → python-distutils-extra (Ubuntu)
Revision history for this message
Owais Lone (loneowais) wrote :

Thanks Martin, I'll try to continue contributing towards dev tools like distutils-extra and quickly. :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-distutils-extra - 2.30-1

---------------
python-distutils-extra (2.30-1) unstable; urgency=low

  * auto.py, debian/local/python-mkdebian: Properly support
    GI repository module detection. Thanks to Owais Lone for the patch!
    (LP: #806533)
  * test/auto.py: Add GI test case. Add gir1.2-glib-2.0 build dependency for
    the test case.
  * debian/local/python-mkdebian: Call dh_icons. (LP: #881021)
 -- Martin Pitt <email address hidden> Tue, 25 Oct 2011 08:00:38 +0200

Changed in python-distutils-extra (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.