[Python-modules-team] Bug#637382: python-psutil: Switch to dh_python2

Barry Warsaw barry at python.org
Wed Aug 10 18:48:50 UTC 2011


Package: python-psutil
Version: 0.2.1-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Sandro.  This patch switches python-psutil to dh_python2.

Cheers.

*** /tmp/tmpEEDKld
In Ubuntu, the attached patch was applied to achieve the following:


  * Switch to dh_python2. (LP: #788514)


Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-8-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOQtKSAAoJEBJutWOnSwa/ywQP/AzXT/dg9d0oqPbY2FL9aweD
MMklVWuifLnMq/VQ4N4zCgD4702qmHBdCRi0YTYSxMcSmzq/jsywh/ERwo4sNiCj
9eC4YFziz3OmDTyLLX1vBXRTRH+khqFEdGTAmBK/Kv8kKlEga7U1MY0h8ua3BzaM
MEDDq2QWvYECeYb1kYSZeXijnS7kHAYOGxYvVsfQm3/WATPNfVI5aGwsyQTxoaVP
rcKLJVIa/sKTqoeKjtxFX2Edi+oIxyzojYUJollLnMPAb+DciTpXQskQDxZC4swg
Tgy+zMQXxGyBzSVd3mjZFlM8v5E3vEj8O2Yt0zg/LCGUCsedp7gXMcjHjHrBwlMN
SOdeZBd8QAA40XiC/dW2723r9+rCfaXBoC7Pm3XLNqsR8ZVga3xKyCrBVC3sdmex
PA9G87tAnZQDrDnWsMEganeRl3QgZWVBYsDPPR/aTTJmyTqXDhcOX3a0TOn0r2ft
toOQMgroKEEAw97JbZeOMDCT5mR4le4moMy+s6mPaE9rm7vs0Zxa2rT1IgCtnF8x
xutqegzVrUEvtxkN2AwR5NrOkgwjI9Ud2U3oIhk45Vw3AD1aslN+iaYxI0N3OxZb
Iu1VozuGRUIaUiC9XVfcO2woJB2n6UuFoc5mkqwempMm//XxvoJHi4N9fbRXvwtU
3qdwWtGKSu39Cz0zBDzw
=/Wig
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2011-04-04 20:26:42 +0000
+++ debian/control	2011-08-10 18:37:33 +0000
@@ -3,9 +3,8 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7.2.18), python-all-dev, python-support (>= 1.0.0), procps
+Build-Depends: debhelper (>= 7.2.18), python-all-dev (>= 2.6.6-3~), procps
 Standards-Version: 3.9.1
-XS-Python-Version: all
 Homepage: http://code.google.com/p/psutil/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-psutil/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-psutil/trunk/

=== modified file 'debian/rules'
--- debian/rules	2011-04-04 20:26:42 +0000
+++ debian/rules	2011-08-10 18:37:48 +0000
@@ -3,7 +3,7 @@
 PYVERS:=$(shell pyversions -s)
 
 %:
-	dh $@
+	dh $@ --with python2
 
 build:
 	dh build



More information about the Python-modules-team mailing list