[Python-modules-team] using python2.5 + mysql on Etch?

Cyril Brulebois cyril.brulebois at enst-bretagne.fr
Sun Mar 9 12:44:47 UTC 2008


On 09/03/2008, Paul Wise wrote:
> >  What are the best/easiest options for this situation?
> 
> Add python2.5 to the list of supported versions in this file:
> 
> /usr/share/python/debian_defaults
> 
> Then rebuild python-mysqldb.

I'm not sure you want to change this system-wide. Alternative: get the
source of the package, change debian/rules as follow:
-PYVERS=$(shell pyversions -r)
+PYVERS=$(shell pyversions -r) python2.5

Install the build-dep of the package, plus python2.5-dev. Build the
package, here you are.

This method looks “clean” to me.

Cheers,

-- 
Cyril Brulebois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20080309/309e0bf3/attachment.pgp 


More information about the Python-modules-team mailing list