DeveloperWiki:Python Todo List
From ArchWiki
Contents |
Introduction
This article is part of the DeveloperWiki.
Python Rebuild List
These notes are for the python-2.6 build
Packages which link to libpython${ver}.so
alsa-lib biopython (Requires python-egenix-mx-base, python-numeric) bzr cinepaint deluge (Requires pygtk) gnome-python (Requires alsa-lib, pygtk, pyorbit) guidance-power-manager (Requires kdebindings) kdebindings (Requires alsa-lib) kdeedu (Requires alsa-lib) kdeutils (Requires alsa-lib) koffice (Requires alsa-lib) mailman mercurial mirage (Requires pygtk) miro (Requires gnome-python-extras) mod_python mysql-python obexftp openoffice-base openoffice-base-beta openoffice-base-devel pil pymad pyogg pyorbit pypgsql (Requires python-egenix-mx-base) python-cheetah python-egenix-mx-base python-geoip python-pygame python-pysqlite python-pysqlite-legacy pyvorbis (Requires pyogg) qtiplot (Requires sip) quodlibet (Requires alsa-lib, gstreamer0.10-python, pygtk) rhythmbox (Requires alsa-lib, gnome-python, gstreamer0.10-python) rrdtool scribus sonata (Requires pygtk) totem (Requires alsa-lib) totem-xine twisted wesnoth wxpython
Package who add their path to the python system path
These packages attempt to add /usr/lib/python${ver}/site-packages/<foo> to the python system path but this is will no longer be detected with the new python version.
gnome-python-desktop (Requires gnome-python) gnome-python-extras (Requires gnome-python) gstreamer0.10-python (Requires pygobject) pygobject pygtk (Requires pygobject, python-numeric) python-gtkglext python-numeric vte (Requires pygtk)
Packages with header files in old python directory
These packages have header files in /usr/include/python-${ver}
sip
Misc. Rebuilds
Packages that need rebuilt but do not fit in the above categories. Mainly issues with broken plugins.
blender epiphany gedit streamtuner weechat vim xchat zope-interface
Packages with files in old python path
These packages have files in /usr/lib/python${ver}/site-packages/. Due to the large number of these it is easier to add the old versions path to the system path instead of rebuilding. When all rebuilds occur "naturally", then the old versions directory can be removed from the new python packages system path. Note: all rebuilds must occur before next major python upgrade or packages will break.
alacarte at-spi avahi bittorrent boost dbus-python denyhosts deskbar-applet django ecasound eric eric-plugins exo fetchmail getmail gnome-applets gnome-blog gnome-bluetooth gnome-games gnome-menus hplip java-gcj-compat libavg libbeagle libbtctl libgpod libgsf libieee1284 libxml2 libxslt musicbrainz mutagen mythtv namcap nicotine nmap ocfs2-tools orca pacbuild pebrot planner pycairo pycrypto pygtksourceview2 pylint pyqt pyqt3 pyrex python-eyed3 python-feedparser python-formencode python-gdata python-logilab-astng python-logilab-common python-mpd python-mpdclient python-opengl python-pyspi python-qscintilla python-sqlobject python-vpython pyxdg pyxml revelation scons setuptools subversion tunepimp wicd xcb-proto
Python3 transition
With python-3.x removing much backwards compatibility, it is essential to have a python-2.x package in the repos. This will be achieved by having a python2 package in addition to the python (3.x) package.
This transition will probably occur with the next major release of python-3 (3.2 scheduled for 2010-06-26) depending on the extent of the support of the python-3 platform at that stage.
Python in depends/makedepends
The following packages depend/makedepend on python and will need to be fixed if not compatible with python-3.x.
alsa-lib antlr at-spi audacity blender boost bzr cinepaint cx_freeze denyhosts ecasound epiphany-extensions fetchmail firefox fvwm-crystal gajim getmail gnome-bluetooth gnome-doc-utils gvim hplip java-gcj-compat kdebindings kdeutils koffice lancelot libavg libbtctl libglade libgsf libieee1284 libxcb libxml2 libxslt lyx mailman mercurial mod_python musicbrainz mutagen namcap nmap obexftp openoffice-base openoffice-base-beta openoffice-base-devel pebrot pidgin pil purple-plugin-pack pycairo pycmail pycrypto pygobject pymad pyogg pyorbit pyrex pyvorbis pyxdg pyxml qtiplot rrdtool scons setuptools sip skim subversion texmacs tunepimp twisted vim weechat wesnoth wxpython xcb-proto xchat xchat-gnome zope-interface
Packages pointing at python binary
Packages which have "/usr/bin/python" or "/usr/bin/env python" in their files and will need to change to python2 if not already compatible with python-3.x. Note that some of these are fixed by just building against a python2 binary, while others require some sed magic...
alacarte avahi biopython bittorrent blender boost bzr cinepaint deluge denyhosts denyhosts deskbar-applet django ecasound ecasound epiphany-extensions eric eric-plugins fetchmail fetchmail fvwm-crystal gajim getmail gnome-applets gnome-blog gnome-bluetooth gnome-doc-utils gnome-games gnome-menus gstreamer0.10-python guidance-power-manager hplip hplip java-gcj-compat java-gcj-compat kdebindings libglade libxml2 lyx mailman mercurial mirage miro mutagen namcap namcap nicotine nmap nmap ocfs2-tools orca pacbuild pacbuild pebrot pebrot pidgin pil pycmail pygobject pygtk pylint pyqt pyrex python-cheetah python-egenix-mx-base python-eyed3 python-feedparser python-feedparser python-formencode python-gdata python-gtkglext python-logilab-astng python-logilab-common python-mpdclient python-opengl python-opengl python-qscintilla python-sqlobject python-vpython python-vpython pyxml quodlibet revelation scons scons setuptools setuptools sonata subversion texmacs twisted wesnoth wicd wxpython
Packages known to be Python-3.x ready
extra/pyqt community/python-pyalsaaudio
PyPI List of Python3 ready packages