~mitya57/ubuntu/trusty/dh-python/tests-dependencies

« back to all changes in this revision

Viewing changes to dh_python3

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2013-09-03 20:20:43 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20130903202043-vk28hcj90pnh0t3c
Tags: 1.20130903-1
* dh_python2, dh_python3, dh_pypy:
  - do not rename extensions in directories that include architecture triplet
    as part of the path (closes: 721696)
  - add --no-ext-rename option

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
    parser.add_option('--no-dbg-cleaning', action='store_false',
111
111
                      dest='clean_dbg_pkg', default=True,
112
112
                      help='do not remove files from debug packages')
 
113
    parser.add_option('--no-ext-rename', action='store_true',
 
114
                      default=False, help='do not add magic tags nor multiarch'
 
115
                                          ' tuples to extension file names)')
113
116
    parser.add_option('--no-shebang-rewrite', action='store_true',
114
117
                      default=False, help='do not rewrite shebangs')
115
118
    # ignore some debhelper options:
165
168
        interpreter.debug = package.endswith('-dbg')
166
169
 
167
170
        if not private_dir:
168
 
            fix_locations(package, interpreter, SUPPORTED)
 
171
            fix_locations(package, interpreter, SUPPORTED, options)
169
172
        stats = Scanner(interpreter, package, private_dir, options).result
170
173
 
171
174
        dependencies = Dependencies(package, 'cpython3')