Build Python 2.7 modules
After introducing Python 2.7 we have to build Python 2.7 modules and set PYTHON_VERSIONS to "2.6 2.7".
Currently there are following components in userland which can be affected by this change:
we have to set PYTHON_VERSIONS to "2.6 2.7" on component-by-component basis because of their dependencies.
Dependencies (preliminary version):
apache2-modules/mod_wsgi doesn't depend on any python modules
gtk-vnc doesn't depend on any python modules
libproxy doesn't depend on any python modules
mercurial doesn't depend on any python modules
pgloader depends on psycopg2
python/argparse The argparse module was integrated into Python 2.7, shouldn't be built with PYTHON 2.7, not affected
python/barman depends on argh, psycopg2, dateutil
python/cherrypy doesn't depend on any python modules
python/python-dateutil doesn't depend on any python modules
python/mysql doesn't depend on any python modules
python/numpy depends on python-extra
python/pip depends on setuptools
python/pyrex depends on python-extra
python/python-extra depends on numpy, pyrex
python/pyro doesn't depend on any python modules
python/setuptools doesn't depend on any python modules
python/unittest2 doesn't depend on any python modules (something is wrong, unittest2-26 currently depends on pkg:/runtime/python-27)
rdiff-backup doesn't depend on any python modules
subversion currently only built for python-26 (needs work to convert to 27 or to deliver both versions).
Have to note, there are also other components which should be modified to deliver Python 2.7 modules).
Updated by Alexander Pyhalov over 8 years ago
- % Done changed from 0 to 90
Necessary changes were made. Now oi-userland builds Python 2.6 and 2.7 modules by default when using setup.py.mk. However, several components use alternative configuration (e.g. autconf scripts), so they deliver only packages for $(PYTHON_VERSION), which is currently set to 2.6. Also libxslt component is not enabled in oi-userland, because there are external consumers (mostly JDS), which require testing with rebuilt libxslt (or porting to oi-userland).