[Reproducible-builds] [dh-python] 136/183: distutils build plugin: use default interpreter symlink in build step as well as the install step (if interpreter version matches the default one). So that shebangs in setuptools scripts.

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:30 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 f7e638f193fdbc9a9ada5d27af50b14c8c210a49
Author: Stefano Rivera <stefanor at debian.org>
Date:   Sun Oct 6 18:16:42 2013 +0200

    distutils build plugin: use default interpreter symlink in build step as well as the install step (if interpreter version matches the default one). So that shebangs in setuptools scripts.
---
 debian/changelog                   | 8 ++++++++
 dhpython/build/plugin_distutils.py | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 84475f0..0d729d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dh-python (1.20131003-2) UNRELEASED; urgency=low
+
+  * distutils build plugin: use default interpreter symlink in build step as
+    well as the install step (if interpreter version matches the default one).
+    So that shebangs in setuptools scripts.
+
+ -- Stefano Rivera <stefanor at debian.org>  Sun, 06 Oct 2013 18:14:31 +0200
+
 dh-python (1.20131003-1) unstable; urgency=low
 
   * Revert python-docutils build dependency change (to avoid circular
diff --git a/dhpython/build/plugin_distutils.py b/dhpython/build/plugin_distutils.py
index b50dbd6..cd9274a 100644
--- a/dhpython/build/plugin_distutils.py
+++ b/dhpython/build/plugin_distutils.py
@@ -93,7 +93,7 @@ class BuildSystem(Base):
     @shell_command
     @create_pydistutils_cfg
     def build(self, context, args):
-        return '{interpreter} {setup_py} build {args}'
+        return '{interpreter.binary_dv} {setup_py} build {args}'
 
     @shell_command
     @create_pydistutils_cfg

-- 
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