[Buildroot] [PATCH v2] Python 3, simple, external package support

Patrick kpa_info at yahoo.fr
Tue Feb 12 15:49:33 UTC 2013

Dear Thomas,

On 02/12/2013 04:29 PM, Thomas Petazzoni wrote:
> Dear Patrick,
> On Tue, 12 Feb 2013 16:20:53 +0100, Patrick wrote:
>> Thomas, I am aware that there is others packages that depends on
>> host-python, mostly x11. But I have not changed the way host-python nor
>> host-python3 are build and used. I don't understand how the changes I
>> have made could break this compared as previously ? If I'm not mistaken,
>> host-python is selected directly by the package (mesa3d for example)
>> when needed, and this is independent of the selected python package, right ?
> True.
> So we might end up with two versions of Python installed in
> $(HOST_DIR): python2 and python3. Hopefully, it should work.

This is already the case if I enable python3, no ?

> Regarding the patch set, I think I would prefer to rename the current
> python package to python2, and have the 'python' package be the virtual
> package that provides either python2 or python3. That's indeed more
> work, but I find the name "python-generic" not so great.

I have tried like you suggest, but then I have to rename python.mk to 
python2.mk and then any occurrence of python or host-python to python2 
and host-python2 in many package dependencies, no ?

But I could rename python-generic to python-common or something like that ?

More information about the buildroot mailing list