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 0cfd89ce2866f702833314c2bdcb0a817b73cadb Author: Piotr Ożarowski <pi...@debian.org> Date: Sun Jul 28 21:29:23 2013 +0200 fix renaming non-default public extensions --- debian/changelog | 2 ++ dhpython/fs.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index dbc7735..ea9abd8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ dh-python (1.20130728-1) experimental; urgency=low * Ignore missing or broken /usr/share/python{,3}/debian_defaults config files while checking for default/supported Python {2,3} versions + * dh_python3: fix renaming (tagging) non-default public extensions that were + not installed directly in dist-packages/ (../dist-packages/foo/bar.so, etc.) -- Piotr Ożarowski <pi...@debian.org> Sun, 28 Jul 2013 19:04:50 +0200 diff --git a/dhpython/fs.py b/dhpython/fs.py index 1fae2a6..d692acc 100644 --- a/dhpython/fs.py +++ b/dhpython/fs.py @@ -77,8 +77,10 @@ def share_files(srcdir, dstdir, interpreter): else: log.warn('renaming %s to %s', fpath1_orig, fpath1) os.renames(fpath1_orig, fpath1) + i = new_name fpath2 = join(dstdir, i) - if not exists(fpath2): + if not isdir(fpath1) and not exists(fpath2): + # do not rename directories here - all .so files have to be renamed first os.renames(fpath1, fpath2) continue if isdir(fpath1): -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git _______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds