[Reproducible-builds] [dh-python] 63/183: pybuild: custom build plugin: use "preconfigured" args

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:20 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 69ad83ae4e51627b05d578278df161229b2b69dd
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Wed Aug 7 19:50:36 2013 +0200

    pybuild: custom build plugin: use "preconfigured" args
    
    i.e. the ones with interpreter name/version, PYBUILD_internter_foo, etc.
---
 dhpython/build/plugin_custom.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dhpython/build/plugin_custom.py b/dhpython/build/plugin_custom.py
index b6e38f3..b619401 100644
--- a/dhpython/build/plugin_custom.py
+++ b/dhpython/build/plugin_custom.py
@@ -27,20 +27,20 @@ class BuildSystem(Base):
 
     @shell_command
     def clean(self, context, args):
-        return self.cfg.clean_args
+        return args['args']
 
     @shell_command
     def configure(self, context, args):
-        return self.cfg.configure_args
+        return args['args']
 
     @shell_command
     def build(self, context, args):
-        return self.cfg.build_args
+        return args['args']
 
     @shell_command
     def install(self, context, args):
-        return self.cfg.install_args
+        return args['args']
 
     @shell_command
     def test(self, context, args):
-        return self.cfg.test_args or super(BuildSystem, self).test(context, args)
+        return args['args'] or super(BuildSystem, self).test(context, args)

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