smart-notifier contains explicit python2.4 depends

Bug #83122 reported by Matti Lindell
4
Affects Status Importance Assigned to Milestone
smart-notifier (Ubuntu)
Fix Released
Undecided
Jérémie Corbier

Bug Description

Binary package hint: smart-notifier

attaching debdiff to change python2.4 depends to (generic) python depends.

Revision history for this message
Matti Lindell (mlind) wrote :

change correct dependencies for smart-notifier binary and build modules for python2.5 as well.

Revision history for this message
Michael Bienia (geser) wrote :

The package still gets a dependency on python2.4 because the build process changes the interpreter in /usr/bin/smart-notifier to python2.4.

Revision history for this message
Matti Lindell (mlind) wrote :

Build process seems to alter the file alright, thanks for noticing. This is bit gray area to me.. should unversioned python be used or apply substitution trickery for current python version (as in new Debian python policy) in debian/rules ?

Revision history for this message
Michael Bienia (geser) wrote :

As smart-notifier supports both python2.4 and python2.5 it would be good if /usr/bin/smart-notifier would simply use /usr/bin/python.

I don't know how to get setup.py not to alter the shebang. Perhaps you need to alter it back.
I assume once this is fixed the dependencies will follow automatically.

Changed in smart-notifier:
status: Unconfirmed → Needs Info
Revision history for this message
Johan Kiviniemi (ion) wrote :

Now it won't install at all.

% sudo apt-get install smart-notifier
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  smart-notifier: Depends: python2.4-dbus but it is not installable
E: Broken packages

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

Just uploaded a fixed package. Thank you all for your contribution.

Changed in smart-notifier:
status: Needs Info → Fix Committed
Changed in smart-notifier:
assignee: nobody → jcorbier
Revision history for this message
Matti Lindell (mlind) wrote :

 smart-notifier (0.28-1ubuntu1) feisty; urgency=low
 .
   * Fix package for python 2.5 (LP: #83122):
     -> debian/control:
       + Let's build the package for the current Python version only.
       + Build-Depends-Indep on python-dev instead of python-all-dev and
         tighten build-dep on pycentral to make sure there is no need to call
         dh_python anymore.
       + Replace python2.4-* by python-* dependencies.
     -> debian/rules:
       + Install private modules to /usr/share/smart-notifier.
       + Don't call dh_python.
     -> scripts/smart-notifier:
       + Update path to private modules.
   * Update maintainer field.

Changed in smart-notifier:
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.