Python2.7 transition and missing DialogAptKey in software-properties-gtk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gapti |
Fix Committed
|
Undecided
|
Unassigned | ||
gapti (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gapti
gapti, as it currently stands in Ubuntu, hardcodes a Python version dependency on 2.6.
There is a new upstream version (which was targetted at jaunty in LP: #340901) which would help here (it improves the packaging a lot).
I've taken the liberty of improving it further (Use dh_python2, dh7 minimal rules), and have uploaded a proposed branch to lp:~stefanor/gapti/py27transition.
gapti (0.0.3ubuntu1) natty; urgency=low
[ Savvas Radevic ]
* Bug-fix release.
* python 2.6 transition (LP: #340901)
+ debian/control: Build-Depends: python-dev, python-support
+ gapti-root: Fixed UpdateManager.
+ Edited files directly, shebangs: #!/usr/bin/python
+ Modified files directly using: 2to3-2.6 -w *
+ Replaced commands.getoutput with subprocess.
+ Replaced lines with spaces (\s+) with empty lines
* debian/control:
+ Standards-Version: 3.8.0 (No changes required)
+ debhelper (>= 7)
* debian/rules: Removed sed command that changed shebangs
[ Stefano Rivera ]
* Python 2.7 transition: Remove python version restrictions.
* Convert to dh_python2.
- Install as a private module in /usr/share/gapti
* Use minimal dh7 rules.
* Use 3.0 (native) source format.
* Bumped Standards-Version to 3.9.1:
- Point to versioned common-licence (GPL-3).
* debian/control:
- Depend on software-
- Add Homepage.
However, it still doesn't work, as software-
Traceback (most recent call last):
File "/usr/bin/gapti", line 12, in <module>
import utils
File "/usr/share/
from softwarepropert
ImportError: No module named DialogAptKey
So my proposed branch is incomplete, and further work is required, or gapti should be removed from Ubuntu.
Related branches
- Savvas Radevic: Approve
-
Diff: 212 lines (+67/-58)9 files modified.bzr-builddeb/default.conf (+2/-0)
debian/changelog (+42/-2)
debian/control (+7/-4)
debian/copyright (+1/-1)
debian/pycompat (+0/-1)
debian/pyversions (+0/-1)
debian/rules (+10/-45)
debian/source/format (+1/-0)
mime/gapti.xml (+4/-4)
Changed in gapti: | |
status: | New → Fix Committed |
Thanks for the patch, but.. if Jerome Haltom (user wasabi) agrees, I would like to remove gapti from the ubuntu packages. He is the upstream developer though, not me. :)