package/python-flask: fix runtime python modules dependencies
authorPeter Seiderer <ps.report@gmx.net>
Sun, 22 Mar 2020 21:39:25 +0000 (22:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Mar 2020 21:16:44 +0000 (22:16 +0100)
- add python setuptools runtime dependency, fixes:
  ModuleNotFoundError: No module named 'pkg_resources'

- add python libxml2 runtime dependency, fixes:
  ModuleNotFoundError: No module named 'xml'

- add python ssl runtime dependency, fixes:
  AttributeError: 'NoneType' object has no attribute 'SSLContext'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-flask/Config.in

index 6f77913ed13057ef12d61e472f928a8dae2b34d6..72fcb619997310bcf2bc20fa2ee7dde34c048da4 100644 (file)
@@ -2,8 +2,12 @@ config BR2_PACKAGE_PYTHON_FLASK
        bool "python-flask"
        select BR2_PACKAGE_PYTHON_CLICK # runtime
        select BR2_PACKAGE_PYTHON_JINJA2 # runtime
+       select BR2_PACKAGE_PYTHON_LXML # runtime
        select BR2_PACKAGE_PYTHON_WERKZEUG # runtime
        select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
+       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
        select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
        help