http://wiki.debian.org/Python/TransitionToDHPython2 gives some good advice on things to look for which switching packages to dh_python2. One of the things it discusses is when to set DEB_PYTHON2_MODULE_PACKAGES for cdbs pacakges.
In the example below, it was set when it didn't need to be to an incorrect value which resulted in an empty package. Fortunately someone on #debian- python mentioned it, so I could fix it. Please, after you switch a package to dh_python2 do more than test it builds. This particular problem was trivially detectable with debc: debc netifaces_0.5-2.1ubuntu1_i386.changes|less after test building the package. Scott K ---------- Forwarded Message ---------- Subject: [ubuntu/oneiric] netifaces 0.5-2.1ubuntu2 (Accepted) Date: Friday, August 05, 2011, 01:00:18 AM From: Ubuntu Installer <[email protected]> To: Scott Kitterman <[email protected]> netifaces (0.5-2.1ubuntu2) oneiric; urgency=low * Remove incorrect DEB_PYTHON2_MODULE_PACKAGES definition from debian/rules so that dh_python2 is used and python-netifaces isn't an empty package Date: Fri, 05 Aug 2011 00:49:25 -0400 Changed-By: Scott Kitterman <[email protected]> Maintainer: Ubuntu Developers <[email protected]> https://launchpad.net/ubuntu/oneiric/+source/netifaces/0.5-2.1ubuntu2 == -- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
