package/python-jinja2: fix runtime python modules dependencies
authorPeter Seiderer <ps.report@gmx.net>
Sun, 22 Mar 2020 21:39:24 +0000 (22:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Mar 2020 21:16:44 +0000 (22:16 +0100)
- add python unicodedata runtime dependency, fixes:
  File "usr/lib/python3.8/site-packages/jinja2/lexer.py", line 46, in <module>
  ModuleNotFoundError: No module named 'unicodedata'

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

index a1900e94d544b3c2b27223f078c084efc5dabd45..5b99df75b8b6c474d74e7aea0cdfca21090458e6 100644 (file)
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_PYTHON_JINJA2
        bool "python-jinja2"
        select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
+       select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
        help
          Jinja2 is a template engine written in pure Python. It
          provides a Django inspired non-XML syntax but supports