Package: python-decorator
Version: 3.2.0-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 -u python-decorator-3.2.0/debian/rules python-decorator-3.2.0/debian/rules
--- python-decorator-3.2.0/debian/rules
+++ python-decorator-3.2.0/debian/rules
@@ -41,7 +41,7 @@
        dh_installchangelogs
        dh_installdocs
        dh_installexamples
-       dh_pysupport
+       dh_python2
        dh_compress -X.py
        dh_fixperms
        dh_installdeb
diff -u python-decorator-3.2.0/debian/control 
python-decorator-3.2.0/debian/control
--- python-decorator-3.2.0/debian/control
+++ python-decorator-3.2.0/debian/control
@@ -3,9 +3,10 @@
 Priority: optional
 Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
 Uploaders: Oleksandr Moskalenko <ma...@debian.org>, Piotr Ożarowski 
<pi...@debian.org>
-Build-Depends: debhelper (>= 5), python
-Build-Depends-Indep: python-support (>= 0.6.4), python-all, python-setuptools 
(>= 0.6b3~)
+Build-Depends: debhelper (>= 5), python (>= 2.6.6-3~)
+Build-Depends-Indep: python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3~)
 Standards-Version: 3.8.4
+X-Python-Version: >= 2.6
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-decorator/trunk/
 Vcs-Browser: 
http://svn.debian.org/viewsvn/python-modules/packages/python-decorator/trunk/
 Homepage: http://www.phyast.pitt.edu/~micheles/python/documentation.html
reverted:
--- python-decorator-3.2.0/debian/dirs
+++ python-decorator-3.2.0.orig/debian/dirs
@@ -1 +0,0 @@
-usr/share/python-support/python-decorator

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to