meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc
Qi.Chen@windriver.com 1a4c632ee7 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'

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-02 12:52:46 -07:00

18 lines
545 B
PHP

DESCRIPTION = "A featureful, correct URL for Python"
HOMEPAGE = "https://github.com/python-hyper/hyperlink"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3893d4ed05dcc823f8ed685a9ea19bcb"
SRC_URI[sha256sum] = "4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654"
SRC_URI[md5sum] = "4772fb4d87c26a1ab22a6161424e3cba"
inherit pypi
RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient ${PYTHON_PN}-idna"
PACKAGES =. "${PN}-test "
FILES_${PN}-test += " \
${PYTHON_SITEPACKAGES_DIR}/hyperlinkt/test \
"