[SRU] Backport 2.33-1 to precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-distutils-extra (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The updates from 2.32-2 to 2.33-1 are important for app developers, as they are still targetting precise and will do so for a longer while. Therefore it will be interesting to backport 2.33-1 to precise.
The following changes are going into this update:
- auto.py: Fix crash when encountering binary files with Python 3.
(LP: #995653)
- auto.py: Fix crash when encountering an UTF-8 Python source code file.
- debian/
- Don't use {XS, XB}-Python-Version.
- Generate an up to date Standards-Version.
- Generate build dep on debhelper (>= 8) as debian/compat is set to '8'
and debhelper overrides are used.
- No need to generate a build dep on cdbs.
- debian/
binaries into a .../bin/ subdirectory instead of into the main project
directory. This avoids potential name collisions with local Python
modules. Thanks to Michael Terry for the patch!
- debian/
copyright files. Thanks Andrew Starr-Bochicchio! (LP: #1002379)
- debian/copyright: Update to copyright 1.0 format.
- debian/control: Bump Standards-Version to 3.9.3.
- python-mkdebian: Fix wrong kde4 ui file detection regular expression.
Thanks Angelo Compagnucci! (LP: #1002076)
This will give us many more cleaner apps in Ubuntu.
TEST-CASE:
----------
Test-case:
cd /tmp
quickly create ubuntu-application test-project
cd test-project/
quickly package
Observe in:
- debian/control: no {XS, XB}-Python-Version, Standards-Version: 3.9.3, debhelper (>= 8), no cdbs build-depends. (LP: #706051)
- debian/compat: is 8 (LP: #706051)
- debian/copyright: http://
Now:
echo '<widget class="Q' > test.ui
bzr add test.ui
quickly package
Observe in debian/control: no build-dep on python-kde4-dev (LP: #1002076), if you change the 'Q' to 'K' in test.ui and re-run 'quickly package', it will get added as a build depends.
Now:
wget http://
bzr add es.py
quickly package
Note: no crash. (LP: #995653)
REGRESSION POTENTIAL:
-------
Almost no regression potential. As the changes mostly revolve around descriptive changes in the packaging of apps, there is little which can go wrong.
Related branches
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Suggested update.