Aren't this just Python libraries that include extension modules (i. e.
modules written in C to interface external C libraries). If so, there is
a good chance that just compiling them against Python 2.6 works out of
the box. Otherwise the adjustments necessary will be just minor ones.
Python 3.0 compatibility is a different issue, though (more work).