* Switch to dh_python2:

- Use X-Python-Version instead of XS-Python-Version.
  - Use ${python:Breaks} to specify Python version compatibility.
This commit is contained in:
Stefano Rivera 2010-12-20 11:33:56 +02:00
parent 54f082b6e8
commit 32ed378668
3 changed files with 8 additions and 5 deletions

5
debian/changelog vendored
View File

@ -4,8 +4,11 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
(LP: #692003) (LP: #692003)
* Drop preinst (pbuilder-dist bash_completion handling), it is not required * Drop preinst (pbuilder-dist bash_completion handling), it is not required
for any current upgrade path on Debian or Ubuntu. for any current upgrade path on Debian or Ubuntu.
* Switch to dh_python2:
- Use X-Python-Version instead of XS-Python-Version.
- Use ${python:Breaks} to specify Python version compatibility.
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 20 Dec 2010 11:29:02 +0200 -- Stefano Rivera <stefanor@ubuntu.com> Mon, 20 Dec 2010 11:32:42 +0200
ubuntu-dev-tools (0.108) experimental; urgency=low ubuntu-dev-tools (0.108) experimental; urgency=low

6
debian/control vendored
View File

@ -6,10 +6,9 @@ Uploaders: Luca Falavigna <dktrkranz@debian.org>,
Benjamin Drung <bdrung@ubuntu.com> Benjamin Drung <bdrung@ubuntu.com>
Vcs-Bzr: lp:ubuntu-dev-tools Vcs-Bzr: lp:ubuntu-dev-tools
Vcs-Browser: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk Vcs-Browser: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk
Build-Depends: debhelper (>= 7), python (>= 2.5) Build-Depends: debhelper (>= 7), python-all (>= 2.6.13~)
Build-Depends-Indep: python-support (>= 0.5.3)
DM-Upload-Allowed: yes DM-Upload-Allowed: yes
XS-Python-Version: >= 2.5 X-Python-Version: >= 2.5
Homepage: https://launchpad.net/ubuntu-dev-tools Homepage: https://launchpad.net/ubuntu-dev-tools
Standards-Version: 3.9.1 Standards-Version: 3.9.1
@ -42,6 +41,7 @@ Recommends: bzr,
python-soappy, python-soappy,
reportbug (>= 3.39ubuntu1) reportbug (>= 3.39ubuntu1)
Suggests: qemu-kvm-extras-static Suggests: qemu-kvm-extras-static
Breaks: ${python:Breaks}
Description: useful tools for Ubuntu developers Description: useful tools for Ubuntu developers
This is a collection of useful tools that Ubuntu developers use to make their This is a collection of useful tools that Ubuntu developers use to make their
packaging work a lot easier. packaging work a lot easier.

2
debian/rules vendored
View File

@ -1,4 +1,4 @@
#!/usr/bin/make -f #!/usr/bin/make -f
%: %:
dh $@ dh $@ --with python2