package/python-idna: select unicodedata support in python interpreter

idna requires unicodedata:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "usr/lib/python3.7/site-packages/idna/__init__.py", line 2, in <module>
  File "usr/lib/python3.7/site-packages/idna/core.py", line 3, in <module>
ModuleNotFoundError: No module named 'unicodedata'

Signed-off-by: Alex Xu <alex_y_xu@yahoo.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 9177475111)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Alex Xu 2019-07-17 15:12:15 -04:00 committed by Peter Korsgaard
parent 31781233bb
commit ce4be55c44

View File

@ -1,5 +1,7 @@
config BR2_PACKAGE_PYTHON_IDNA
bool "python-idna"
select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
help
A library to support the Internationalised Domain Names in
Applications (IDNA) protocol as specified in RFC 5891. This