Skip to contentSkip to conversation

python-hyperlink: rdepend on python-idna

PATCH New Chen Qi 1 participant 1 message Sep 2, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 python-hyperlink: rdepend on python-idna

python hyperlink actually requires python idna. Otherwise, we get the following error.

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/hyperlink/_init_.py", line 2, in <module> from ._url import (URL,
File "/usr/lib64/python3.7/site-packages/hyperlink/_url.py", line 33, in <module> from idna import encode as idna_encode, decode as idna_decode, IDNAError
ModuleNotFoundError: No module named 'idna'

---
 meta-python/recipes-devtools/python/python-hyperlink.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-hyperlink.inc +1 -1
index 25398541c..653170ca6 100644
@@ -8,7 +8,7 @@ SRC_URI[md5sum] = "4772fb4d87c26a1ab22a6161424e3cba"
 
 inherit pypi
 
-RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient"
+RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient ${PYTHON_PN}-idna"
 
 PACKAGES =. "${PN}-test "
 
Signature · 1 line
2.17.1