package/mongodb: needs host-python2
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 8 Mar 2019 19:44:11 +0000 (20:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 9 Mar 2019 13:57:11 +0000 (14:57 +0100)
commitbf57446a0b7fbaa75f92d8c05357225846eebafe
treee8b9ba059ad9ceb9cd34e08f64fb318aab3f0140
parent56c476db99b764c6a1f64a64e0295e96f8a4612f
package/mongodb: needs host-python2

mongodb (like gnuradio) needs host-python2 however there is no way to
enforce this so add a dependency on !BR2_PACKAGE_PYTHON3.
Indeed, if BR2_PACKAGE_PYTHON3 is selected, then buildroot will only
build and install host-python-typing for host-python3.

This issue was not raised in the previous version of mongodb as
host-scons was the only dependency however we now have
host-python-typing and host-python-pyyaml dependencies and it
does not seem right to enforce python2 on those packages

Fixes:
 - http://autobuild.buildroot.org/results/693bdba2c01a1b69f56d6ee75094a6a0fc3f40b4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: propagate dependency to Config.in comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mongodb/Config.in