Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 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] = "af887845b8c2e060eb5605ff72b6f2dd2aab7a761379373fd89d314f4752abbf" |
| 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 | ${PYTHON_PN}-io \ |
| 18 | " |
| 19 | |
| 20 | RDEPENDS:${PN}-ptest += " \ |
| 21 | ${PYTHON_PN}-pytest \ |
| 22 | " |
| 23 | |
| 24 | do_install_ptest() { |
| 25 | install -d ${D}${PTEST_PATH}/tests |
| 26 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 27 | } |