package/python-autobahn: fix dependencies

Commit efa5ff1489 forgot to add reverse
dependencies resulting in the following build failure:

Makefile:575: *** snappy is in the dependency chain of python-snappy that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

Fixes:
 - http://autobuild.buildroot.org/results/fc4fdc29ff4ab3e1585a42ed6b063e9e50583fe9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-08-13 10:48:15 +02:00 committed by Thomas Petazzoni
parent 2b543a4b88
commit 62edd1b48b
2 changed files with 13 additions and 2 deletions

View File

@ -19,10 +19,15 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE
config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS
bool "Non-standard WebSocket compression support"
depends on BR2_INSTALL_LIBSTDCPP # python-snappy -> snappy
select BR2_PACKAGE_PYTHON_SNAPPY # runtime
comment "Non-standard WebSocket compression needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION
bool "TLS and WAMP-cryptosign encryption/authentication support"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pyopenssl -> python-cryptography
select BR2_PACKAGE_PYTHON_PYNACL # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
select BR2_PACKAGE_PYTHON_QRCODE # runtime
@ -37,12 +42,16 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM
config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION
bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support"
depends on BR2_INSTALL_LIBSTDCPP # python-ujson
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
select BR2_PACKAGE_PYTHON_UBJSON # runtime
select BR2_PACKAGE_PYTHON_UJSON # runtime
comment "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED
bool "Twisted support"
select BR2_PACKAGE_PYTHON_ATTRS # runtime

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
depends on BR2_INSTALL_LIBSTDCPP # python-autobahn's compress and serialization
# All the following dependencies are runtime dependencies. It
# matches almost 1:1 the requirements-min.txt from crossbar
# with the following exceptions:
@ -63,7 +64,8 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
https://pypi.python.org/pypi/crossbar
comment "python-crossbar needs glibc or musl"
comment "python-crossbar needs a glibc or musl toolchain w/ C++"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
!BR2_INSTALL_LIBSTDCPP