~registry/python-distutils-extra/debian

« back to all changes in this revision

Viewing changes to debian/local/python-mkdebian

  • Committer: Martin Pitt
  • Date: 2012-05-25 04:48:30 UTC
  • mfrom: (281.2.4 finish_dh_python2)
  • Revision ID: mpitt@debian.org-20120525044830-ikq0o3d3qap7xnxi
* debian/local/python-mkdebian cleanups: (LP: #706051)
  - Don't use {XS, XB}-Python-Version.
  - Generate an up to date Standards-Version.
  - Generate build dep on debhelper (>= 8) as debian/compat is set to '8'
    and debhelper overrides are used.
  - No need to generate a build dep on cdbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
    if not os.path.exists('debian/control') or force_control == 'full':
160
160
        control_content.update({
161
161
        'Source': egg['Name'],
162
 
        'Build-Depends': '''cdbs (>= 0.4.43),
163
 
 debhelper (>= 6),
 
162
        'Build-Depends': '''debhelper (>= 8),
164
163
 python (>= 2.6.6-3~),
165
164
 python-distutils-extra (>= 2.10)%s''' % bdeps,
166
165
        'Maintainer': author,
175
174
Priority: extra
176
175
Build-Depends: %(Build-Depends)s
177
176
Maintainer: %(Maintainer)s
178
 
Standards-Version: 3.8.3
179
 
XS-Python-Version: current
 
177
Standards-Version: 3.9.3
 
178
X-Python-Version: >= 2.6
180
179
 
181
180
Package: %(Package)s
182
181
Architecture: all
183
 
XB-Python-Version: ${python:Versions}
184
182
Depends: %(Depends)s
185
183
Description: %(Description)s
186
184
''' % control_content)