Package: apt-offline
Version: 1.1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

In Ubuntu 11.10, we'd like to eliminate python-support and
python-central from the Python packages on our CDs, and consolidate on
dh_python2:

  https://wiki.ubuntu.com/BarryWarsaw/PythonHelpers
  http://wiki.debian.org/Python/PythonSupportToDHPython2

We don't yet have a consensus on deprecating python-support in Debian.
Nevertheless, dh_python2 is usable as of squeeze.  Would you be willing
to apply this patch to switch to it?

diff -Nru apt-offline-1.1/debian/control apt-offline-1.1/debian/control
--- apt-offline-1.1/debian/control      2011-04-08 13:13:06.000000000 +0200
+++ apt-offline-1.1/debian/control      2011-06-23 19:41:31.000000000 +0200
@@ -2,10 +2,9 @@
 Section: admin
 Priority: optional
 Maintainer: Ritesh Raj Sarraf <r...@debian.org>
-Build-Depends: debhelper (>= 7), python
-Build-Depends-Indep: python-support
+Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~)
 Standards-Version: 3.9.1
-XS-Python-Version: >=2.5
+X-Python-Version: >= 2.5
 Homepage: http://apt-offline.alioth.debian.org
 Vcs-Git: git://git.debian.org/apt-offline/apt-offline.git
 Vcs-Browser: http://git.debian.org/?p=apt-offline/apt-offline.git
@@ -13,7 +12,6 @@
 Package: apt-offline
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, python-argparse, python, apt, less
-XB-Python-Version: ${python:Versions}
 Description: offline apt package manager
  apt-offline is an Offline APT Package Manager
  .
@@ -34,7 +32,6 @@
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, apt-offline (= ${binary:Version}),
  python-qt4
-XB-Python-Version: ${python:Versions}
 Description: offline apt package manager - GUI
  apt-offline is an Offline APT Package Manager
  .
diff -Nru apt-offline-1.1/debian/rules apt-offline-1.1/debian/rules
--- apt-offline-1.1/debian/rules        2011-04-08 13:13:06.000000000 +0200
+++ apt-offline-1.1/debian/rules        2011-06-23 19:29:28.000000000 +0200
@@ -1,4 +1,4 @@
 #!/usr/bin/make -f
 %:
-       dh $@
+       dh $@ --with python2
 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to