config BR2_PACKAGE_PYTHON_CROSSBAR
	bool "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:
	# - importlib-resources is in Python itself, so no external
	#   module is needed
	# - vmprof, while listed as a needed dependency, isn't
	#   actually strictly necesary
	# - wsaccel is not a direct dependency, it is there to make
	#   sure autobahn has the 'accelerate' feature, when the
	#   Python implementation is CPython, and our package does
	#   enable autobahn[accelerate]
	select BR2_PACKAGE_PYTHON_AUTOBAHN
	select BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE
	select BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS
	select BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION
	select BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM
	select BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION
	select BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED
	select BR2_PACKAGE_PYTHON_BITSTRING
	select BR2_PACKAGE_PYTHON_CBOR
	select BR2_PACKAGE_PYTHON_CLICK
	select BR2_PACKAGE_PYTHON_COLORAMA
	select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
	select BR2_PACKAGE_PYTHON_JINJA2
	select BR2_PACKAGE_PYTHON_LMDB
	select BR2_PACKAGE_PYTHON_MARKUPSAFE
	select BR2_PACKAGE_PYTHON_MISTUNE
	select BR2_PACKAGE_PYTHON_PASSLIB
	select BR2_PACKAGE_PYTHON_PRIORITY
	select BR2_PACKAGE_PYTHON_PSUTIL
	select BR2_PACKAGE_PYTHON_PYASN1
	select BR2_PACKAGE_PYTHON_PYASN1_MODULES
	select BR2_PACKAGE_PYTHON_PYGMENTS
	select BR2_PACKAGE_PYTHON_PYNACL
	select BR2_PACKAGE_PYTHON_PYOPENSSL
	select BR2_PACKAGE_PYTHON_PYQRCODE
	select BR2_PACKAGE_PYTHON_PYTRIE
	select BR2_PACKAGE_PYTHON_PYYAML
	select BR2_PACKAGE_PYTHON_SDNOTIFY
	select BR2_PACKAGE_PYTHON_SETPROCTITLE
	select BR2_PACKAGE_PYTHON_SETUPTOOLS
	select BR2_PACKAGE_PYTHON_TREQ
	select BR2_PACKAGE_PYTHON_TWISTED
	select BR2_PACKAGE_PYTHON_TWISTED_CONCH
	select BR2_PACKAGE_PYTHON_TWISTED_HTTP2
	select BR2_PACKAGE_PYTHON_TWISTED_TLS
	select BR2_PACKAGE_PYTHON_TXAIO
	select BR2_PACKAGE_PYTHON_TXTORCON
	select BR2_PACKAGE_PYTHON_UBJSON
	select BR2_PACKAGE_PYTHON_WATCHDOG
	select BR2_PACKAGE_PYTHON_WERKZEUG
	select BR2_PACKAGE_PYTHON_ZLMDB
	select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE
	help
	  Crossbar.io is an open-source WAMP application router that
	  allows to build advanced applications from loosely-coupled
	  components that can talk in real-time with each other.

	  https://pypi.python.org/pypi/crossbar

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) || \
		!BR2_INSTALL_LIBSTDCPP
