dh_python2 transition issues
Scott Kitterman
ubuntu at kitterman.com
Fri Aug 5 19:37:48 UTC 2011
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 <archive at ubuntu.com>
To: Scott Kitterman <ubuntu at kitterman.com>
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 <scott at kitterman.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
https://launchpad.net/ubuntu/oneiric/+source/netifaces/0.5-2.1ubuntu2
==
More information about the ubuntu-devel
mailing list