[Reproducible-builds] [dh-python] 139/183: pybuild: no longer fails if source directory path contains braces
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 00945a791e7c1fc66a45b6418e7c50ebab811299
Author: B. Clausius <barcc at gmx.de>
Date: Thu Oct 17 20:14:15 2013 +0200
pybuild: no longer fails if source directory path contains braces
---
debian/changelog | 4 ++++
pybuild | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5d4ab52..7bf5e7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ dh-python (1.20131003-2) UNRELEASED; urgency=low
* dh_python2: searching for packages with egg-info fixed
* dh_py*: "so" files no longer detected as extensions (closes: 726616)
+ [ B. Clausius ]
+ * pybuild: no longer fails if source directory path contains braces
+ (closes: 726458)
+
-- Stefano Rivera <stefanor at debian.org> Sun, 06 Oct 2013 18:14:31 +0200
dh-python (1.20131003-1) unstable; urgency=low
diff --git a/pybuild b/pybuild
index e7655e9..484dffa 100755
--- a/pybuild
+++ b/pybuild
@@ -122,7 +122,7 @@ def main(cfg):
def get_args(context, step, version, interpreter):
i = interpreter.format(version=version)
- home_dir = abspath('.pybuild/{}_{}'.format(interpreter.format(version='X.Y'), version))
+ home_dir = '.pybuild/{}_{}'.format(interpreter.format(version='X.Y'), version)
build_dir = get_option('build_dir', interpreter, version,
default=join(home_dir, 'build'))
@@ -150,7 +150,7 @@ def main(cfg):
'install_dir': get_option('install_dir', interpreter, version,
'/usr/lib/python{version}/dist-packages'
).format(version=version, interpreter=i),
- 'home_dir': home_dir})
+ 'home_dir': abspath(home_dir)})
if interpreter == 'pypy':
args['install_dir'] = '/usr/lib/pypy/dist-packages/'
if step == 'test':
--
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