Package: argparse Version: 1.1-1 Severity: wishlist Tags: patch User: [email protected] 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 -u argparse-1.1/debian/rules argparse-1.1/debian/rules
--- argparse-1.1/debian/rules
+++ argparse-1.1/debian/rules
@@ -55,7 +55,7 @@
dh_link -p python-argparse-doc \
/usr/share/javascript/jquery/jquery.js \
/usr/share/doc/python-argparse-doc/html/_static/jquery.js
- dh_pysupport
+ dh_python2
dh_compress -Xexamples -X.js
dh_fixperms
dh_strip
diff -u argparse-1.1/debian/control argparse-1.1/debian/control
--- argparse-1.1/debian/control
+++ argparse-1.1/debian/control
@@ -3,10 +3,10 @@
Section: python
Maintainer: Ritesh Raj Sarraf <[email protected]>
Uploaders: Debian Python Modules Team
<[email protected]>
-Build-Depends: debhelper (>= 7), python
-Build-Depends-Indep: python-support, python-sphinx
+Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~)
+Build-Depends-Indep: python-sphinx
Standards-Version: 3.8.4
-XS-Python-Version: >=2.4
+X-Python-Version: >=2.4
Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/argparse/trunk
Vcs-Browser:
http://svn.debian.org/viewsvn/python-modules/packages/argparse/trunk/
Homepage: http://code.google.com/p/argparse/
@@ -16,7 +16,6 @@
Depends: ${python:Depends}, ${misc:Depends}
Provides: ${python:Provides}
Suggests: python-argparse-doc
-XB-Python-Version: ${python:Versions}
Description: optparse-inspired command-line parsing library
Argparse takes the best of the optparse command-line parsing module
and brings it new life. Argparse adds positional as well as
signature.asc
Description: OpenPGP digital signature

