lp:ubuntu/precise/python-distutils-extra

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/precise/python-distutils-extra
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Status:
Mature

Recent revisions

37. By Martin Pitt

[ Michael Terry ]
python-mkdebian: If installing into a prefix, also install data there

36. By Martin Pitt

auto.py: Add support for installing GSettings schema files
(*.gsettings.xml). Thanks to Frederik Elwert! (LP: #936546)

35. By Martin Pitt

[ Michael Vogt ]
* python-mkdebian: Update to use dh_python2, dh7 and a more current DEP-5
  format.

[ Martin Pitt ]
* python-mkdebian: In above dh7 conversion, use the "translations" module if
  available (for Ubuntu's dh-translations).

34. By Martin Pitt

debian/control: Move from python{,3}-gobject to -gi.

33. By Martin Pitt

* auto.py: Also catch ValueError and RuntimeError on relative imports.
  Thanks Mike Terry for the patch! Add corresponding test case to
  test/auto.py.
* auto.py: Fix crash in module dependency generator, uncovered by previously
  added test case.
* debian/local/python-mkdebian: Ignore -dbg packages when calculating
  dependencies, to avoid finding multiple matches.
* debian/local/python-mkdebian: Ignore RuntimeErrors from module imports
  when calculating dependencies, to fix a crash when trying to import
  gi.repository.Gtk without a $DISPLAY.

32. By Martin Pitt

debian/control: Add python-gobject and python3-gobject build dependencies,
for the test suite to succeed on the buildds.

31. By Martin Pitt

* auto.py, debian/local/python-mkdebian: Properly support
  GI repository module detection. Thanks to Owais Lone for the patch!
  (LP: #806533)
* test/auto.py: Add GI test case. Add gir1.2-glib-2.0 build dependency for
  the test case.
* debian/local/python-mkdebian: Call dh_icons. (LP: #881021)

30. By Martin Pitt

[ Martin Pitt ]
* Drop support for the long-obsolete PolicyKit (pre polkit 1.0 API).

[ Rodney Dawes ]
* auto.py: Ignore RuntimeError, which Gdk/Gtk throw if DISPLAY is unset.
  (LP: #735408)

29. By Martin Pitt

* Urgency medium as this fixes a nasty regression from 2.27 which causes
  some packages to FTBFS.
* debian/local/python-mkdebian{,.1}: Change --force-control from a binary to
  a ternary option with modes "none" (don't touch it at all), "deps" (only
  update dependencies; old and new default behaviour), and "full" (always
  regenerate it). Update the manpage accordingly. Thanks to Jordan Mantha
  for the patch!
* test/auto.py: Add test for a local module which raises an exception
  (replicates the current xdiagnose FTBFS), and a local module which runs
  optparse on import (replicates the current onboard bzr head FTBFS).
* auto.py, __external_mod(): Put back the early decision for locally
  provided modules based on their name, without importing them. Running
  __import__ is dangerous in some cases like the above two, but
  unfortunately necessary to fully determine relative imports. This is still
  not quite perfect, as it will fail the same way if externally provided
  modules do dangerous things on mere imports, but at least fixes the
  regression from r248 (release 2.27). (See LP #746565)

28. By Martin Pitt

* auto.py: Cleaner approach to determine whether a module is locally
  provided. This now catches all relative imports. (LP: #746565)
* Fix installation of symlinks in data/ dir (LP: #770566):
  - test/auto.py: Add test for installing a symlink which points to a
    nonexisting target directory/file. This reproduces the gist of the
    problem.
  - test/auto.py: Preserve symlinks in copytree() calls, so that we can
    actually verify that symlinks are preserved properly.
  - test/auto.py: Drop requirement that diff throws no error messages, as it
    will complain about the broken symlink.
  - DistUtilsExtra/auto.py, install_auto: Use os.walk() instead of
    distutils.filelist.findall() to pick out symlinks, as the latter fails
    badly with broken symlinks.
  - DistUtilsExtra/command/build_icons.py: Ignore symbolic links. distutils
    breaks on them when they point to a nonexisting target, and we handle
    them in auto.py.
* DistUtilsExtra/auto.py: Put back "except .. as" syntax, now that we
  dropped Python 2.5. Drop 2to3 from debian/rules for good now.
* debian/control: Bump minimal Python version to >= 2.6.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/quantal/python-distutils-extra
This branch contains Public information 
Everyone can see this information.

Subscribers