config BR2_PACKAGE_PYTHON_TWISTED
	bool "python-twisted"
	select BR2_PACKAGE_PYTHON_INCREMENTAL
	select BR2_PACKAGE_PYTHON_ATTRS # runtime
	select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
	select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime
	select BR2_PACKAGE_PYTHON_HYPERLINK # runtime
	select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime
	select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
	help
	  Twisted is an event-driven networking engine written in
	  Python.

	  https://twistedmatrix.com/trac/

if BR2_PACKAGE_PYTHON_TWISTED

config BR2_PACKAGE_PYTHON_TWISTED_HTTP2
	bool "HTTP2 support"
	select BR2_PACKAGE_PYTHON_H2 # runtime
	select BR2_PACKAGE_PYTHON_PRIORITY # runtime

config BR2_PACKAGE_PYTHON_TWISTED_TLS
	bool "TLS support"
	# python-{pyopenssl,service-identity}
	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
	select BR2_PACKAGE_PYTHON_IDNA # runtime
	select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
	select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime

config BR2_PACKAGE_PYTHON_TWISTED_CONCH
	bool "Conch support"
	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography, python-bcrypt
	select BR2_PACKAGE_PYTHON_APPDIRS # runtime
	select BR2_PACKAGE_PYTHON_BCRYPT # runtime
	select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
	select BR2_PACKAGE_PYTHON_PYASN1 # runtime

config BR2_PACKAGE_PYTHON_TWISTED_SERIAL
	bool "Serial support"
	select BR2_PACKAGE_PYTHON_SERIAL # runtime

endif
