[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-105-gac1319a

Andreas Beckmann anbe at debian.org
Fri Mar 1 15:33:00 UTC 2013


The following commit has been merged in the piatti branch:
commit 7e76d1db53989e42e85529d8f2ea6f0a682634d9
Author: David Steele <dsteele at gmail.com>
Date:   Sat Feb 16 23:21:18 2013 -0500

    Add exception for python-support broken symlinks.
    
    python-support creates symlinks upon install under /usr/lib/pythonx.y,
    for all supported versions of python, whether installed or not.
    If the version is not installed, the symlink is broken (#635493).
    If a supported python version subsequently uninstalled, the symlink
    is left dangling (#385775). Fixing this involves changes across
    packages that are unlikely to happen for a deprecated package.
    
    DP Appendix B.2
    http://www.debian.org/doc/packaging-manuals/python-policy/ap-packaging_tools.html
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 66d482f..9bf5cf6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ piuparts (0.50) UNRELEASED; urgency=low
   * piuparts.py:
     - Add to ignored_files:
       + /var/lib/dpkg/arch
+      + /usr/lib/python2.[67]/dist-packages/python-support.pth
+        broken symlinks caused by python-support (see #635493 and #385775,
+        thanks David Steele)
     - Call dpkg-deb with --nocheck to allow bad version numbers.
     - Pass unqualified package names to apt-cache show for lenny support.
     - Support plain URLs or local paths as --testdebs-repo argument and
diff --git a/piuparts.py b/piuparts.py
index 50d259e..8a57033 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -282,6 +282,9 @@ class Settings:
             "/var/lib/onioncat/",       # onioncat
             "/var/lib/rbldns/",
             "/var/spool/powerdns/",     # pdns-server (#531134), pdns-recursor (#531135)
+            # work around broken symlinks
+            "/usr/lib/python2.6/dist-packages/python-support.pth",  #635493 and #385775
+            "/usr/lib/python2.7/dist-packages/python-support.pth",
             # work around #316521 dpkg: incomplete cleanup of empty directories
             "/etc/apache2/",
             "/etc/apache2/conf.d/",

-- 
piuparts git repository



More information about the Piuparts-commits mailing list