package/python-twisted: add config for HTTP2 support
authorAdam Duskett <Aduskett@gmail.com>
Thu, 5 Dec 2019 22:15:14 +0000 (14:15 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 6 Dec 2019 22:20:45 +0000 (23:20 +0100)
Add an option that selects all of the necessary python packages to
ensure that twisted has HTTP2 support.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-twisted/Config.in

index 805f1bc5d68de29fbefc44193af5bf14891fda1b..4e24a3f71af8000909fadf621aee5bf72558ea91 100644 (file)
@@ -15,6 +15,11 @@ config BR2_PACKAGE_PYTHON_TWISTED
 
 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"
        depends on BR2_INSTALL_LIBSTDCPP # python-{pyopenssl,service-identity}