[Bug 1002076] Re: python-mkdebian adds wrongly kde4 dependency

Martin Pitt martin.pitt at ubuntu.com
Tue May 29 03:50:36 UTC 2012


** Also affects: python-distutils-extra (Ubuntu Precise)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1002076

Title:
  python-mkdebian adds wrongly kde4 dependency

Status in “python-distutils-extra” package in Ubuntu:
  Fix Released
Status in “python-distutils-extra” source package in Precise:
  New

Bug description:
  python-mkdebian adds kde4 dependency if ui file is found also when
  none of kde4 classes is used.

  The error is locate in python-mkdebian:

  if subprocess.call('find -name "*.ui" | xargs grep -q \'<widget class="Q\'',
               shell=True) == 0:
           print 'Package uses KDE *.ui files, adding python-kde4-dev build dependency'
           bdeps += ',\n python-kde4-dev'

  ui files are grepped for classes beginning in Q when kde4 classes
  begins in K.

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



More information about the Ubuntu-sponsors mailing list