diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb new file mode 100644 index 0000000000..dbb5d23bd2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "The module provides handy URL class for url parsing and changing" +HOMEPAGE = "https://github.com/aio-libs/yarl/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" + +SRC_URI[md5sum] = "65c3346f694e37f45045f4e29a60d280" +SRC_URI[sha256sum] = "c45b49b59a5724869899798e1bbd447ac486215269511d3b76b4c235a1b766b6" + +SRC_URI += " \ + file://run-ptest \ +" + +PYPI_PACKAGE = "yarl" + +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-multidict \ + ${PYTHON_PN}-idna \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} |