package/python-idna: select unicodedata support in python interpreter
authorSigned-off-by: Alex Xu <alex_y_xu@yahoo.ca>
Wed, 17 Jul 2019 19:12:15 +0000 (15:12 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 18 Jul 2019 20:25:27 +0000 (22:25 +0200)
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>
package/python-idna/Config.in

index 1fd56ceaf66126b39e197cd7fa2c976eceaaf82d..e3e548d493be0b692f84fdf85f0e3a20b46d7f71 100644 (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