python-treq selects python-pyopenssl, which depends on C++ support, but
this dependency was not propagated to python-treq, causing the following
kconfig warning:
warning: (BR2_PACKAGE_PYTHON_TREQ) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
This commit fixes that by adding the appropriate dependency.
Cc: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_TWISTED # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+ depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
help
treq is an HTTP library inspired by requests but written on
top of Twisted's Agents. It provides a simple, higher level
API for making HTTP requests when using Twisted.
https://github.com/twisted/treq
+
+comment "python-treq needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP