[Reproducible-builds] [dh-python] 95/183: distutils: use default interpreter symlink in install step if possible
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:24 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 949c74909d1cc27159977a98f78578dcd6dc7c2b
Author: Piotr Ożarowski <piotr at debian.org>
Date: Wed Aug 28 23:47:35 2013 +0200
distutils: use default interpreter symlink in install step if possible
---
debian/changelog | 3 +++
dhpython/build/plugin_distutils.py | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 36f5052..0999cee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,9 @@ dh-python (1.20130830-1) UNRELEASED; urgency=low
- add --test-tox option (PYBUILD_TEST_TOX=1 works too, like with
other pybuild options), closes: 721067
- set https_proxy to 127.0.0.1 if it's not set (similar to http_proxy)
+ - distutils build plugin: use default interpreter symlink in install step
+ (if interpreter version matches the default one) - this will force
+ distutils to not hardcode interpreter version in shebangs
-- Piotr Ożarowski <piotr at debian.org> Sun, 25 Aug 2013 12:39:39 +0200
diff --git a/dhpython/build/plugin_distutils.py b/dhpython/build/plugin_distutils.py
index c1f081d..d927748 100644
--- a/dhpython/build/plugin_distutils.py
+++ b/dhpython/build/plugin_distutils.py
@@ -96,7 +96,7 @@ class BuildSystem(Base):
@shell_command
@create_pydistutils_cfg
def install(self, context, args):
- return '{interpreter} {setup_py} install --root {destdir} {args}'
+ return '{interpreter.binary_dv} {setup_py} install --root {destdir} {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