[Reproducible-builds] [dh-python] 115/183: replace symlinks with extensions in dist-packages only

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit 270dd94d8305a8afa1bb15e019e94f0b31085c60
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Tue Sep 3 19:54:01 2013 +0200

    replace symlinks with extensions in dist-packages only
    
    i.e. not in private dirs
---
 dhpython/fs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dhpython/fs.py b/dhpython/fs.py
index 57dbf50..1cf0e71 100644
--- a/dhpython/fs.py
+++ b/dhpython/fs.py
@@ -254,7 +254,8 @@ class Scan:
         This method is invoked for all .so files in public or private directories.
         """
         path, fname = fpath.rsplit('/', 1)
-        if islink(fpath):
+        if self.current_pub_version and islink(fpath):
+            # replace symlinks with extensions in dist-packages directory
             dstfpath = fpath
             links = set()
             while islink(dstfpath):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git



More information about the Reproducible-builds mailing list