diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb new file mode 100644 index 0000000000..0867d1cb53 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-yarl_1.7.2.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "The module provides handy URL class for url parsing and changing" | ||
| 2 | HOMEPAGE = "https://github.com/aio-libs/yarl/" | ||
| 3 | LICENSE = "Apache-2.0" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e581798a7b985311f29fa3e163ea27ae" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd" | ||
| 7 | |||
| 8 | SRC_URI += "file://run-ptest" | ||
| 9 | |||
| 10 | PYPI_PACKAGE = "yarl" | ||
| 11 | |||
| 12 | inherit pypi ptest setuptools3 | ||
| 13 | |||
| 14 | RDEPENDS:${PN} = "\ | ||
| 15 | ${PYTHON_PN}-multidict \ | ||
| 16 | ${PYTHON_PN}-idna \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS:${PN}-ptest += " \ | ||
| 20 | ${PYTHON_PN}-pytest \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | } | ||
