package/python-networkx: install for host-python3
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 23 Jul 2020 19:46:00 +0000 (21:46 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Jul 2020 14:29:18 +0000 (16:29 +0200)
commitf202b2369190661cb224e5871afc30bf5d85dce1
tree17c90a5e02d3d60f0240353d5dfa484bf1e0c91c
parentd4a0dc5d571cac4f12399d78617db4ff8e55ae12
package/python-networkx: install for host-python3

This Python module only works for Python 3: the target variant has a
"depends on BR2_PACKAGE_PYTHON3".

However today in Buildroot, when no target python is selected, or when
BR2_PACKAGE_PYTHON=y, all host python modules are installed for
host-python, i.e Python 2. But this module won't install in Python 2,
so let's force its host variant to be installed with Python 3 on the
host. Of course, for that to work, its dependency must also be built
for host-python3, so we change it to the newly introduced
host-python3-decorator package.

Fixes:

  http://autobuild.buildroot.net/results/46a89bd6cd0d0b896b28010db287068309e7a43c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python-networkx/python-networkx.mk