astraw/stdeb — pull request #51 by esc (2012-09-25 13:07:35+00:00)
Title: Apply debian patches

Apply the following patches from the Debian patch stack.

0001-remove-pycentral-options.patch
0002-pass-buildsystem-to-the-sequencer-rather-than-to-DH_OPTIONS.patch
0003-do-not-reset-environment-options-in-debian-rules.patch
0004-replace-tabs-with-spaces.patch
0005-use-dh_python2-instead-of-dh_pysupport.patch
0007-adjust-debian-control-template-to-latest-changes-in-policy.patch
replace_underscore_with_a_dash_in_package_names.patch

Exceptions:

0006-change-default-source-package-format-to-3.0-quilt.patch

Because it somehow caused stdeb to break:

dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/bluepy_0.2.0-dev-1.diff.CNRaBh
Traceback (most recent call last):
File "setup.py", line 37, in
'Topic :: Utilities',
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/command/bdist_deb.py", line 23, in run
self.run_command('sdist_dsc')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/command/sdist_dsc.py", line 132, in run
remove_expanded_source_dir=self.remove_expanded_source_dir,
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/util.py", line 1207, in build_dsc
cwd=dist_dir)
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/util.py", line 478, in dpkg_source
process_command(args, cwd=cwd)
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/util.py", line 142, in process_command
check_call(args, cwd=cwd)
File "/home/haenel/virtualenv/bbp/local/lib/python2.7/site-packages/stdeb/util.py", line 35, in check_call
raise CalledProcessError(retcode)
stdeb.util.CalledProcessError: 2