[Python-modules-team] Bug#542638: Bug#542638: python-mysqldb: Doesn't include python 2.5 packages
Piotr Ożarowski
piotr at debian.org
Tue Aug 25 10:16:22 UTC 2009
severity 542638 wishlist
retitle 542638 please include Python 2.5 bindings in Etch
fixed 542638 1.2.2-7
thanks
non-stdlib modules/extensions are not officially supported for Python
2.5 in Etch (i.e. python2.5 is not in the `pyversions -s` output so by
default extensions for Python 2.5 are not built).
Packages in stable are updated only when a serious bug is found so it's
very unlikely that 2.5 bindings will be added in Etch (specially since
Etch is already oldstable and Lenny, new stable Debian release, supports
Python 2.5)
If you really need it, rebuild it yourself by following these steps:
(but I really suggest to upgrade to Lenny instead)
$ apt-get source python-mysqldb
$ apt-get build-dep python-mysqldb # this will install build dependencies, you can remove them later
$ apt-get install python2.5-dev
$ cd python-mysqldb-*
$ sed -i -e 's/PYVERS=$(shell pyversions -r)/PYVERS=$(shell pyversions -r) python2.5/g' debian/rules
$ dpkg-buildpackage -rfakeroot
$ dpkg -i ../python-python-mysqldb*deb
More information about the Python-modules-team
mailing list