I'd argue that the issue here is that "Requires: gi.repository.GLib" is
incorrect. There is no such package on PyPI, so the requirement will
never be satisfied.

Using pydist overrides, as you've done in pasaffe, seems reasonable.

** Changed in: dh-python (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dh-python in Ubuntu.
https://bugs.launchpad.net/bugs/1389283

Title:
  dh-python 1.20141026-1ubuntu1 incorrectly handles gi package names

Status in dh-python package in Ubuntu:
  Invalid

Bug description:
  1.20141026-1ubuntu1 introduced support for guessing dependencies from
  the egginfo file:

  * Add support for guessing dependencies from egg-info files (closes:
  756378)

  But this is mishandling gi.introspection dependencies. The pasaffe
  package, which compiles fine on Utopic, is now adding bogus
  dependencies to the vivid package:

  From the egg-info file:

  Requires: gi.repository.GLib
  Requires: gi.repository.GObject
  Requires: gi.repository.Gdk
  Requires: gi.repository.Gio
  Requires: gi.repository.Gtk
  Requires: gi.repository.Pango

  From the build log:

     dh_python3 -O--buildsystem=pybuild
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.glib. Using python3-gi.repository.glib as package name. Please 
add "gi.repository.glib correct_package_name" line to debian/py3dist-overrides 
to override it IF this is incorrect.
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.gobject. Using python3-gi.repository.gobject as package name. 
Please add "gi.repository.gobject correct_package_name" line to 
debian/py3dist-overrides to override it IF this is incorrect.
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.gdk. Using python3-gi.repository.gdk as package name. Please add 
"gi.repository.gdk correct_package_name" line to debian/py3dist-overrides to 
override it IF this is incorrect.
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.gio. Using python3-gi.repository.gio as package name. Please add 
"gi.repository.gio correct_package_name" line to debian/py3dist-overrides to 
override it IF this is incorrect.
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.gtk. Using python3-gi.repository.gtk as package name. Please add 
"gi.repository.gtk correct_package_name" line to debian/py3dist-overrides to 
override it IF this is incorrect.
  I: dh_python3 pydist:183: Cannot find installed package that provides 
gi.repository.pango. Using python3-gi.repository.pango as package name. Please 
add "gi.repository.pango correct_package_name" line to debian/py3dist-overrides 
to override it IF this is incorrect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-python/+bug/1389283/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to