~ubuntu-branches/ubuntu/natty/python-distutils-extra/natty-updates

Viewing all changes in revision 27.

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2012-09-05 22:05:20 UTC
  • mfrom: (26.1.2 natty-proposed)
  • Revision ID: package-import@ubuntu.com-20120905220520-ps8wmkfby2mkfah3
Tags: 2.26-2ubuntu0.3
* 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.
  - http://bazaar.launchpad.net/~python-distutils-extra-hackers/python-distutils-extra/debian/revision/250

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: